@bid-scents/shared-sdk 1.0.3 → 1.0.5

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 (150) hide show
  1. package/dist/api/index.d.ts +43 -1
  2. package/dist/api/index.d.ts.map +1 -1
  3. package/dist/api/index.js +11 -0
  4. package/dist/api/models/Auction.d.ts +16 -0
  5. package/dist/api/models/Auction.d.ts.map +1 -0
  6. package/dist/api/models/AuctionDetails.d.ts +36 -0
  7. package/dist/api/models/AuctionDetails.d.ts.map +1 -0
  8. package/dist/api/models/AuctionDetails.js +1 -0
  9. package/dist/api/models/AuctionExpiryResponse.d.ts +14 -0
  10. package/dist/api/models/AuctionExpiryResponse.d.ts.map +1 -0
  11. package/dist/api/models/AuctionExpiryResponse.js +1 -0
  12. package/dist/api/models/AuctionStatus.d.ts +7 -0
  13. package/dist/api/models/AuctionStatus.d.ts.map +1 -0
  14. package/dist/api/models/AuctionStatus.js +11 -0
  15. package/dist/api/models/Bid.d.ts +9 -0
  16. package/dist/api/models/Bid.d.ts.map +1 -0
  17. package/dist/api/models/Bid.js +1 -0
  18. package/dist/api/models/BidDetails.d.ts +23 -0
  19. package/dist/api/models/BidDetails.d.ts.map +1 -0
  20. package/dist/api/models/BidDetails.js +1 -0
  21. package/dist/api/models/BidResponse.d.ts +26 -0
  22. package/dist/api/models/BidResponse.d.ts.map +1 -0
  23. package/dist/api/models/BidResponse.js +1 -0
  24. package/dist/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.d.ts +7 -0
  25. package/dist/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.d.ts.map +1 -0
  26. package/dist/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.js +1 -0
  27. package/dist/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.d.ts +7 -0
  28. package/dist/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.d.ts.map +1 -0
  29. package/dist/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.js +1 -0
  30. package/dist/api/models/CommentDetails.d.ts +23 -0
  31. package/dist/api/models/CommentDetails.d.ts.map +1 -0
  32. package/dist/api/models/CommentDetails.js +1 -0
  33. package/dist/api/models/CommentRequest.d.ts +10 -0
  34. package/dist/api/models/CommentRequest.d.ts.map +1 -0
  35. package/dist/api/models/CommentRequest.js +1 -0
  36. package/dist/api/models/CommentResponse.d.ts +18 -0
  37. package/dist/api/models/CommentResponse.d.ts.map +1 -0
  38. package/dist/api/models/CommentResponse.js +1 -0
  39. package/dist/api/models/CreateListingRequest.d.ts +85 -0
  40. package/dist/api/models/CreateListingRequest.d.ts.map +1 -0
  41. package/dist/api/models/CreateListingRequest.js +1 -0
  42. package/dist/api/models/EditProfileRequest.d.ts +31 -0
  43. package/dist/api/models/EditProfileRequest.d.ts.map +1 -0
  44. package/dist/api/models/EditProfileRequest.js +1 -0
  45. package/dist/api/models/FavoriteResponse.d.ts +14 -0
  46. package/dist/api/models/FavoriteResponse.d.ts.map +1 -0
  47. package/dist/api/models/FavoriteResponse.js +1 -0
  48. package/dist/api/models/FilterParameter.d.ts +41 -0
  49. package/dist/api/models/FilterParameter.d.ts.map +1 -0
  50. package/dist/api/models/FilterParameter.js +1 -0
  51. package/dist/api/models/Listing.d.ts +25 -0
  52. package/dist/api/models/Listing.d.ts.map +1 -0
  53. package/dist/api/models/Listing.js +1 -0
  54. package/dist/api/models/ListingBoxCondition.d.ts +6 -0
  55. package/dist/api/models/ListingBoxCondition.d.ts.map +1 -0
  56. package/dist/api/models/ListingBoxCondition.js +10 -0
  57. package/dist/api/models/ListingCard.d.ts +4 -4
  58. package/dist/api/models/ListingCard.d.ts.map +1 -1
  59. package/dist/api/models/ListingCategory.d.ts +7 -0
  60. package/dist/api/models/ListingCategory.d.ts.map +1 -0
  61. package/dist/api/models/ListingCategory.js +11 -0
  62. package/dist/api/models/ListingDetails.d.ts +59 -0
  63. package/dist/api/models/ListingDetails.d.ts.map +1 -0
  64. package/dist/api/models/ListingDetails.js +1 -0
  65. package/dist/api/models/ListingDetailsResponse.d.ts +42 -0
  66. package/dist/api/models/ListingDetailsResponse.d.ts.map +1 -0
  67. package/dist/api/models/ListingDetailsResponse.js +1 -0
  68. package/dist/api/models/ListingResponse.d.ts +16 -0
  69. package/dist/api/models/ListingResponse.d.ts.map +1 -0
  70. package/dist/api/models/ListingResponse.js +1 -0
  71. package/dist/api/models/ListingSearchRequest.d.ts +30 -0
  72. package/dist/api/models/ListingSearchRequest.d.ts.map +1 -0
  73. package/dist/api/models/ListingSearchRequest.js +1 -0
  74. package/dist/api/models/ListingSortField.d.ts +12 -0
  75. package/dist/api/models/ListingSortField.d.ts.map +1 -0
  76. package/dist/api/models/ListingSortField.js +16 -0
  77. package/dist/api/models/ListingStatus.d.ts +8 -0
  78. package/dist/api/models/ListingStatus.d.ts.map +1 -0
  79. package/dist/api/models/ListingStatus.js +12 -0
  80. package/dist/api/models/ListingTab.d.ts +13 -0
  81. package/dist/api/models/ListingTab.d.ts.map +1 -0
  82. package/dist/api/models/ListingTab.js +1 -0
  83. package/dist/api/models/LoginResponse.d.ts +4 -0
  84. package/dist/api/models/LoginResponse.d.ts.map +1 -1
  85. package/dist/api/models/PaginationDetails.d.ts +19 -0
  86. package/dist/api/models/PaginationDetails.d.ts.map +1 -0
  87. package/dist/api/models/PaginationDetails.js +1 -0
  88. package/dist/api/models/ProfileDetails.d.ts +51 -0
  89. package/dist/api/models/ProfileDetails.d.ts.map +1 -0
  90. package/dist/api/models/ProfileDetails.js +1 -0
  91. package/dist/api/models/ProfileResponse.d.ts +26 -0
  92. package/dist/api/models/ProfileResponse.d.ts.map +1 -0
  93. package/dist/api/models/ProfileResponse.js +1 -0
  94. package/dist/api/models/ProfileTab.d.ts +6 -0
  95. package/dist/api/models/ProfileTab.d.ts.map +1 -0
  96. package/dist/api/models/ProfileTab.js +10 -0
  97. package/dist/api/models/ReviewDetails.d.ts +28 -0
  98. package/dist/api/models/ReviewDetails.d.ts.map +1 -0
  99. package/dist/api/models/ReviewDetails.js +1 -0
  100. package/dist/api/models/ReviewSearchRequest.d.ts +24 -0
  101. package/dist/api/models/ReviewSearchRequest.d.ts.map +1 -0
  102. package/dist/api/models/ReviewSearchRequest.js +1 -0
  103. package/dist/api/models/ReviewSortField.d.ts +8 -0
  104. package/dist/api/models/ReviewSortField.d.ts.map +1 -0
  105. package/dist/api/models/ReviewSortField.js +12 -0
  106. package/dist/api/models/ReviewsTab.d.ts +25 -0
  107. package/dist/api/models/ReviewsTab.d.ts.map +1 -0
  108. package/dist/api/models/ReviewsTab.js +1 -0
  109. package/dist/api/models/SearchRequest.d.ts +28 -0
  110. package/dist/api/models/SearchRequest.d.ts.map +1 -0
  111. package/dist/api/models/SearchRequest.js +1 -0
  112. package/dist/api/models/SearchResponse.d.ts +13 -0
  113. package/dist/api/models/SearchResponse.d.ts.map +1 -0
  114. package/dist/api/models/SearchResponse.js +1 -0
  115. package/dist/api/models/SortParameter.d.ts +15 -0
  116. package/dist/api/models/SortParameter.d.ts.map +1 -0
  117. package/dist/api/models/SortParameter.js +1 -0
  118. package/dist/api/models/UpdateListingRequest.d.ts +80 -0
  119. package/dist/api/models/UpdateListingRequest.d.ts.map +1 -0
  120. package/dist/api/models/UpdateListingRequest.js +1 -0
  121. package/dist/api/models/User.d.ts +1 -1
  122. package/dist/api/models/User.d.ts.map +1 -1
  123. package/dist/api/models/UserPreview.d.ts +15 -0
  124. package/dist/api/models/UserPreview.d.ts.map +1 -0
  125. package/dist/api/models/UserPreview.js +1 -0
  126. package/dist/api/services/AuctionsService.d.ts +25 -0
  127. package/dist/api/services/AuctionsService.d.ts.map +1 -0
  128. package/dist/api/services/AuctionsService.js +47 -0
  129. package/dist/api/services/DashboardService.d.ts +37 -0
  130. package/dist/api/services/DashboardService.d.ts.map +1 -0
  131. package/dist/api/services/DashboardService.js +79 -0
  132. package/dist/api/services/ListingService.d.ts +93 -0
  133. package/dist/api/services/ListingService.d.ts.map +1 -0
  134. package/dist/api/services/ListingService.js +196 -0
  135. package/dist/api/services/ProfileService.d.ts +74 -0
  136. package/dist/api/services/ProfileService.d.ts.map +1 -0
  137. package/dist/api/services/ProfileService.js +149 -0
  138. package/dist/stores/auth.d.ts +8 -14
  139. package/dist/stores/auth.d.ts.map +1 -1
  140. package/dist/stores/auth.js +32 -7
  141. package/dist/utils/index.d.ts +2 -2
  142. package/dist/utils/index.d.ts.map +1 -1
  143. package/dist/utils/index.js +1 -1
  144. package/dist/utils/validation/schemas.d.ts +58 -5
  145. package/dist/utils/validation/schemas.d.ts.map +1 -1
  146. package/dist/utils/validation/schemas.js +41 -0
  147. package/package.json +4 -3
  148. package/dist/api/models/Seller.d.ts +0 -11
  149. package/dist/api/models/Seller.d.ts.map +0 -1
  150. /package/dist/api/models/{Seller.js → Auction.js} +0 -0
