@bid-scents/shared-sdk 1.0.5 → 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 (99) hide show
  1. package/README.md +1 -1
  2. package/dist/api/index.d.ts +26 -3
  3. package/dist/api/index.d.ts.map +1 -1
  4. package/dist/api/index.js +6 -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/BidRequest.d.ts +10 -0
  8. package/dist/api/models/BidRequest.d.ts.map +1 -0
  9. package/dist/api/models/ConversationResponse.d.ts +30 -0
  10. package/dist/api/models/ConversationResponse.d.ts.map +1 -0
  11. package/dist/api/models/ConversationSummary.d.ts +34 -0
  12. package/dist/api/models/ConversationSummary.d.ts.map +1 -0
  13. package/dist/api/models/ConversationSummary.js +1 -0
  14. package/dist/api/models/ConversationType.d.ts +6 -0
  15. package/dist/api/models/ConversationType.d.ts.map +1 -0
  16. package/dist/api/models/ConversationType.js +10 -0
  17. package/dist/api/models/ErrorResData.d.ts +12 -0
  18. package/dist/api/models/ErrorResData.d.ts.map +1 -0
  19. package/dist/api/models/ErrorResData.js +1 -0
  20. package/dist/api/models/FileContent.d.ts +19 -0
  21. package/dist/api/models/FileContent.d.ts.map +1 -0
  22. package/dist/api/models/FileContent.js +1 -0
  23. package/dist/api/models/ListingPreview.d.ts +7 -0
  24. package/dist/api/models/ListingPreview.d.ts.map +1 -0
  25. package/dist/api/models/ListingPreview.js +1 -0
  26. package/dist/api/models/Message.d.ts +28 -0
  27. package/dist/api/models/Message.d.ts.map +1 -0
  28. package/dist/api/models/Message.js +1 -0
  29. package/dist/api/models/MessageActionType.d.ts +5 -0
  30. package/dist/api/models/MessageActionType.d.ts.map +1 -0
  31. package/dist/api/models/MessageActionType.js +9 -0
  32. package/dist/api/models/MessageReqData.d.ts +19 -0
  33. package/dist/api/models/MessageReqData.d.ts.map +1 -0
  34. package/dist/api/models/MessageReqData.js +1 -0
  35. package/dist/api/models/MessageResData.d.ts +32 -0
  36. package/dist/api/models/MessageResData.d.ts.map +1 -0
  37. package/dist/api/models/MessageResData.js +1 -0
  38. package/dist/api/models/MessageType.d.ts +7 -0
  39. package/dist/api/models/MessageType.d.ts.map +1 -0
  40. package/dist/api/models/MessageType.js +11 -0
  41. package/dist/api/models/MessagesSummary.d.ts +12 -0
  42. package/dist/api/models/MessagesSummary.d.ts.map +1 -0
  43. package/dist/api/models/MessagesSummary.js +1 -0
  44. package/dist/api/models/Participant.d.ts +12 -0
  45. package/dist/api/models/Participant.d.ts.map +1 -0
  46. package/dist/api/models/Participant.js +1 -0
  47. package/dist/api/models/RichActionContent.d.ts +13 -0
  48. package/dist/api/models/RichActionContent.d.ts.map +1 -0
  49. package/dist/api/models/RichActionContent.js +1 -0
  50. package/dist/api/models/RichTextContent.d.ts +12 -0
  51. package/dist/api/models/RichTextContent.d.ts.map +1 -0
  52. package/dist/api/models/RichTextContent.js +1 -0
  53. package/dist/api/models/TextContent.d.ts +11 -0
  54. package/dist/api/models/TextContent.d.ts.map +1 -0
  55. package/dist/api/models/TextContent.js +1 -0
  56. package/dist/api/models/TypingReqData.d.ts +11 -0
  57. package/dist/api/models/TypingReqData.d.ts.map +1 -0
  58. package/dist/api/models/TypingReqData.js +1 -0
  59. package/dist/api/models/TypingResData.d.ts +16 -0
  60. package/dist/api/models/TypingResData.d.ts.map +1 -0
  61. package/dist/api/models/TypingResData.js +1 -0
  62. package/dist/api/models/UpdateLastReadData.d.ts +15 -0
  63. package/dist/api/models/UpdateLastReadData.d.ts.map +1 -0
  64. package/dist/api/models/UpdateLastReadData.js +1 -0
  65. package/dist/api/models/UserPreview.d.ts +0 -9
  66. package/dist/api/models/UserPreview.d.ts.map +1 -1
  67. package/dist/api/models/WSErrorCode.d.ts +9 -0
  68. package/dist/api/models/WSErrorCode.d.ts.map +1 -0
  69. package/dist/api/models/WSErrorCode.js +13 -0
  70. package/dist/api/models/WSMessageRequest.d.ts +14 -0
  71. package/dist/api/models/WSMessageRequest.d.ts.map +1 -0
  72. package/dist/api/models/WSMessageRequest.js +1 -0
  73. package/dist/api/models/WSMessageResponse.d.ts +16 -0
  74. package/dist/api/models/WSMessageResponse.d.ts.map +1 -0
  75. package/dist/api/models/WSMessageResponse.js +1 -0
  76. package/dist/api/models/WSType.d.ts +10 -0
  77. package/dist/api/models/WSType.d.ts.map +1 -0
  78. package/dist/api/models/WSType.js +14 -0
  79. package/dist/api/services/AuctionsService.d.ts +2 -12
  80. package/dist/api/services/AuctionsService.d.ts.map +1 -1
  81. package/dist/api/services/AuctionsService.js +0 -21
  82. package/dist/api/services/AuthService.d.ts +1 -1
  83. package/dist/api/services/AuthService.js +1 -1
  84. package/dist/api/services/MessageService.d.ts +65 -0
  85. package/dist/api/services/MessageService.d.ts.map +1 -0
  86. package/dist/api/services/MessageService.js +128 -0
  87. package/dist/utils/validation/create-listing-schema.d.ts +391 -0
  88. package/dist/utils/validation/create-listing-schema.d.ts.map +1 -0
  89. package/dist/utils/validation/create-listing-schema.js +125 -0
  90. package/package.json +1 -1
  91. package/dist/api/models/AuctionExpiryResponse.d.ts +0 -14
  92. package/dist/api/models/AuctionExpiryResponse.d.ts.map +0 -1
  93. package/dist/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.d.ts +0 -7
  94. package/dist/api/models/Body_place_bid_v1_auctions__listing_id__bid_post.d.ts.map +0 -1
  95. package/dist/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.d.ts +0 -7
  96. package/dist/api/models/Body_process_expiry_v1_auctions_cron_expiry_post.d.ts.map +0 -1
  97. /package/dist/api/models/{AuctionExpiryResponse.js → ActionContent.js} +0 -0
  98. /package/dist/api/models/{Body_place_bid_v1_auctions__listing_id__bid_post.js → BidRequest.js} +0 -0
  99. /package/dist/api/models/{Body_process_expiry_v1_auctions_cron_expiry_post.js → ConversationResponse.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,22 +2,26 @@ 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';
5
6
  export type { Auction } from './models/Auction';
6
7
  export type { AuctionDetails } from './models/AuctionDetails';
7
- export type { AuctionExpiryResponse } from './models/AuctionExpiryResponse';
8
8
  export { AuctionStatus } from './models/AuctionStatus';
9
9
  export type { Bid } from './models/Bid';
10
10
  export type { BidDetails } from './models/BidDetails';
11
+ export type { BidRequest } from './models/BidRequest';
11
12
  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';
14
13
  export type { CheckUniqueUsernameResponse } from './models/CheckUniqueUsernameResponse';
15
14
  export type { CommentDetails } from './models/CommentDetails';
16
15
  export type { CommentRequest } from './models/CommentRequest';
17
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';
18
20
  export type { CreateListingRequest } from './models/CreateListingRequest';
19
21
  export type { EditProfileRequest } from './models/EditProfileRequest';
22
+ export type { ErrorResData } from './models/ErrorResData';
20
23
  export type { FavoriteResponse } from './models/FavoriteResponse';
24
+ export type { FileContent } from './models/FileContent';
21
25
  export type { FilterParameter } from './models/FilterParameter';
22
26
  export type { HomepageResponse } from './models/HomepageResponse';
23
27
  export type { HTTPValidationError } from './models/HTTPValidationError';
@@ -27,6 +31,7 @@ export type { ListingCard } from './models/ListingCard';
27
31
  export { ListingCategory } from './models/ListingCategory';
28
32
  export type { ListingDetails } from './models/ListingDetails';
29
33
  export type { ListingDetailsResponse } from './models/ListingDetailsResponse';
34
+ export type { ListingPreview } from './models/ListingPreview';
30
35
  export type { ListingResponse } from './models/ListingResponse';
31
36
  export type { ListingSearchRequest } from './models/ListingSearchRequest';
32
37
  export { ListingSortField } from './models/ListingSortField';
@@ -34,9 +39,16 @@ export { ListingStatus } from './models/ListingStatus';
34
39
  export type { ListingTab } from './models/ListingTab';
35
40
  export { ListingType } from './models/ListingType';
36
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';
37
48
  export type { OnboardRequest } from './models/OnboardRequest';
38
49
  export type { OnboardResponse } from './models/OnboardResponse';
39
50
  export type { PaginationDetails } from './models/PaginationDetails';
51
+ export type { Participant } from './models/Participant';
40
52
  export type { ProfileDetails } from './models/ProfileDetails';
41
53
  export type { ProfileResponse } from './models/ProfileResponse';
42
54
  export { ProfileTab } from './models/ProfileTab';
@@ -44,18 +56,29 @@ export type { ReviewDetails } from './models/ReviewDetails';
44
56
  export type { ReviewSearchRequest } from './models/ReviewSearchRequest';
45
57
  export { ReviewSortField } from './models/ReviewSortField';
46
58
  export type { ReviewsTab } from './models/ReviewsTab';
59
+ export type { RichActionContent } from './models/RichActionContent';
60
+ export type { RichTextContent } from './models/RichTextContent';
47
61
  export type { SearchRequest } from './models/SearchRequest';
48
62
  export type { SearchResponse } from './models/SearchResponse';
49
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';
50
68
  export type { UpdateListingRequest } from './models/UpdateListingRequest';
51
69
  export type { User } from './models/User';
52
70
  export type { UserPreview } from './models/UserPreview';
53
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';
54
76
  export { AuctionsService } from './services/AuctionsService';
55
77
  export { AuthService } from './services/AuthService';
56
78
  export { DashboardService } from './services/DashboardService';
57
79
  export { DefaultService } from './services/DefaultService';
58
80
  export { HomepageService } from './services/HomepageService';
59
81
  export { ListingService } from './services/ListingService';
82
+ export { MessageService } from './services/MessageService';
60
83
  export { ProfileService } from './services/ProfileService';
61
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,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,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,WAAW,EAAE,M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C;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
@@ -6,17 +6,23 @@ export { ApiError } from './core/ApiError';
6
6
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
7
7
  export { OpenAPI } from './core/OpenAPI';
8
8
  export { AuctionStatus } from './models/AuctionStatus';
9
+ export { ConversationType } from './models/ConversationType';
9
10
  export { ListingBoxCondition } from './models/ListingBoxCondition';
10
11
  export { ListingCategory } from './models/ListingCategory';
11
12
  export { ListingSortField } from './models/ListingSortField';
12
13
  export { ListingStatus } from './models/ListingStatus';
13
14
  export { ListingType } from './models/ListingType';
15
+ export { MessageActionType } from './models/MessageActionType';
16
+ export { MessageType } from './models/MessageType';
14
17
  export { ProfileTab } from './models/ProfileTab';
15
18
  export { ReviewSortField } from './models/ReviewSortField';
19
+ export { WSErrorCode } from './models/WSErrorCode';
20
+ export { WSType } from './models/WSType';
16
21
  export { AuctionsService } from './services/AuctionsService';
17
22
  export { AuthService } from './services/AuthService';
18
23
  export { DashboardService } from './services/DashboardService';
19
24
  export { DefaultService } from './services/DefaultService';
20
25
  export { HomepageService } from './services/HomepageService';
21
26
  export { ListingService } from './services/ListingService';
27
+ export { MessageService } from './services/MessageService';
22
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,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,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,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,12 @@
1
+ import type { WSErrorCode } from './WSErrorCode';
2
+ export type ErrorResData = {
3
+ /**
4
+ * Error code
5
+ */
6
+ code: WSErrorCode;
7
+ /**
8
+ * Error message
9
+ */
10
+ message: string;
11
+ };
12
+ //# sourceMappingURL=ErrorResData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorResData.d.ts","sourceRoot":"","sources":["../../../src/api/models/ErrorResData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,YAAY,GAAG;IACvB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ export type FileContent = {
2
+ /**
3
+ * URL of the file
4
+ */
5
+ file_url: string;
6
+ /**
7
+ * Name of the file
8
+ */
9
+ file_name: string;
10
+ /**
11
+ * MIME type of the file
12
+ */
13
+ file_type: string;
14
+ /**
15
+ * Caption for the file, if any
16
+ */
17
+ caption?: (string | null);
18
+ };
19
+ //# sourceMappingURL=FileContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/FileContent.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export type ListingPreview = {
2
+ id: string;
3
+ name: string;
4
+ price: number;
5
+ image_url?: (string | null);
6
+ };
7
+ //# sourceMappingURL=ListingPreview.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,28 @@
1
+ import type { FileContent } from './FileContent';
2
+ import type { MessageType } from './MessageType';
3
+ import type { RichActionContent } from './RichActionContent';
4
+ import type { RichTextContent } from './RichTextContent';
5
+ import type { UserPreview } from './UserPreview';
6
+ export type Message = {
7
+ /**
8
+ * Unique identifier for the message
9
+ */
10
+ id: string;
11
+ /**
12
+ * Information about the user who sent the message
13
+ */
14
+ sender?: (UserPreview | null);
15
+ /**
16
+ * Type of the message
17
+ */
18
+ type: MessageType;
19
+ /**
20
+ * Content of the message
21
+ */
22
+ content: (RichTextContent | FileContent | RichActionContent);
23
+ /**
24
+ * Timestamp when the message was created, in ISO 8601 format
25
+ */
26
+ created_at: string;
27
+ };
28
+ //# sourceMappingURL=Message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/api/models/Message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,OAAO,GAAG;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,CAAC,eAAe,GAAG,WAAW,GAAG,iBAAiB,CAAC,CAAC;IAC7D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum MessageActionType {
2
+ INITIATE_TRANSACTION = "INITIATE_TRANSACTION",
3
+ CONFIRM_RECEIPT = "CONFIRM_RECEIPT"
4
+ }
5
+ //# sourceMappingURL=MessageActionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageActionType.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageActionType.ts"],"names":[],"mappings":"AAIA,oBAAY,iBAAiB;IACzB,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;CACtC"}
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var MessageActionType;
6
+ (function (MessageActionType) {
7
+ MessageActionType["INITIATE_TRANSACTION"] = "INITIATE_TRANSACTION";
8
+ MessageActionType["CONFIRM_RECEIPT"] = "CONFIRM_RECEIPT";
9
+ })(MessageActionType || (MessageActionType = {}));
@@ -0,0 +1,19 @@
1
+ import type { ActionContent } from './ActionContent';
2
+ import type { FileContent } from './FileContent';
3
+ import type { MessageType } from './MessageType';
4
+ import type { TextContent } from './TextContent';
5
+ export type MessageReqData = {
6
+ /**
7
+ * ID of the conversation
8
+ */
9
+ conversation_id: string;
10
+ /**
11
+ * Type of the message content
12
+ */
13
+ content_type: MessageType;
14
+ /**
15
+ * Content of the message
16
+ */
17
+ content: (TextContent | FileContent | ActionContent);
18
+ };
19
+ //# sourceMappingURL=MessageReqData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageReqData.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageReqData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,CAAC,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC,CAAC;CACxD,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { FileContent } from './FileContent';
2
+ import type { MessageType } from './MessageType';
3
+ import type { RichActionContent } from './RichActionContent';
4
+ import type { RichTextContent } from './RichTextContent';
5
+ import type { UserPreview } from './UserPreview';
6
+ export type MessageResData = {
7
+ /**
8
+ * Unique identifier for the message
9
+ */
10
+ id: string;
11
+ /**
12
+ * ID of the conversation
13
+ */
14
+ conversation_id: string;
15
+ /**
16
+ * Type of the message content
17
+ */
18
+ content_type: MessageType;
19
+ /**
20
+ * Content of the message
21
+ */
22
+ content: (RichTextContent | FileContent | RichActionContent);
23
+ /**
24
+ * Information about the user who sent the message
25
+ */
26
+ sender: UserPreview;
27
+ /**
28
+ * Timestamp of when the message was sent, in ISO 8601 format
29
+ */
30
+ created_at: string;
31
+ };
32
+ //# sourceMappingURL=MessageResData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageResData.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageResData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,CAAC,eAAe,GAAG,WAAW,GAAG,iBAAiB,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare enum MessageType {
2
+ TEXT = "TEXT",
3
+ ACTION = "ACTION",
4
+ FILE = "FILE",
5
+ SYSTEM = "SYSTEM"
6
+ }
7
+ //# sourceMappingURL=MessageType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageType.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageType.ts"],"names":[],"mappings":"AAIA,oBAAY,WAAW;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CACpB"}
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export var MessageType;
6
+ (function (MessageType) {
7
+ MessageType["TEXT"] = "TEXT";
8
+ MessageType["ACTION"] = "ACTION";
9
+ MessageType["FILE"] = "FILE";
10
+ MessageType["SYSTEM"] = "SYSTEM";
11
+ })(MessageType || (MessageType = {}));
@@ -0,0 +1,12 @@
1
+ import type { ConversationSummary } from './ConversationSummary';
2
+ export type MessagesSummary = {
3
+ /**
4
+ * Total number of unread messages across all conversations
5
+ */
6
+ total_unread: number;
7
+ /**
8
+ * List of conversations with their summaries in order of recency
9
+ */
10
+ conversations: Array<ConversationSummary>;
11
+ };
12
+ //# sourceMappingURL=MessagesSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessagesSummary.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessagesSummary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CAC7C,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { UserPreview } from './UserPreview';
2
+ export type Participant = {
3
+ /**
4
+ * Preview of the participant's user information
5
+ */
6
+ user: UserPreview;
7
+ /**
8
+ * Timestamp when the participant last read the conversation, in ISO 8601 format
9
+ */
10
+ last_read_at?: (string | null);
11
+ };
12
+ //# sourceMappingURL=Participant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Participant.d.ts","sourceRoot":"","sources":["../../../src/api/models/Participant.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAClC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { ListingPreview } from './ListingPreview';
2
+ import type { MessageActionType } from './MessageActionType';
3
+ export type RichActionContent = {
4
+ /**
5
+ * Type of the action
6
+ */
7
+ action_type: MessageActionType;
8
+ /**
9
+ * Listing associated with the action
10
+ */
11
+ listing?: (ListingPreview | null);
12
+ };
13
+ //# sourceMappingURL=RichActionContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichActionContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/RichActionContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,iBAAiB,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACrC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { ListingPreview } from './ListingPreview';
2
+ export type RichTextContent = {
3
+ /**
4
+ * Rich text content of the message
5
+ */
6
+ text: string;
7
+ /**
8
+ * Listing associated with the message if applicable
9
+ */
10
+ listing?: (ListingPreview | null);
11
+ };
12
+ //# sourceMappingURL=RichTextContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/RichTextContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACrC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export type TextContent = {
2
+ /**
3
+ * Text content of the message
4
+ */
5
+ text: string;
6
+ /**
7
+ * ID of the listing associated with the message if applicable
8
+ */
9
+ listing_id?: (string | null);
10
+ };
11
+ //# sourceMappingURL=TextContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/TextContent.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAChC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export type TypingReqData = {
2
+ /**
3
+ * ID of the conversation
4
+ */
5
+ conversation_id: string;
6
+ /**
7
+ * Indicates if the user is typing or stopped typing
8
+ */
9
+ is_typing: boolean;
10
+ };
11
+ //# sourceMappingURL=TypingReqData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypingReqData.d.ts","sourceRoot":"","sources":["../../../src/api/models/TypingReqData.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};