@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.
Files changed (216) hide show
  1. package/README.md +1 -1
  2. package/dist/api/index.d.ts +66 -1
  3. package/dist/api/index.d.ts.map +1 -1
  4. package/dist/api/index.js +17 -0
  5. package/dist/api/models/ActionContent.d.ts +12 -0
  6. package/dist/api/models/ActionContent.d.ts.map +1 -0
  7. package/dist/api/models/Auction.d.ts +16 -0
  8. package/dist/api/models/Auction.d.ts.map +1 -0
  9. package/dist/api/models/Auction.js +1 -0
  10. package/dist/api/models/AuctionDetails.d.ts +36 -0
  11. package/dist/api/models/AuctionDetails.d.ts.map +1 -0
  12. package/dist/api/models/AuctionDetails.js +1 -0
  13. package/dist/api/models/AuctionStatus.d.ts +7 -0
  14. package/dist/api/models/AuctionStatus.d.ts.map +1 -0
  15. package/dist/api/models/AuctionStatus.js +11 -0
  16. package/dist/api/models/Bid.d.ts +9 -0
  17. package/dist/api/models/Bid.d.ts.map +1 -0
  18. package/dist/api/models/Bid.js +1 -0
  19. package/dist/api/models/BidDetails.d.ts +23 -0
  20. package/dist/api/models/BidDetails.d.ts.map +1 -0
  21. package/dist/api/models/BidDetails.js +1 -0
  22. package/dist/api/models/BidRequest.d.ts +10 -0
  23. package/dist/api/models/BidRequest.d.ts.map +1 -0
  24. package/dist/api/models/BidRequest.js +1 -0
  25. package/dist/api/models/BidResponse.d.ts +26 -0
  26. package/dist/api/models/BidResponse.d.ts.map +1 -0
  27. package/dist/api/models/BidResponse.js +1 -0
  28. package/dist/api/models/CommentDetails.d.ts +23 -0
  29. package/dist/api/models/CommentDetails.d.ts.map +1 -0
  30. package/dist/api/models/CommentDetails.js +1 -0
  31. package/dist/api/models/CommentRequest.d.ts +10 -0
  32. package/dist/api/models/CommentRequest.d.ts.map +1 -0
  33. package/dist/api/models/CommentRequest.js +1 -0
  34. package/dist/api/models/CommentResponse.d.ts +18 -0
  35. package/dist/api/models/CommentResponse.d.ts.map +1 -0
  36. package/dist/api/models/CommentResponse.js +1 -0
  37. package/dist/api/models/ConversationResponse.d.ts +30 -0
  38. package/dist/api/models/ConversationResponse.d.ts.map +1 -0
  39. package/dist/api/models/ConversationResponse.js +1 -0
  40. package/dist/api/models/ConversationSummary.d.ts +34 -0
  41. package/dist/api/models/ConversationSummary.d.ts.map +1 -0
  42. package/dist/api/models/ConversationSummary.js +1 -0
  43. package/dist/api/models/ConversationType.d.ts +6 -0
  44. package/dist/api/models/ConversationType.d.ts.map +1 -0
  45. package/dist/api/models/ConversationType.js +10 -0
  46. package/dist/api/models/CreateListingRequest.d.ts +85 -0
  47. package/dist/api/models/CreateListingRequest.d.ts.map +1 -0
  48. package/dist/api/models/CreateListingRequest.js +1 -0
  49. package/dist/api/models/EditProfileRequest.d.ts +31 -0
  50. package/dist/api/models/EditProfileRequest.d.ts.map +1 -0
  51. package/dist/api/models/EditProfileRequest.js +1 -0
  52. package/dist/api/models/ErrorResData.d.ts +12 -0
  53. package/dist/api/models/ErrorResData.d.ts.map +1 -0
  54. package/dist/api/models/ErrorResData.js +1 -0
  55. package/dist/api/models/FavoriteResponse.d.ts +14 -0
  56. package/dist/api/models/FavoriteResponse.d.ts.map +1 -0
  57. package/dist/api/models/FavoriteResponse.js +1 -0
  58. package/dist/api/models/FileContent.d.ts +19 -0
  59. package/dist/api/models/FileContent.d.ts.map +1 -0
  60. package/dist/api/models/FileContent.js +1 -0
  61. package/dist/api/models/FilterParameter.d.ts +41 -0
  62. package/dist/api/models/FilterParameter.d.ts.map +1 -0
  63. package/dist/api/models/FilterParameter.js +1 -0
  64. package/dist/api/models/Listing.d.ts +25 -0
  65. package/dist/api/models/Listing.d.ts.map +1 -0
  66. package/dist/api/models/Listing.js +1 -0
  67. package/dist/api/models/ListingBoxCondition.d.ts +6 -0
  68. package/dist/api/models/ListingBoxCondition.d.ts.map +1 -0
  69. package/dist/api/models/ListingBoxCondition.js +10 -0
  70. package/dist/api/models/ListingCard.d.ts +4 -4
  71. package/dist/api/models/ListingCard.d.ts.map +1 -1
  72. package/dist/api/models/ListingCategory.d.ts +7 -0
  73. package/dist/api/models/ListingCategory.d.ts.map +1 -0
  74. package/dist/api/models/ListingCategory.js +11 -0
  75. package/dist/api/models/ListingDetails.d.ts +59 -0
  76. package/dist/api/models/ListingDetails.d.ts.map +1 -0
  77. package/dist/api/models/ListingDetails.js +1 -0
  78. package/dist/api/models/ListingDetailsResponse.d.ts +42 -0
  79. package/dist/api/models/ListingDetailsResponse.d.ts.map +1 -0
  80. package/dist/api/models/ListingDetailsResponse.js +1 -0
  81. package/dist/api/models/ListingPreview.d.ts +7 -0
  82. package/dist/api/models/ListingPreview.d.ts.map +1 -0
  83. package/dist/api/models/ListingPreview.js +1 -0
  84. package/dist/api/models/ListingResponse.d.ts +16 -0
  85. package/dist/api/models/ListingResponse.d.ts.map +1 -0
  86. package/dist/api/models/ListingResponse.js +1 -0
  87. package/dist/api/models/ListingSearchRequest.d.ts +30 -0
  88. package/dist/api/models/ListingSearchRequest.d.ts.map +1 -0
  89. package/dist/api/models/ListingSearchRequest.js +1 -0
  90. package/dist/api/models/ListingSortField.d.ts +12 -0
  91. package/dist/api/models/ListingSortField.d.ts.map +1 -0
  92. package/dist/api/models/ListingSortField.js +16 -0
  93. package/dist/api/models/ListingStatus.d.ts +8 -0
  94. package/dist/api/models/ListingStatus.d.ts.map +1 -0
  95. package/dist/api/models/ListingStatus.js +12 -0
  96. package/dist/api/models/ListingTab.d.ts +13 -0
  97. package/dist/api/models/ListingTab.d.ts.map +1 -0
  98. package/dist/api/models/ListingTab.js +1 -0
  99. package/dist/api/models/LoginResponse.d.ts +4 -0
  100. package/dist/api/models/LoginResponse.d.ts.map +1 -1
  101. package/dist/api/models/Message.d.ts +28 -0
  102. package/dist/api/models/Message.d.ts.map +1 -0
  103. package/dist/api/models/Message.js +1 -0
  104. package/dist/api/models/MessageActionType.d.ts +5 -0
  105. package/dist/api/models/MessageActionType.d.ts.map +1 -0
  106. package/dist/api/models/MessageActionType.js +9 -0
  107. package/dist/api/models/MessageReqData.d.ts +19 -0
  108. package/dist/api/models/MessageReqData.d.ts.map +1 -0
  109. package/dist/api/models/MessageReqData.js +1 -0
  110. package/dist/api/models/MessageResData.d.ts +32 -0
  111. package/dist/api/models/MessageResData.d.ts.map +1 -0
  112. package/dist/api/models/MessageResData.js +1 -0
  113. package/dist/api/models/MessageType.d.ts +7 -0
  114. package/dist/api/models/MessageType.d.ts.map +1 -0
  115. package/dist/api/models/MessageType.js +11 -0
  116. package/dist/api/models/MessagesSummary.d.ts +12 -0
  117. package/dist/api/models/MessagesSummary.d.ts.map +1 -0
  118. package/dist/api/models/MessagesSummary.js +1 -0
  119. package/dist/api/models/PaginationDetails.d.ts +19 -0
  120. package/dist/api/models/PaginationDetails.d.ts.map +1 -0
  121. package/dist/api/models/PaginationDetails.js +1 -0
  122. package/dist/api/models/Participant.d.ts +12 -0
  123. package/dist/api/models/Participant.d.ts.map +1 -0
  124. package/dist/api/models/Participant.js +1 -0
  125. package/dist/api/models/ProfileDetails.d.ts +51 -0
  126. package/dist/api/models/ProfileDetails.d.ts.map +1 -0
  127. package/dist/api/models/ProfileDetails.js +1 -0
  128. package/dist/api/models/ProfileResponse.d.ts +26 -0
  129. package/dist/api/models/ProfileResponse.d.ts.map +1 -0
  130. package/dist/api/models/ProfileResponse.js +1 -0
  131. package/dist/api/models/ProfileTab.d.ts +6 -0
  132. package/dist/api/models/ProfileTab.d.ts.map +1 -0
  133. package/dist/api/models/ProfileTab.js +10 -0
  134. package/dist/api/models/ReviewDetails.d.ts +28 -0
  135. package/dist/api/models/ReviewDetails.d.ts.map +1 -0
  136. package/dist/api/models/ReviewDetails.js +1 -0
  137. package/dist/api/models/ReviewSearchRequest.d.ts +24 -0
  138. package/dist/api/models/ReviewSearchRequest.d.ts.map +1 -0
  139. package/dist/api/models/ReviewSearchRequest.js +1 -0
  140. package/dist/api/models/ReviewSortField.d.ts +8 -0
  141. package/dist/api/models/ReviewSortField.d.ts.map +1 -0
  142. package/dist/api/models/ReviewSortField.js +12 -0
  143. package/dist/api/models/ReviewsTab.d.ts +25 -0
  144. package/dist/api/models/ReviewsTab.d.ts.map +1 -0
  145. package/dist/api/models/ReviewsTab.js +1 -0
  146. package/dist/api/models/RichActionContent.d.ts +13 -0
  147. package/dist/api/models/RichActionContent.d.ts.map +1 -0
  148. package/dist/api/models/RichActionContent.js +1 -0
  149. package/dist/api/models/RichTextContent.d.ts +12 -0
  150. package/dist/api/models/RichTextContent.d.ts.map +1 -0
  151. package/dist/api/models/RichTextContent.js +1 -0
  152. package/dist/api/models/SearchRequest.d.ts +28 -0
  153. package/dist/api/models/SearchRequest.d.ts.map +1 -0
  154. package/dist/api/models/SearchRequest.js +1 -0
  155. package/dist/api/models/SearchResponse.d.ts +13 -0
  156. package/dist/api/models/SearchResponse.d.ts.map +1 -0
  157. package/dist/api/models/SearchResponse.js +1 -0
  158. package/dist/api/models/SortParameter.d.ts +15 -0
  159. package/dist/api/models/SortParameter.d.ts.map +1 -0
  160. package/dist/api/models/SortParameter.js +1 -0
  161. package/dist/api/models/TextContent.d.ts +11 -0
  162. package/dist/api/models/TextContent.d.ts.map +1 -0
  163. package/dist/api/models/TextContent.js +1 -0
  164. package/dist/api/models/TypingReqData.d.ts +11 -0
  165. package/dist/api/models/TypingReqData.d.ts.map +1 -0
  166. package/dist/api/models/TypingReqData.js +1 -0
  167. package/dist/api/models/TypingResData.d.ts +16 -0
  168. package/dist/api/models/TypingResData.d.ts.map +1 -0
  169. package/dist/api/models/TypingResData.js +1 -0
  170. package/dist/api/models/UpdateLastReadData.d.ts +15 -0
  171. package/dist/api/models/UpdateLastReadData.d.ts.map +1 -0
  172. package/dist/api/models/UpdateLastReadData.js +1 -0
  173. package/dist/api/models/UpdateListingRequest.d.ts +80 -0
  174. package/dist/api/models/UpdateListingRequest.d.ts.map +1 -0
  175. package/dist/api/models/UpdateListingRequest.js +1 -0
  176. package/dist/api/models/User.d.ts +1 -1
  177. package/dist/api/models/User.d.ts.map +1 -1
  178. package/dist/api/models/UserPreview.d.ts +6 -0
  179. package/dist/api/models/UserPreview.d.ts.map +1 -0
  180. package/dist/api/models/UserPreview.js +1 -0
  181. package/dist/api/models/WSErrorCode.d.ts +9 -0
  182. package/dist/api/models/WSErrorCode.d.ts.map +1 -0
  183. package/dist/api/models/WSErrorCode.js +13 -0
  184. package/dist/api/models/WSMessageRequest.d.ts +14 -0
  185. package/dist/api/models/WSMessageRequest.d.ts.map +1 -0
  186. package/dist/api/models/WSMessageRequest.js +1 -0
  187. package/dist/api/models/WSMessageResponse.d.ts +16 -0
  188. package/dist/api/models/WSMessageResponse.d.ts.map +1 -0
  189. package/dist/api/models/WSMessageResponse.js +1 -0
  190. package/dist/api/models/WSType.d.ts +10 -0
  191. package/dist/api/models/WSType.d.ts.map +1 -0
  192. package/dist/api/models/WSType.js +14 -0
  193. package/dist/api/services/AuctionsService.d.ts +15 -0
  194. package/dist/api/services/AuctionsService.d.ts.map +1 -0
  195. package/dist/api/services/AuctionsService.js +26 -0
  196. package/dist/api/services/AuthService.d.ts +1 -1
  197. package/dist/api/services/AuthService.js +1 -1
  198. package/dist/api/services/DashboardService.d.ts +37 -0
  199. package/dist/api/services/DashboardService.d.ts.map +1 -0
  200. package/dist/api/services/DashboardService.js +79 -0
  201. package/dist/api/services/ListingService.d.ts +93 -0
  202. package/dist/api/services/ListingService.d.ts.map +1 -0
  203. package/dist/api/services/ListingService.js +196 -0
  204. package/dist/api/services/MessageService.d.ts +65 -0
  205. package/dist/api/services/MessageService.d.ts.map +1 -0
  206. package/dist/api/services/MessageService.js +128 -0
  207. package/dist/api/services/ProfileService.d.ts +74 -0
  208. package/dist/api/services/ProfileService.d.ts.map +1 -0
  209. package/dist/api/services/ProfileService.js +149 -0
  210. package/dist/utils/validation/create-listing-schema.d.ts +391 -0
  211. package/dist/utils/validation/create-listing-schema.d.ts.map +1 -0
  212. package/dist/utils/validation/create-listing-schema.js +125 -0
  213. package/package.json +1 -1
  214. package/dist/api/models/Seller.d.ts +0 -11
  215. package/dist/api/models/Seller.d.ts.map +0 -1
  216. /package/dist/api/models/{Seller.js → ActionContent.js} +0 -0