@@ -2,18 +2,60 @@ 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 { Auction } from './models/Auction';
6
+ export type { AuctionDetails } from './models/AuctionDetails';
7
+ export type { AuctionExpiryResponse } from './models/AuctionExpiryResponse';
8
+ export { AuctionStatus } from './models/AuctionStatus';
9
+ export type { Bid } from './models/Bid';
10
+ export type { BidDetails } from './models/BidDetails';
11
+ export type { BidResponse } from './models/BidResponse';
12
+ export type { Body_place_bid_v1_auctions__listing_id__bid_post } from './models/Body_place_bid_v1_auctions__listing_id__bid_post';
13
+ export type { Body_process_expiry_v1_auctions_cron_expiry_post } from './models/Body_process_expiry_v1_auctions_cron_expiry_post';
5
14
  export type { CheckUniqueUsernameResponse } from './models/CheckUniqueUsernameResponse';
15
+ export type { CommentDetails } from './models/CommentDetails';
16
+ export type { CommentRequest } from './models/CommentRequest';
17
+ export type { CommentResponse } from './models/CommentResponse';
18
+ export type { CreateListingRequest } from './models/CreateListingRequest';
19
+ export type { EditProfileRequest } from './models/EditProfileRequest';
20
+ export type { FavoriteResponse } from './models/FavoriteResponse';
21
+ export type { FilterParameter } from './models/FilterParameter';
6
22
  export type { HomepageResponse } from './models/HomepageResponse';
