@bid-scents/shared-sdk 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.ts +9 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/models/ActiveListingsResponse.d.ts +16 -0
- package/dist/api/models/ActiveListingsResponse.d.ts.map +1 -0
- package/dist/api/models/ActiveListingsResponse.js +1 -0
- package/dist/api/models/BuyerTransactionData.d.ts +14 -0
- package/dist/api/models/BuyerTransactionData.d.ts.map +1 -0
- package/dist/api/models/BuyerTransactionData.js +1 -0
- package/dist/api/models/FeaturedListingsResponse.d.ts +16 -0
- package/dist/api/models/FeaturedListingsResponse.d.ts.map +1 -0
- package/dist/api/models/FeaturedListingsResponse.js +1 -0
- package/dist/api/models/ListingPreviewWithTimestamp.d.ts +30 -0
- package/dist/api/models/ListingPreviewWithTimestamp.d.ts.map +1 -0
- package/dist/api/models/ListingPreviewWithTimestamp.js +1 -0
- package/dist/api/models/OrderResponse.d.ts +11 -0
- package/dist/api/models/OrderResponse.d.ts.map +1 -0
- package/dist/api/models/OrderResponse.js +1 -0
- package/dist/api/models/SellerTransactionData.d.ts +16 -0
- package/dist/api/models/SellerTransactionData.d.ts.map +1 -0
- package/dist/api/models/SellerTransactionData.js +1 -0
- package/dist/api/models/TransactionResponse.d.ts +19 -0
- package/dist/api/models/TransactionResponse.d.ts.map +1 -0
- package/dist/api/models/TransactionResponse.js +1 -0
- package/dist/api/models/TransactionStatus.d.ts +6 -0
- package/dist/api/models/TransactionStatus.d.ts.map +1 -0
- package/dist/api/models/TransactionStatus.js +10 -0
- package/dist/api/services/DashboardService.d.ts +30 -0
- package/dist/api/services/DashboardService.d.ts.map +1 -1
- package/dist/api/services/DashboardService.js +63 -0
- package/dist/api/services/NotificationsService.js +1 -1
- package/dist/api/services/OrdersService.d.ts +15 -0
- package/dist/api/services/OrdersService.d.ts.map +1 -0
- package/dist/api/services/OrdersService.js +29 -0
- package/dist/api/services/ProfileService.js +2 -2
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ 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 { ActiveListingsResponse } from './models/ActiveListingsResponse';
|
|
5
6
|
export type { AddTokenRequest } from './models/AddTokenRequest';
|
|
6
7
|
export type { Auction } from './models/Auction';
|
|
7
8
|
export type { AuctionDetails } from './models/AuctionDetails';
|
|
@@ -15,6 +16,7 @@ export type { BidResponse } from './models/BidResponse';
|
|
|
15
16
|
export type { Boost } from './models/Boost';
|
|
16
17
|
export type { BoostRequest } from './models/BoostRequest';
|
|
17
18
|
export { BoostType } from './models/BoostType';
|
|
19
|
+
export type { BuyerTransactionData } from './models/BuyerTransactionData';
|
|
18
20
|
export type { CheckUniqueUsernameResponse } from './models/CheckUniqueUsernameResponse';
|
|
19
21
|
export type { CommentContent } from './models/CommentContent';
|
|
20
22
|
export type { CommentDetails } from './models/CommentDetails';
|
|
@@ -29,6 +31,7 @@ export type { EditPreferencesRequest } from './models/EditPreferencesRequest';
|
|
|
29
31
|
export type { EditProfileRequest } from './models/EditProfileRequest';
|
|
30
32
|
export type { ErrorResData } from './models/ErrorResData';
|
|
31
33
|
export type { FavoriteResponse } from './models/FavoriteResponse';
|
|
34
|
+
export type { FeaturedListingsResponse } from './models/FeaturedListingsResponse';
|
|
32
35
|
export type { FileContent } from './models/FileContent';
|
|
33
36
|
export type { FilterParameter } from './models/FilterParameter';
|
|
34
37
|
export type { FollowedSellerListingContent } from './models/FollowedSellerListingContent';
|
|
@@ -44,6 +47,7 @@ export type { ListingContent } from './models/ListingContent';
|
|
|
44
47
|
export type { ListingDetails } from './models/ListingDetails';
|
|
45
48
|
export type { ListingDetailsResponse } from './models/ListingDetailsResponse';
|
|
46
49
|
export type { ListingPreview } from './models/ListingPreview';
|
|
50
|
+
export type { ListingPreviewWithTimestamp } from './models/ListingPreviewWithTimestamp';
|
|
47
51
|
export type { ListingResponse } from './models/ListingResponse';
|
|
48
52
|
export type { ListingSearchRequest } from './models/ListingSearchRequest';
|
|
49
53
|
export { ListingSortField } from './models/ListingSortField';
|
|
@@ -63,6 +67,7 @@ export type { NotificationResponse } from './models/NotificationResponse';
|
|
|
63
67
|
export { NotificationType } from './models/NotificationType';
|
|
64
68
|
export type { OnboardRequest } from './models/OnboardRequest';
|
|
65
69
|
export type { OnboardResponse } from './models/OnboardResponse';
|
|
70
|
+
export type { OrderResponse } from './models/OrderResponse';
|
|
66
71
|
export type { OutbidContent } from './models/OutbidContent';
|
|
67
72
|
export type { PaginationDetails } from './models/PaginationDetails';
|
|
68
73
|
export type { Participant } from './models/Participant';
|
|
@@ -88,10 +93,13 @@ export type { RichTextContent } from './models/RichTextContent';
|
|
|
88
93
|
export type { SearchRequest } from './models/SearchRequest';
|
|
89
94
|
export type { SearchResponse } from './models/SearchResponse';
|
|
90
95
|
export type { SellersYouFollowResponse } from './models/SellersYouFollowResponse';
|
|
96
|
+
export type { SellerTransactionData } from './models/SellerTransactionData';
|
|
91
97
|
export type { SortParameter } from './models/SortParameter';
|
|
92
98
|
export type { SubscriptionRequest } from './models/SubscriptionRequest';
|
|
93
99
|
export type { TextContent } from './models/TextContent';
|
|
94
100
|
export type { TransactionRequest } from './models/TransactionRequest';
|
|
101
|
+
export type { TransactionResponse } from './models/TransactionResponse';
|
|
102
|
+
export { TransactionStatus } from './models/TransactionStatus';
|
|
95
103
|
export type { TypingReqData } from './models/TypingReqData';
|
|
96
104
|
export type { TypingResData } from './models/TypingResData';
|
|
97
105
|
export type { UpdateLastReadData } from './models/UpdateLastReadData';
|
|
@@ -114,6 +122,7 @@ export { HomepageService } from './services/HomepageService';
|
|
|
114
122
|
export { ListingService } from './services/ListingService';
|
|
115
123
|
export { MessageService } from './services/MessageService';
|
|
116
124
|
export { NotificationsService } from './services/NotificationsService';
|
|
125
|
+
export { OrdersService } from './services/OrdersService';
|
|
117
126
|
export { PaymentsService } from './services/PaymentsService';
|
|
118
127
|
export { ProfileService } from './services/ProfileService';
|
|
119
128
|
export { RedirectsService } from './services/RedirectsService';
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,YAAY,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,YAAY,EAAE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wB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/api/index.js
CHANGED
|
@@ -20,6 +20,7 @@ export { NotificationType } from './models/NotificationType';
|
|
|
20
20
|
export { PassType } from './models/PassType';
|
|
21
21
|
export { ProfileTab } from './models/ProfileTab';
|
|
22
22
|
export { ReviewSortField } from './models/ReviewSortField';
|
|
23
|
+
export { TransactionStatus } from './models/TransactionStatus';
|
|
23
24
|
export { WSErrorCode } from './models/WSErrorCode';
|
|
24
25
|
export { WSType } from './models/WSType';
|
|
25
26
|
export { AuctionsService } from './services/AuctionsService';
|
|
@@ -30,6 +31,7 @@ export { HomepageService } from './services/HomepageService';
|
|
|
30
31
|
export { ListingService } from './services/ListingService';
|
|
31
32
|
export { MessageService } from './services/MessageService';
|
|
32
33
|
export { NotificationsService } from './services/NotificationsService';
|
|
34
|
+
export { OrdersService } from './services/OrdersService';
|
|
33
35
|
export { PaymentsService } from './services/PaymentsService';
|
|
34
36
|
export { ProfileService } from './services/ProfileService';
|
|
35
37
|
export { RedirectsService } from './services/RedirectsService';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { PaginationDetails } from './PaginationDetails';
|
|
3
|
+
/**
|
|
4
|
+
* Response model for active listings in the dashboard.
|
|
5
|
+
*/
|
|
6
|
+
export type ActiveListingsResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* List of active listings for the user
|
|
9
|
+
*/
|
|
10
|
+
listings: Array<ListingPreview>;
|
|
11
|
+
/**
|
|
12
|
+
* Pagination details for the listings
|
|
13
|
+
*/
|
|
14
|
+
pagination_data: PaginationDetails;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ActiveListingsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActiveListingsResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/ActiveListingsResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,eAAe,EAAE,iBAAiB,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { TransactionStatus } from './TransactionStatus';
|
|
3
|
+
import type { UserPreview } from './UserPreview';
|
|
4
|
+
export type BuyerTransactionData = {
|
|
5
|
+
id: string;
|
|
6
|
+
listing: ListingPreview;
|
|
7
|
+
seller: (UserPreview | null);
|
|
8
|
+
quantity: number;
|
|
9
|
+
status: TransactionStatus;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
conversation_id: string;
|
|
12
|
+
price: number;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=BuyerTransactionData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuyerTransactionData.d.ts","sourceRoot":"","sources":["../../../src/api/models/BuyerTransactionData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ListingPreviewWithTimestamp } from './ListingPreviewWithTimestamp';
|
|
2
|
+
import type { PaginationDetails } from './PaginationDetails';
|
|
3
|
+
/**
|
|
4
|
+
* Response model for featured listings in the dashboard.
|
|
5
|
+
*/
|
|
6
|
+
export type FeaturedListingsResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* List of featured listings for the user
|
|
9
|
+
*/
|
|
10
|
+
listings: Array<ListingPreviewWithTimestamp>;
|
|
11
|
+
/**
|
|
12
|
+
* Pagination details for the listings
|
|
13
|
+
*/
|
|
14
|
+
pagination_data: PaginationDetails;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=FeaturedListingsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeaturedListingsResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/FeaturedListingsResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC7C;;OAEG;IACH,eAAe,EAAE,iBAAiB,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model for listing preview with featured_until timestamp.
|
|
3
|
+
*/
|
|
4
|
+
export type ListingPreviewWithTimestamp = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier for the listing
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier for the seller
|
|
11
|
+
*/
|
|
12
|
+
seller_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the listing
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Price of the listing
|
|
19
|
+
*/
|
|
20
|
+
price: number;
|
|
21
|
+
/**
|
|
22
|
+
* Main image URL for the listing
|
|
23
|
+
*/
|
|
24
|
+
image_url?: (string | null);
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp until which the listing is featured
|
|
27
|
+
*/
|
|
28
|
+
featured_until: string;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=ListingPreviewWithTimestamp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListingPreviewWithTimestamp.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingPreviewWithTimestamp.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BuyerTransactionData } from './BuyerTransactionData';
|
|
2
|
+
/**
|
|
3
|
+
* Response model for user transactions.
|
|
4
|
+
*/
|
|
5
|
+
export type OrderResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* List of user orders
|
|
8
|
+
*/
|
|
9
|
+
orders: Array<BuyerTransactionData>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=OrderResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/OrderResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { TransactionStatus } from './TransactionStatus';
|
|
3
|
+
import type { UserPreview } from './UserPreview';
|
|
4
|
+
export type SellerTransactionData = {
|
|
5
|
+
id: string;
|
|
6
|
+
listing: ListingPreview;
|
|
7
|
+
buyer: (UserPreview | null);
|
|
8
|
+
quantity: number;
|
|
9
|
+
status: TransactionStatus;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
conversation_id: string;
|
|
12
|
+
net_amount: number;
|
|
13
|
+
stripe_fee: number;
|
|
14
|
+
platform_fee: number;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=SellerTransactionData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SellerTransactionData.d.ts","sourceRoot":"","sources":["../../../src/api/models/SellerTransactionData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SellerTransactionData } from './SellerTransactionData';
|
|
2
|
+
/**
|
|
3
|
+
* Response model for user transactions.
|
|
4
|
+
*/
|
|
5
|
+
export type TransactionResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* List of user transactions
|
|
8
|
+
*/
|
|
9
|
+
transactions: Array<SellerTransactionData>;
|
|
10
|
+
/**
|
|
11
|
+
* Total revenue from the transactions
|
|
12
|
+
*/
|
|
13
|
+
total_revenue: number;
|
|
14
|
+
/**
|
|
15
|
+
* Total number of transactions
|
|
16
|
+
*/
|
|
17
|
+
transaction_count: number;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=TransactionResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/TransactionResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionStatus.d.ts","sourceRoot":"","sources":["../../../src/api/models/TransactionStatus.ts"],"names":[],"mappings":"AAIA,oBAAY,iBAAiB;IACzB,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,SAAS,cAAc;CAC1B"}
|
|
@@ -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 TransactionStatus;
|
|
6
|
+
(function (TransactionStatus) {
|
|
7
|
+
TransactionStatus["WAITING_DELIVERY"] = "WAITING_DELIVERY";
|
|
8
|
+
TransactionStatus["WAITING_REVIEW"] = "WAITING_REVIEW";
|
|
9
|
+
TransactionStatus["COMPLETED"] = "COMPLETED";
|
|
10
|
+
})(TransactionStatus || (TransactionStatus = {}));
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { ActiveListingsResponse } from '../models/ActiveListingsResponse';
|
|
1
2
|
import type { CreateListingRequest } from '../models/CreateListingRequest';
|
|
2
3
|
import type { DashboardAuctionResponse } from '../models/DashboardAuctionResponse';
|
|
4
|
+
import type { FeaturedListingsResponse } from '../models/FeaturedListingsResponse';
|
|
3
5
|
import type { ListingResponse } from '../models/ListingResponse';
|
|
4
6
|
import type { MessageResData } from '../models/MessageResData';
|
|
5
7
|
import type { SearchResponse } from '../models/SearchResponse';
|
|
8
|
+
import type { TransactionResponse } from '../models/TransactionResponse';
|
|
6
9
|
import type { UpdateListingRequest } from '../models/UpdateListingRequest';
|
|
7
10
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
11
|
export declare class DashboardService {
|
|
@@ -68,5 +71,32 @@ export declare class DashboardService {
|
|
|
68
71
|
* @throws ApiError
|
|
69
72
|
*/
|
|
70
73
|
static markNoResponseV1DashboardAuctionsListingIdNoResponsePost(listingId: string): CancelablePromise<DashboardAuctionResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Get Active Listings
|
|
76
|
+
* Get active listing for crud
|
|
77
|
+
* @param perPage
|
|
78
|
+
* @param page
|
|
79
|
+
* @returns ActiveListingsResponse Successful Response
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static getActiveListingsV1DashboardListingsActiveGet(perPage?: number, page?: number): CancelablePromise<ActiveListingsResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Get Featured Listings
|
|
85
|
+
* Get featured listings for user
|
|
86
|
+
* @param perPage
|
|
87
|
+
* @param page
|
|
88
|
+
* @returns FeaturedListingsResponse Successful Response
|
|
89
|
+
* @throws ApiError
|
|
90
|
+
*/
|
|
91
|
+
static getFeaturedListingsV1DashboardListingsFeaturedGet(perPage?: number, page?: number): CancelablePromise<FeaturedListingsResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Get User Transactions
|
|
94
|
+
* Get user transactions
|
|
95
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
96
|
+
* @param limit
|
|
97
|
+
* @returns TransactionResponse Successful Response
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static getUserTransactionsV1DashboardTransactionsGet(cursor?: string, limit?: number): CancelablePromise<TransactionResponse>;
|
|
71
101
|
}
|
|
72
102
|
//# sourceMappingURL=DashboardService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardService.d.ts","sourceRoot":"","sources":["../../../src/api/services/DashboardService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,gBAAgB;IACzB;;;;;OAKG;WACW,mCAAmC,CAC7C,WAAW,EAAE,oBAAoB,GAClC,iBAAiB,CAAC,eAAe,CAAC;IAWrC;;;;;;OAMG;WACW,6CAA6C,CACvD,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,oBAAoB,GAClC,iBAAiB,CAAC,eA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
* Get Active Listings
|
|
152
|
+
* Get active listing for crud
|
|
153
|
+
* @param perPage
|
|
154
|
+
* @param page
|
|
155
|
+
* @returns ActiveListingsResponse Successful Response
|
|
156
|
+
* @throws ApiError
|
|
157
|
+
*/
|
|
158
|
+
static getActiveListingsV1DashboardListingsActiveGet(perPage = 20, page = 1) {
|
|
159
|
+
return __request(OpenAPI, {
|
|
160
|
+
method: 'GET',
|
|
161
|
+
url: '/v1/dashboard/listings/active',
|
|
162
|
+
query: {
|
|
163
|
+
'per_page': perPage,
|
|
164
|
+
'page': page,
|
|
165
|
+
},
|
|
166
|
+
errors: {
|
|
167
|
+
422: `Validation Error`,
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Get Featured Listings
|
|
173
|
+
* Get featured listings for user
|
|
174
|
+
* @param perPage
|
|
175
|
+
* @param page
|
|
176
|
+
* @returns FeaturedListingsResponse Successful Response
|
|
177
|
+
* @throws ApiError
|
|
178
|
+
*/
|
|
179
|
+
static getFeaturedListingsV1DashboardListingsFeaturedGet(perPage = 20, page = 1) {
|
|
180
|
+
return __request(OpenAPI, {
|
|
181
|
+
method: 'GET',
|
|
182
|
+
url: '/v1/dashboard/listings/featured',
|
|
183
|
+
query: {
|
|
184
|
+
'per_page': perPage,
|
|
185
|
+
'page': page,
|
|
186
|
+
},
|
|
187
|
+
errors: {
|
|
188
|
+
422: `Validation Error`,
|
|
189
|
+
},
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Get User Transactions
|
|
194
|
+
* Get user transactions
|
|
195
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
196
|
+
* @param limit
|
|
197
|
+
* @returns TransactionResponse Successful Response
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static getUserTransactionsV1DashboardTransactionsGet(cursor = '2025-09-22T16:07:25.442712+00:00', limit = 20) {
|
|
201
|
+
return __request(OpenAPI, {
|
|
202
|
+
method: 'GET',
|
|
203
|
+
url: '/v1/dashboard/transactions',
|
|
204
|
+
query: {
|
|
205
|
+
'cursor': cursor,
|
|
206
|
+
'limit': limit,
|
|
207
|
+
},
|
|
208
|
+
errors: {
|
|
209
|
+
422: `Validation Error`,
|
|
210
|
+
},
|
|
211
|
+
});
|
|
212
|
+
}
|
|
150
213
|
}
|
|
@@ -69,7 +69,7 @@ export class NotificationsService {
|
|
|
69
69
|
* @returns NotificationResponse Successful Response
|
|
70
70
|
* @throws ApiError
|
|
71
71
|
*/
|
|
72
|
-
static getNotificationsV1NotificationsGet(cursor = '2025-09-
|
|
72
|
+
static getNotificationsV1NotificationsGet(cursor = '2025-09-22T16:07:25.450912+00:00', limit = 20) {
|
|
73
73
|
return __request(OpenAPI, {
|
|
74
74
|
method: 'GET',
|
|
75
75
|
url: '/v1/notifications/',
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { OrderResponse } from '../models/OrderResponse';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class OrdersService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Orders
|
|
6
|
+
* Get user orders
|
|
7
|
+
* @param status
|
|
8
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
9
|
+
* @param limit
|
|
10
|
+
* @returns OrderResponse Successful Response
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getOrdersV1OrdersStatusGet(status: string, cursor?: string, limit?: number): CancelablePromise<OrderResponse>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=OrdersService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrdersService.d.ts","sourceRoot":"","sources":["../../../src/api/services/OrdersService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,aAAa;IACtB;;;;;;;;OAQG;WACW,0BAA0B,CACpC,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,MAA2C,EACnD,KAAK,GAAE,MAAW,GACnB,iBAAiB,CAAC,aAAa,CAAC;CAgBtC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class OrdersService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Orders
|
|
6
|
+
* Get user orders
|
|
7
|
+
* @param status
|
|
8
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
9
|
+
* @param limit
|
|
10
|
+
* @returns OrderResponse Successful Response
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getOrdersV1OrdersStatusGet(status, cursor = '2025-09-22T16:07:25.462592+00:00', limit = 20) {
|
|
14
|
+
return __request(OpenAPI, {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
url: '/v1/orders/{status}',
|
|
17
|
+
path: {
|
|
18
|
+
'status': status,
|
|
19
|
+
},
|
|
20
|
+
query: {
|
|
21
|
+
'cursor': cursor,
|
|
22
|
+
'limit': limit,
|
|
23
|
+
},
|
|
24
|
+
errors: {
|
|
25
|
+
422: `Validation Error`,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -131,7 +131,7 @@ export class ProfileService {
|
|
|
131
131
|
* @returns FollowerFollowingResponse Successful Response
|
|
132
132
|
* @throws ApiError
|
|
133
133
|
*/
|
|
134
|
-
static getUserFollowersV1ProfileUserIdFollowersGet(userId, cursor = '2025-09-
|
|
134
|
+
static getUserFollowersV1ProfileUserIdFollowersGet(userId, cursor = '2025-09-22T16:07:25.423788+00:00', limit = 20) {
|
|
135
135
|
return __request(OpenAPI, {
|
|
136
136
|
method: 'GET',
|
|
137
137
|
url: '/v1/profile/{user_id}/followers',
|
|
@@ -156,7 +156,7 @@ export class ProfileService {
|
|
|
156
156
|
* @returns FollowerFollowingResponse Successful Response
|
|
157
157
|
* @throws ApiError
|
|
158
158
|
*/
|
|
159
|
-
static getUserFollowingV1ProfileUserIdFollowingGet(userId, cursor = '2025-09-
|
|
159
|
+
static getUserFollowingV1ProfileUserIdFollowingGet(userId, cursor = '2025-09-22T16:07:25.424227+00:00', limit = 20) {
|
|
160
160
|
return __request(OpenAPI, {
|
|
161
161
|
method: 'GET',
|
|
162
162
|
url: '/v1/profile/{user_id}/following',
|