package/README.md CHANGED
@@ -54,7 +54,7 @@ shared-sdk/
54
54
  "dev": "tsc --watch",
55
55
  "clean": "rm -rf dist",
56
56
  "generate-api": "openapi-typescript-codegen --input http://localhost:3000/api-docs --output src/api",
57
- "prepublishOnly": "npm run clean && npm run build",
57
+ "prepublishOnly": "bun run clean && bun run build",
58
58
  "test": "echo \"No tests yet\" && exit 0"
59
59
  }
60
60
  ```
@@ -2,18 +2,83 @@ export { ApiError } from './core/ApiError';
2
2
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
3
3
  export { OpenAPI } from './core/OpenAPI';
4
4
  export type { OpenAPIConfig } from './core/OpenAPI';
5
+ export type { ActionContent } from './models/ActionContent';
6
+ export type { Auction } from './models/Auction';
7
+ export type { AuctionDetails } from './models/AuctionDetails';
8
+ export { AuctionStatus } from './models/AuctionStatus';
9
+ export type { Bid } from './models/Bid';
10
+ export type { BidDetails } from './models/BidDetails';
11
+ export type { BidRequest } from './models/BidRequest';
12
+ export type { BidResponse } from './models/BidResponse';
5
13
  export type { CheckUniqueUsernameResponse } from './models/CheckUniqueUsernameResponse';
14
+ export type { CommentDetails } from './models/CommentDetails';
15
+ export type { CommentRequest } from './models/CommentRequest';
16
+ export type { CommentResponse } from './models/CommentResponse';
17
+ export type { ConversationResponse } from './models/ConversationResponse';
18
+ export type { ConversationSummary } from './models/ConversationSummary';
19
+ export { ConversationType } from './models/ConversationType';
20
+ export type { CreateListingRequest } from './models/CreateListingRequest';
21
+ export type { EditProfileRequest } from './models/EditProfileRequest';
22
+ export type { ErrorResData } from './models/ErrorResData';
23
+ export type { FavoriteResponse } from './models/FavoriteResponse';
24
+ export type { FileContent } from './models/FileContent';
25
+ export type { FilterParameter } from './models/FilterParameter';
6
26
  export type { HomepageResponse } from './models/HomepageResponse';
7
27
  export type { HTTPValidationError } from './models/HTTPValidationError';
28
+ export type { Listing } from './models/Listing';
29
+ export { ListingBoxCondition } from './models/ListingBoxCondition';
8
30
  export type { ListingCard } from './models/ListingCard';
31
+ export { ListingCategory } from './models/ListingCategory';
32
+ export type { ListingDetails } from './models/ListingDetails';
33
+ export type { ListingDetailsResponse } from './models/ListingDetailsResponse';
34
+ export type { ListingPreview } from './models/ListingPreview';
35
+ export type { ListingResponse } from './models/ListingResponse';
36
+ export type { ListingSearchRequest } from './models/ListingSearchRequest';
37
+ export { ListingSortField } from './models/ListingSortField';
38
+ export { ListingStatus } from './models/ListingStatus';
39
+ export type { ListingTab } from './models/ListingTab';
9
40
  export { ListingType } from './models/ListingType';
10
41
  export type { LoginResponse } from './models/LoginResponse';
42
+ export type { Message } from './models/Message';
43
+ export { MessageActionType } from './models/MessageActionType';
44
+ export type { MessageReqData } from './models/MessageReqData';
45
+ export type { MessageResData } from './models/MessageResData';
46
+ export type { MessagesSummary } from './models/MessagesSummary';
47
+ export { MessageType } from './models/MessageType';
11
48
  export type { OnboardRequest } from './models/OnboardRequest';
12
49
  export type { OnboardResponse } from './models/OnboardResponse';
13
- export type { Seller } from './models/Seller';
50
+ export type { PaginationDetails } from './models/PaginationDetails';
51
+ export type { Participant } from './models/Participant';
52
+ export type { ProfileDetails } from './models/ProfileDetails';
53
+ export type { ProfileResponse } from './models/ProfileResponse';
54
+ export { ProfileTab } from './models/ProfileTab';
55
+ export type { ReviewDetails } from './models/ReviewDetails';
56
+ export type { ReviewSearchRequest } from './models/ReviewSearchRequest';
57
+ export { ReviewSortField } from './models/ReviewSortField';
58
+ export type { ReviewsTab } from './models/ReviewsTab';
59
+ export type { RichActionContent } from './models/RichActionContent';
60
+ export type { RichTextContent } from './models/RichTextContent';
61
+ export type { SearchRequest } from './models/SearchRequest';
62
+ export type { SearchResponse } from './models/SearchResponse';
63
+ export type { SortParameter } from './models/SortParameter';
64
+ export type { TextContent } from './models/TextContent';
65
+ export type { TypingReqData } from './models/TypingReqData';
66
+ export type { TypingResData } from './models/TypingResData';
67
+ export type { UpdateLastReadData } from './models/UpdateLastReadData';
68
+ export type { UpdateListingRequest } from './models/UpdateListingRequest';
14
69
  export type { User } from './models/User';
70
+ export type { UserPreview } from './models/UserPreview';
15
71
  export type { ValidationError } from './models/ValidationError';
72
+ export { WSErrorCode } from './models/WSErrorCode';
73
+ export type { WSMessageRequest } from './models/WSMessageRequest';
74
+ export type { WSMessageResponse } from './models/WSMessageResponse';
75
+ export { WSType } from './models/WSType';
76
+ export { AuctionsService } from './services/AuctionsService';
16
77
  export { AuthService } from './services/AuthService';
78
+ export { DashboardService } from './services/DashboardService';
17
79
  export { DefaultService } from './services/DefaultService';
18
80
  export { HomepageService } from './services/HomepageService';
81
+ export { ListingService } from './services/ListingService';
82
+ export { MessageService } from './services/MessageService';
83
+ export { ProfileService } from './services/ProfileService';
19
84
  //# sourceMappingURL=index.d.ts.map
@@ -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,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,cAAc,EAAE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AE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,YAAY,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,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,cAAc,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/api/index.js CHANGED
@@ -5,7 +5,24 @@
5
5
  export { ApiError } from './core/ApiError';
6
6
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
7
7
  export { OpenAPI } from './core/OpenAPI';
8
+ export { AuctionStatus } from './models/AuctionStatus';
9
+ export { ConversationType } from './models/ConversationType';
10
+ export { ListingBoxCondition } from './models/ListingBoxCondition';
11
+ export { ListingCategory } from './models/ListingCategory';
12
+ export { ListingSortField } from './models/ListingSortField';
13
+ export { ListingStatus } from './models/ListingStatus';
8
14
  export { ListingType } from './models/ListingType';
15
+ export { MessageActionType } from './models/MessageActionType';
16
+ export { MessageType } from './models/MessageType';
17
+ export { ProfileTab } from './models/ProfileTab';
18
+ export { ReviewSortField } from './models/ReviewSortField';
19
+ export { WSErrorCode } from './models/WSErrorCode';
20
+ export { WSType } from './models/WSType';
21
+ export { AuctionsService } from './services/AuctionsService';
9
22
  export { AuthService } from './services/AuthService';
23
+ export { DashboardService } from './services/DashboardService';
10
24
  export { DefaultService } from './services/DefaultService';
11
25
  export { HomepageService } from './services/HomepageService';
26
+ export { ListingService } from './services/ListingService';
27
+ export { MessageService } from './services/MessageService';
28
+ export { ProfileService } from './services/ProfileService';
@@ -0,0 +1,12 @@
1
+ import type { MessageActionType } from './MessageActionType';
2
+ export type ActionContent = {
3
+ /**
4
+ * Type of the action
5
+ */
6
+ action_type: MessageActionType;
7
+ /**
8
+ * ID of the listing associated with the action
9
+ */
10
+ listing_id: string;
11
+ };
12
+ //# sourceMappingURL=ActionContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/ActionContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,WAAW,EAAE,iBAAiB,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { AuctionStatus } from './AuctionStatus';
2
+ import type { Bid } from './Bid';
3
+ export type Auction = {
4
+ listing_id: string;
5
+ starting_price: number;
6
+ reserve_price?: (number | null);
7
+ buy_now_price?: (number | null);
8
+ bid_increment?: number;
9
+ bids?: Array<Bid>;
10
+ bid_count?: number;
11
+ ends_at?: (string | null);
12
+ status?: AuctionStatus;
13
+ is_extendable?: boolean;
14
+ settlement_deadline?: (string | null);
15
+ };
16
+ //# sourceMappingURL=Auction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Auction.d.ts","sourceRoot":"","sources":["../../../src/api/models/Auction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,MAAM,MAAM,OAAO,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACzC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,36 @@
1
+ import type { AuctionStatus } from './AuctionStatus';
2
+ import type { BidDetails } from './BidDetails';
3
+ /**
4
+ * Model representing auction details for a listing.
5
+ */
6
+ export type AuctionDetails = {
7
+ /**
8
+ * Starting price for the auction
9
+ */
10
+ starting_price: number;
11
+ /**
12
+ * Buy now price for the auction, if applicable
13
+ */
14
+ buy_now_price?: (number | null);
15
+ /**
16
+ * Current status of the auction (e.g., ACTIVE, PENDING)
17
+ */
18
+ status: AuctionStatus;
19
+ /**
20
+ * List of bids placed in the auction
21
+ */
22
+ bids: Array<BidDetails>;
23
+ /**
24
+ * Minimum increment for each bid in the auction
25
+ */
26
+ bid_increment: number;
27
+ /**
28
+ * Total number of bids placed in the auction
29
+ */
30
+ bid_count: number;
31
+ /**
32
+ * End time for the auction, in ISO 8601 format
33
+ */
34
+ ends_at: string;
35
+ };
36
+ //# sourceMappingURL=AuctionDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuctionDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/AuctionDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare enum AuctionStatus {
2
+ ACTIVE = "ACTIVE",
3
+ PENDING = "PENDING",
4
+ RESERVE_NOT_MET = "RESERVE_NOT_MET",
5
+ COMPLETE = "COMPLETE"
6
+ }
7
+ //# sourceMappingURL=AuctionStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuctionStatus.d.ts","sourceRoot":"","sources":["../../../src/api/models/AuctionStatus.ts"],"names":[],"mappings":"AAIA,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,QAAQ,aAAa;CACxB"}
@@ -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 AuctionStatus;
6
+ (function (AuctionStatus) {
7
+ AuctionStatus["ACTIVE"] = "ACTIVE";
8
+ AuctionStatus["PENDING"] = "PENDING";
9
+ AuctionStatus["RESERVE_NOT_MET"] = "RESERVE_NOT_MET";
10
+ AuctionStatus["COMPLETE"] = "COMPLETE";
11
+ })(AuctionStatus || (AuctionStatus = {}));
@@ -0,0 +1,9 @@
1
+ export type Bid = {
2
+ id: string;
3
+ bidder_id: string;
4
+ listing_id: string;
5
+ amount: number;
6
+ created_at: string;
7
+ is_winning?: boolean;
8
+ };
9
+ //# sourceMappingURL=Bid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bid.d.ts","sourceRoot":"","sources":["../../../src/api/models/Bid.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,GAAG,GAAG;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { UserPreview } from './UserPreview';
2
+ /**
3
+ * Model representing bids in an auction.
4
+ */
5
+ export type BidDetails = {
6
+ /**
7
+ * Unique identifier for the bid
8
+ */
9
+ id: string;
10
+ /**
11
+ * User who placed the bid or None if the user has deleted their account
12
+ */
13
+ bidder?: (UserPreview | null);
14
+ /**
15
+ * Amount of the bid
16
+ */
17
+ amount: number;
18
+ /**
19
+ * Timestamp when the bid was placed, in ISO 8601 format
20
+ */
21
+ created_at: string;
22
+ };
23
+ //# sourceMappingURL=BidDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BidDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/BidDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Request model for placing a bid on an auction listing.
3
+ */
4
+ export type BidRequest = {
5
+ /**
6
+ * Amount of the bid
7
+ */
8
+ amount: number;
9
+ };
10
+ //# sourceMappingURL=BidRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BidRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/BidRequest.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Response model for a bid placed on an auction listing.
3
+ */
4
+ export type BidResponse = {
5
+ /**
6
+ * Unique identifier for the bid
7
+ */
8
+ id: string;
9
+ /**
10
+ * Amount of the bid
11
+ */
12
+ amount: number;
13
+ /**
14
+ * Timestamp when the bid was placed, in ISO 8601 format
15
+ */
16
+ created_at: string;
17
+ /**
18
+ * Total number of bids placed in the auction
19
+ */
20
+ bid_count: number;
21
+ /**
22
+ * Current highest bid amount in the auction
23
+ */
24
+ current_bid: number;
25
+ };
26
+ //# sourceMappingURL=BidResponse.d.ts.map
@@ -0,0 +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;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { UserPreview } from './UserPreview';
2
+ /**
3
+ * Model representing comments on a listing
4
+ */
5
+ export type CommentDetails = {
6
+ /**
7
+ * Unique identifier for the comment
8
+ */
9
+ id: string;
10
+ /**
11
+ * User who wrote the comment or None if the user has deleted their account
12
+ */
13
+ commenter?: (UserPreview | null);
14
+ /**
15
+ * The text content of the comment
16
+ */
17
+ content: string;
18
+ /**
19
+ * Time comment was posted in ISO 8601 format
20
+ */
21
+ created_at: string;
22
+ };
23
+ //# sourceMappingURL=CommentDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/CommentDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Request model for adding a comment to a listing.
3
+ */
4
+ export type CommentRequest = {
5
+ /**
6
+ * Content of the comment to add or update
7
+ */
8
+ content?: (string | null);
9
+ };
10
+ //# sourceMappingURL=CommentRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/CommentRequest.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Response model for a comment.
3
+ */
4
+ export type CommentResponse = {
5
+ /**
6
+ * Unique identifier for the comment
7
+ */
8
+ id: string;
9
+ /**
10
+ * Content of the comment
11
+ */
12
+ content: string;
13
+ /**
14
+ * Time comment was posted in ISO 8601 format
15
+ */
16
+ created_at: string;
17
+ };
18
+ //# sourceMappingURL=CommentResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/CommentResponse.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ import type { ConversationType } from './ConversationType';
2
+ import type { Message } from './Message';
3
+ import type { Participant } from './Participant';
4
+ export type ConversationResponse = {
5
+ /**
6
+ * Unique identifier for the conversation
7
+ */
8
+ id: string;
9
+ /**
10
+ * Type of the conversation e.g. DIRECT, GROUP
11
+ */
12
+ type: ConversationType;
13
+ /**
14
+ * Name of the conversation, if applicable
15
+ */
16
+ name?: (string | null);
17
+ /**
18
+ * URL of the conversation's thumbnail image
19
+ */
20
+ thumbnail_url?: (string | null);
21
+ /**
22
+ * List of participants in the conversation
23
+ */
24
+ participants: Array<Participant>;
25
+ /**
26
+ * List of messages in the conversation
27
+ */
28
+ messages: Array<Message>;
29
+ };
30
+ //# sourceMappingURL=ConversationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/ConversationResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CAC5B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ import type { ConversationType } from './ConversationType';
2
+ import type { Message } from './Message';
3
+ import type { UserPreview } from './UserPreview';
4
+ export type ConversationSummary = {
5
+ /**
6
+ * Unique identifier for the conversation
7
+ */
8
+ id: string;
9
+ /**
10
+ * URL of the conversation's thumbnail image
11
+ */
12
+ thumbnail_url?: (string | null);
13
+ /**
14
+ * Type of the conversation e.g. DIRECT, GROUP
15
+ */
16
+ type: ConversationType;
17
+ /**
18
+ * Name of the conversation, if applicable
19
+ */
20
+ name?: (string | null);
21
+ /**
22
+ * Number of unread messages in the conversation for the user
23
+ */
24
+ unread_count: number;
25
+ /**
26
+ * List of participants in the conversation
27
+ */
28
+ participants: Array<UserPreview>;
29
+ /**
30
+ * The last message in the conversation, if available
31
+ */
32
+ last_message?: (Message | null);
33
+ };
34
+ //# sourceMappingURL=ConversationSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationSummary.d.ts","sourceRoot":"","sources":["../../../src/api/models/ConversationSummary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CACnC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare enum ConversationType {
2
+ DIRECT = "DIRECT",
3
+ GROUP = "GROUP",
4
+ CHANNEL = "CHANNEL"
5
+ }
6
+ //# sourceMappingURL=ConversationType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationType.d.ts","sourceRoot":"","sources":["../../../src/api/models/ConversationType.ts"],"names":[],"mappings":"AAIA,oBAAY,gBAAgB;IACxB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;CACtB"}
@@ -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 ConversationType;
6
+ (function (ConversationType) {
7
+ ConversationType["DIRECT"] = "DIRECT";
8
+ ConversationType["GROUP"] = "GROUP";
9
+ ConversationType["CHANNEL"] = "CHANNEL";
10
+ })(ConversationType || (ConversationType = {}));
@@ -0,0 +1,85 @@
1
+ import type { ListingBoxCondition } from './ListingBoxCondition';
2
+ import type { ListingCategory } from './ListingCategory';
3
+ import type { ListingType } from './ListingType';
4
+ /**
5
+ * Request model for creating a listing.
6
+ */
7
+ export type CreateListingRequest = {
8
+ /**
9
+ * Type of the listing (e.g., NORMAL, AUCTION)
10
+ */
11
+ type: ListingType;
12
+ /**
13
+ * Name of the listing
14
+ */
15
+ name: string;
16
+ /**
17
+ * Brand of the item in the listing
18
+ */
19
+ brand: string;
20
+ /**
21
+ * Description of the listing
22
+ */
23
+ description: string;
24
+ /**
25
+ * Category of the listing
26
+ */
27
+ category: ListingCategory;
28
+ /**
29
+ * Price of the listing
30
+ */
31
+ price: number;
32
+ /**
33
+ * Volume of the perfume bottle
34
+ */
35
+ volume: number;
36
+ /**
37
+ * Remaining percentage of the perfume in the bottle
38
+ */
39
+ remaining_percentage: number;
40
+ /**
41
+ * Condition of the box of the perfume
42
+ */
43
+ box_condition: ListingBoxCondition;
44
+ /**
45
+ * Batch code of the perfume, if available
46
+ */
47
+ batch_code?: (string | null);
48
+ /**
49
+ * Quantity available in the listing
50
+ */
51
+ quantity: number;
52
+ /**
53
+ * Year of purchase of the perfume
54
+ */
55
+ purchase_year: number;
56
+ /**
57
+ * List of image URLs for the listing
58
+ */
59
+ image_urls: Array<string>;
60
+ /**
61
+ * Starting price for auction listings
62
+ */
63
+ starting_price?: (number | null);
64
+ /**
65
+ * Reserve price for auction listings
66
+ */
67
+ reserve_price?: (number | null);
68
+ /**
69
+ * Buy now price for auction listings
70
+ */
71
+ buy_now_price?: (number | null);
72
+ /**
73
+ * Bid increment for auction listings
74
+ */
75
+ bid_increment?: (number | null);
76
+ /**
77
+ * End time for auction listings, in ISO 8601 format
78
+ */
79
+ ends_at?: (string | null);
80
+ /**
81
+ * Whether the auction can be extended
82
+ */
83
+ is_extendable?: boolean;
84
+ };
85
+ //# sourceMappingURL=CreateListingRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateListingRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/CreateListingRequest.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,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;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,eAAe,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;OAEG;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