7
23
  export type { HTTPValidationError } from './models/HTTPValidationError';
24
+ export type { Listing } from './models/Listing';
25
+ export { ListingBoxCondition } from './models/ListingBoxCondition';
8
26
  export type { ListingCard } from './models/ListingCard';
27
+ export { ListingCategory } from './models/ListingCategory';
28
+ export type { ListingDetails } from './models/ListingDetails';
29
+ export type { ListingDetailsResponse } from './models/ListingDetailsResponse';
30
+ export type { ListingResponse } from './models/ListingResponse';
31
+ export type { ListingSearchRequest } from './models/ListingSearchRequest';
32
+ export { ListingSortField } from './models/ListingSortField';
33
+ export { ListingStatus } from './models/ListingStatus';
34
+ export type { ListingTab } from './models/ListingTab';
9
35
  export { ListingType } from './models/ListingType';
10
36
  export type { LoginResponse } from './models/LoginResponse';
11
37
  export type { OnboardRequest } from './models/OnboardRequest';
12
38
  export type { OnboardResponse } from './models/OnboardResponse';
13
- export type { Seller } from './models/Seller';
39
+ export type { PaginationDetails } from './models/PaginationDetails';
40
+ export type { ProfileDetails } from './models/ProfileDetails';
41
+ export type { ProfileResponse } from './models/ProfileResponse';
42
+ export { ProfileTab } from './models/ProfileTab';
43
+ export type { ReviewDetails } from './models/ReviewDetails';
44
+ export type { ReviewSearchRequest } from './models/ReviewSearchRequest';
45
+ export { ReviewSortField } from './models/ReviewSortField';
46
+ export type { ReviewsTab } from './models/ReviewsTab';
47
+ export type { SearchRequest } from './models/SearchRequest';
48
+ export type { SearchResponse } from './models/SearchResponse';
49
+ export type { SortParameter } from './models/SortParameter';
50
+ export type { UpdateListingRequest } from './models/UpdateListingRequest';
14
51
  export type { User } from './models/User';
52
+ export type { UserPreview } from './models/UserPreview';
15
53
  export type { ValidationError } from './models/ValidationError';
54
+ export { AuctionsService } from './services/AuctionsService';
16
55
  export { AuthService } from './services/AuthService';
56
+ export { DashboardService } from './services/DashboardService';
17
57
  export { DefaultService } from './services/DefaultService';
18
58
  export { HomepageService } from './services/HomepageService';
59
+ export { ListingService } from './services/ListingService';
60
+ export { ProfileService } from './services/ProfileService';
19
61
  //# 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,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"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"}
package/dist/api/index.js CHANGED
@@ -5,7 +5,18 @@
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 { ListingBoxCondition } from './models/ListingBoxCondition';
10
+ export { ListingCategory } from './models/ListingCategory';
11
+ export { ListingSortField } from './models/ListingSortField';
12
+ export { ListingStatus } from './models/ListingStatus';
8
13
  export { ListingType } from './models/ListingType';
14
+ export { ProfileTab } from './models/ProfileTab';
15
+ export { ReviewSortField } from './models/ReviewSortField';
16
+ export { AuctionsService } from './services/AuctionsService';
9
17
  export { AuthService } from './services/AuthService';
18
+ export { DashboardService } from './services/DashboardService';
10
19
  export { DefaultService } from './services/DefaultService';
11
20
  export { HomepageService } from './services/HomepageService';
21
+ export { ListingService } from './services/ListingService';
22
+ export { ProfileService } from './services/ProfileService';
@@ -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,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,14 @@
1
+ /**
2
+ * Response model for processing auction expiry
3
+ */
4
+ export type AuctionExpiryResponse = {
5
+ /**
6
+ * Unique id of the processed auction
7
+ */
8
+ id: string;
9
+ /**
10
+ * The status of the auction after being processed
11
+ */
12
+ status: string;
13
+ };
14
+ //# sourceMappingURL=AuctionExpiryResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuctionExpiryResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/AuctionExpiryResponse.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB,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,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,7 @@
1
+ export type Body_place_bid_v1_auctions__listing_id__bid_post = {
2
+ /**
3
+ * Amount of the bid
4
+ */
5
+ amount: number;
6
+ };
7
+ //# sourceMappingURL=Body_place_bid_v1_auctions__listing_id__bid_post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Body_place_bid_v1_auctions__listing_id__bid_post.d.ts","sourceRoot":"","sources":["../../../src/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,gDAAgD,GAAG;IAC3D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type Body_process_expiry_v1_auctions_cron_expiry_post = {
2
+ /**
3
+ * List of auction IDs to process
4
+ */
5
+ auction_ids: Array<string>;
6
+ };
7
+ //# sourceMappingURL=Body_process_expiry_v1_auctions_cron_expiry_post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Body_process_expiry_v1_auctions_cron_expiry_post.d.ts","sourceRoot":"","sources":["../../../src/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,gDAAgD,GAAG;IAC3D;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC"}
@@ -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,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;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,31 @@
1
+ export type EditProfileRequest = {
2
+ /**
3
+ * Username of the user
4
+ */
5
+ username?: (string | null);
6
+ /**
7
+ * First name of the user
8
+ */
9
+ first_name?: (string | null);
10
+ /**
11
+ * Last name of the user
12
+ */
13
+ last_name?: (string | null);
14
+ /**
15
+ * URL to the user's profile picture
16
+ */
17
+ profile_image_url?: (string | null);
18
+ /**
19
+ * URL to the user's cover image
20
+ */
21
+ cover_image_url?: (string | null);
22
+ /**
23
+ * Short biography of the user
24
+ */
25
+ bio?: (string | null);
26
+ /**
27
+ * Location of the user
28
+ */
29
+ location?: (string | null);
30
+ };
31
+ //# sourceMappingURL=EditProfileRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditProfileRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/EditProfileRequest.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAClC;;OAEG;IACH,GAAG,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC9B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Response model for the favorite listing operation.
3
+ */
4
+ export type FavoriteResponse = {
5
+ /**
6
+ * Updated count of favorites for the listing
7
+ */
8
+ favorites_count: number;
9
+ /**
10
+ * Indicates whether the listing is favorited by the user
11
+ */
12
+ is_favorited: boolean;
13
+ };
14
+ //# sourceMappingURL=FavoriteResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FavoriteResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/FavoriteResponse.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;CACzB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,41 @@
1
+ import type { ListingBoxCondition } from './ListingBoxCondition';
2
+ import type { ListingCategory } from './ListingCategory';
3
+ import type { ListingType } from './ListingType';
4
+ /**
5
+ * Model representing filter parameters for search queries.
6
+ */
7
+ export type FilterParameter = {
8
+ /**
9
+ * List of listing types to filter by
10
+ */
11
+ listing_types?: (Array<ListingType> | null);
12
+ /**
13
+ * List of categories to filter by
14
+ */
15
+ categories?: (Array<ListingCategory> | null);
16
+ /**
17
+ * Minimum price to filter by
18
+ */
19
+ min_price?: (number | null);
20
+ /**
21
+ * Maximum price to filter by
22
+ */
23
+ max_price?: (number | null);
24
+ /**
25
+ * Minimum purchase year to filter by
26
+ */
27
+ min_purchase_year?: (number | null);
28
+ /**
29
+ * Maximum purchase year to filter by
30
+ */
31
+ max_purchase_year?: (number | null);
32
+ /**
33
+ * List of box conditions to filter by
34
+ */
35
+ box_conditions?: (Array<ListingBoxCondition> | null);
36
+ /**
37
+ * List of seller IDs to filter by
38
+ */
39
+ seller_ids?: (Array<string> | null);
40
+ };
41
+ //# sourceMappingURL=FilterParameter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterParameter.d.ts","sourceRoot":"","sources":["../../../src/api/models/FilterParameter.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,eAAe,GAAG;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC;IACrD;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;CACvC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { ListingBoxCondition } from './ListingBoxCondition';
2
+ import type { ListingCategory } from './ListingCategory';
3
+ import type { ListingStatus } from './ListingStatus';
4
+ import type { ListingType } from './ListingType';
5
+ export type Listing = {
6
+ id: string;
7
+ seller_id: string;
8
+ listing_type: ListingType;
9
+ name: string;
10
+ brand: string;
11
+ description: string;
12
+ category: ListingCategory;
13
+ price: number;
14
+ volume: number;
15
+ remaining_percentage: number;
16
+ quantity: number;
17
+ purchase_year: number;
18
+ box_condition: ListingBoxCondition;
19
+ batch_code?: (string | null);
20
+ status?: ListingStatus;
21
+ is_featured?: boolean;
22
+ image_urls?: Array<string>;
23
+ favorites_count?: number;
24
+ };
25
+ //# sourceMappingURL=Listing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Listing.d.ts","sourceRoot":"","sources":["../../../src/api/models/Listing.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,OAAO,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,WAAW,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,mBAAmB,CAAC;IACnC,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC"}