@aurora-interactive/fankare-api-sdk 0.1.0 → 0.1.2
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/README.md +37 -1
- package/esm/funcs/creators-discovery-get-featured-creators.d.ts +14 -0
- package/esm/funcs/creators-discovery-get-featured-creators.d.ts.map +1 -0
- package/esm/funcs/creators-discovery-get-featured-creators.js +85 -0
- package/esm/funcs/creators-discovery-get-featured-creators.js.map +1 -0
- package/esm/funcs/creators-discovery-get-trending-creators.d.ts +14 -0
- package/esm/funcs/creators-discovery-get-trending-creators.d.ts.map +1 -0
- package/esm/funcs/creators-discovery-get-trending-creators.js +85 -0
- package/esm/funcs/creators-discovery-get-trending-creators.js.map +1 -0
- package/esm/funcs/notifications-get-notifications.d.ts +14 -0
- package/esm/funcs/notifications-get-notifications.d.ts.map +1 -0
- package/esm/funcs/notifications-get-notifications.js +87 -0
- package/esm/funcs/notifications-get-notifications.js.map +1 -0
- package/esm/funcs/notifications-get-unread-notification-count.d.ts +14 -0
- package/esm/funcs/notifications-get-unread-notification-count.d.ts.map +1 -0
- package/esm/funcs/notifications-get-unread-notification-count.js +67 -0
- package/esm/funcs/notifications-get-unread-notification-count.js.map +1 -0
- package/esm/funcs/notifications-mark-notifications-as-read.d.ts +14 -0
- package/esm/funcs/notifications-mark-notifications-as-read.d.ts.map +1 -0
- package/esm/funcs/notifications-mark-notifications-as-read.js +78 -0
- package/esm/funcs/notifications-mark-notifications-as-read.js.map +1 -0
- package/esm/funcs/posts-create-comment.d.ts +14 -0
- package/esm/funcs/posts-create-comment.d.ts.map +1 -0
- package/esm/funcs/posts-create-comment.js +89 -0
- package/esm/funcs/posts-create-comment.js.map +1 -0
- package/esm/funcs/posts-delete-comment.d.ts +13 -0
- package/esm/funcs/posts-delete-comment.d.ts.map +1 -0
- package/esm/funcs/posts-delete-comment.js +91 -0
- package/esm/funcs/posts-delete-comment.js.map +1 -0
- package/esm/funcs/posts-get-post-comments.d.ts +14 -0
- package/esm/funcs/posts-get-post-comments.d.ts.map +1 -0
- package/esm/funcs/posts-get-post-comments.js +94 -0
- package/esm/funcs/posts-get-post-comments.js.map +1 -0
- package/esm/funcs/posts-get-post-likes.d.ts +14 -0
- package/esm/funcs/posts-get-post-likes.d.ts.map +1 -0
- package/esm/funcs/posts-get-post-likes.js +94 -0
- package/esm/funcs/posts-get-post-likes.js.map +1 -0
- package/esm/funcs/posts-like-post.d.ts +13 -0
- package/esm/funcs/posts-like-post.d.ts.map +1 -0
- package/esm/funcs/posts-like-post.js +86 -0
- package/esm/funcs/posts-like-post.js.map +1 -0
- package/esm/funcs/posts-unlike-post.d.ts +13 -0
- package/esm/funcs/posts-unlike-post.d.ts.map +1 -0
- package/esm/funcs/posts-unlike-post.js +86 -0
- package/esm/funcs/posts-unlike-post.js.map +1 -0
- package/esm/funcs/user-discovery-get-follower-count.d.ts +14 -0
- package/esm/funcs/user-discovery-get-follower-count.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-follower-count.js +67 -0
- package/esm/funcs/user-discovery-get-follower-count.js.map +1 -0
- package/esm/funcs/user-discovery-get-followers.d.ts +14 -0
- package/esm/funcs/user-discovery-get-followers.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-followers.js +87 -0
- package/esm/funcs/user-discovery-get-followers.js.map +1 -0
- package/esm/funcs/user-discovery-get-user-follower-count.d.ts +14 -0
- package/esm/funcs/user-discovery-get-user-follower-count.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-user-follower-count.js +87 -0
- package/esm/funcs/user-discovery-get-user-follower-count.js.map +1 -0
- package/esm/funcs/user-discovery-get-user-followers.d.ts +14 -0
- package/esm/funcs/user-discovery-get-user-followers.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-user-followers.js +94 -0
- package/esm/funcs/user-discovery-get-user-followers.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/models/comment.d.ts +15 -0
- package/esm/models/comment.d.ts.map +1 -0
- package/esm/models/comment.js +20 -0
- package/esm/models/comment.js.map +1 -0
- package/esm/models/create-comment-request.d.ts +15 -0
- package/esm/models/create-comment-request.d.ts.map +1 -0
- package/esm/models/create-comment-request.js +13 -0
- package/esm/models/create-comment-request.js.map +1 -0
- package/esm/models/follower-count-response.d.ts +10 -0
- package/esm/models/follower-count-response.d.ts.map +1 -0
- package/esm/models/follower-count-response.js +15 -0
- package/esm/models/follower-count-response.js.map +1 -0
- package/esm/models/index.d.ts +10 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +10 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/mark-notifications-read-request.d.ts +20 -0
- package/esm/models/mark-notifications-read-request.d.ts.map +1 -0
- package/esm/models/mark-notifications-read-request.js +14 -0
- package/esm/models/mark-notifications-read-request.js.map +1 -0
- package/esm/models/notification.d.ts +30 -0
- package/esm/models/notification.d.ts.map +1 -0
- package/esm/models/notification.js +31 -0
- package/esm/models/notification.js.map +1 -0
- package/esm/models/operations/create-comment.d.ts +15 -0
- package/esm/models/operations/create-comment.d.ts.map +1 -0
- package/esm/models/operations/create-comment.js +15 -0
- package/esm/models/operations/create-comment.js.map +1 -0
- package/esm/models/operations/delete-comment.d.ts +14 -0
- package/esm/models/operations/delete-comment.d.ts.map +1 -0
- package/esm/models/operations/delete-comment.js +14 -0
- package/esm/models/operations/delete-comment.js.map +1 -0
- package/esm/models/operations/get-featured-creators.d.ts +12 -0
- package/esm/models/operations/get-featured-creators.d.ts.map +1 -0
- package/esm/models/operations/get-featured-creators.js +13 -0
- package/esm/models/operations/get-featured-creators.js.map +1 -0
- package/esm/models/operations/get-followers.d.ts +17 -0
- package/esm/models/operations/get-followers.d.ts.map +1 -0
- package/esm/models/operations/get-followers.js +14 -0
- package/esm/models/operations/get-followers.js.map +1 -0
- package/esm/models/operations/get-notifications.d.ts +17 -0
- package/esm/models/operations/get-notifications.d.ts.map +1 -0
- package/esm/models/operations/get-notifications.js +14 -0
- package/esm/models/operations/get-notifications.js.map +1 -0
- package/esm/models/operations/get-post-comments.d.ts +19 -0
- package/esm/models/operations/get-post-comments.d.ts.map +1 -0
- package/esm/models/operations/get-post-comments.js +15 -0
- package/esm/models/operations/get-post-comments.js.map +1 -0
- package/esm/models/operations/get-post-likes.d.ts +19 -0
- package/esm/models/operations/get-post-likes.d.ts.map +1 -0
- package/esm/models/operations/get-post-likes.js +15 -0
- package/esm/models/operations/get-post-likes.js.map +1 -0
- package/esm/models/operations/get-trending-creators.d.ts +12 -0
- package/esm/models/operations/get-trending-creators.d.ts.map +1 -0
- package/esm/models/operations/get-trending-creators.js +13 -0
- package/esm/models/operations/get-trending-creators.js.map +1 -0
- package/esm/models/operations/get-user-follower-count.d.ts +12 -0
- package/esm/models/operations/get-user-follower-count.d.ts.map +1 -0
- package/esm/models/operations/get-user-follower-count.js +13 -0
- package/esm/models/operations/get-user-follower-count.js.map +1 -0
- package/esm/models/operations/get-user-followers.d.ts +19 -0
- package/esm/models/operations/get-user-followers.d.ts.map +1 -0
- package/esm/models/operations/get-user-followers.js +15 -0
- package/esm/models/operations/get-user-followers.js.map +1 -0
- package/esm/models/operations/index.d.ts +12 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +12 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/like-post.d.ts +12 -0
- package/esm/models/operations/like-post.d.ts.map +1 -0
- package/esm/models/operations/like-post.js +13 -0
- package/esm/models/operations/like-post.js.map +1 -0
- package/esm/models/operations/unlike-post.d.ts +12 -0
- package/esm/models/operations/unlike-post.d.ts.map +1 -0
- package/esm/models/operations/unlike-post.js +13 -0
- package/esm/models/operations/unlike-post.js.map +1 -0
- package/esm/models/paginated-comments-response.d.ts +15 -0
- package/esm/models/paginated-comments-response.d.ts.map +1 -0
- package/esm/models/paginated-comments-response.js +17 -0
- package/esm/models/paginated-comments-response.js.map +1 -0
- package/esm/models/paginated-followers-response.d.ts +15 -0
- package/esm/models/paginated-followers-response.d.ts.map +1 -0
- package/esm/models/paginated-followers-response.js +17 -0
- package/esm/models/paginated-followers-response.js.map +1 -0
- package/esm/models/paginated-likes-response.d.ts +15 -0
- package/esm/models/paginated-likes-response.d.ts.map +1 -0
- package/esm/models/paginated-likes-response.js +17 -0
- package/esm/models/paginated-likes-response.js.map +1 -0
- package/esm/models/paginated-notifications-response.d.ts +15 -0
- package/esm/models/paginated-notifications-response.d.ts.map +1 -0
- package/esm/models/paginated-notifications-response.js +17 -0
- package/esm/models/paginated-notifications-response.js.map +1 -0
- package/esm/models/unread-count-response.d.ts +10 -0
- package/esm/models/unread-count-response.d.ts.map +1 -0
- package/esm/models/unread-count-response.js +15 -0
- package/esm/models/unread-count-response.js.map +1 -0
- package/esm/models/user.d.ts +4 -0
- package/esm/models/user.d.ts.map +1 -1
- package/esm/models/user.js +1 -0
- package/esm/models/user.js.map +1 -1
- package/esm/sdk/creators-discovery.d.ts +13 -0
- package/esm/sdk/creators-discovery.d.ts.map +1 -0
- package/esm/sdk/creators-discovery.js +23 -0
- package/esm/sdk/creators-discovery.js.map +1 -0
- package/esm/sdk/notifications.d.ts +17 -0
- package/esm/sdk/notifications.d.ts.map +1 -0
- package/esm/sdk/notifications.js +30 -0
- package/esm/sdk/notifications.js.map +1 -0
- package/esm/sdk/posts.d.ts +24 -0
- package/esm/sdk/posts.d.ts.map +1 -1
- package/esm/sdk/posts.js +42 -0
- package/esm/sdk/posts.js.map +1 -1
- package/esm/sdk/sdk.d.ts +6 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +10 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/user-discovery.d.ts +16 -0
- package/esm/sdk/user-discovery.d.ts.map +1 -1
- package/esm/sdk/user-discovery.js +28 -0
- package/esm/sdk/user-discovery.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/creators-discovery-get-featured-creators.ts +174 -0
- package/src/funcs/creators-discovery-get-trending-creators.ts +174 -0
- package/src/funcs/notifications-get-notifications.ts +179 -0
- package/src/funcs/notifications-get-unread-notification-count.ts +142 -0
- package/src/funcs/notifications-mark-notifications-as-read.ts +162 -0
- package/src/funcs/posts-create-comment.ts +176 -0
- package/src/funcs/posts-delete-comment.ts +178 -0
- package/src/funcs/posts-get-post-comments.ts +185 -0
- package/src/funcs/posts-get-post-likes.ts +185 -0
- package/src/funcs/posts-like-post.ts +170 -0
- package/src/funcs/posts-unlike-post.ts +170 -0
- package/src/funcs/user-discovery-get-follower-count.ts +142 -0
- package/src/funcs/user-discovery-get-followers.ts +176 -0
- package/src/funcs/user-discovery-get-user-follower-count.ts +172 -0
- package/src/funcs/user-discovery-get-user-followers.ts +186 -0
- package/src/lib/config.ts +3 -3
- package/src/models/comment.ts +38 -0
- package/src/models/create-comment-request.ts +34 -0
- package/src/models/follower-count-response.ts +32 -0
- package/src/models/index.ts +10 -0
- package/src/models/mark-notifications-read-request.ts +42 -0
- package/src/models/notification.ts +60 -0
- package/src/models/operations/create-comment.ts +35 -0
- package/src/models/operations/delete-comment.ts +34 -0
- package/src/models/operations/get-featured-creators.ts +31 -0
- package/src/models/operations/get-followers.ts +37 -0
- package/src/models/operations/get-notifications.ts +37 -0
- package/src/models/operations/get-post-comments.ts +40 -0
- package/src/models/operations/get-post-likes.ts +40 -0
- package/src/models/operations/get-trending-creators.ts +31 -0
- package/src/models/operations/get-user-follower-count.ts +33 -0
- package/src/models/operations/get-user-followers.ts +40 -0
- package/src/models/operations/index.ts +12 -0
- package/src/models/operations/like-post.ts +29 -0
- package/src/models/operations/unlike-post.ts +31 -0
- package/src/models/paginated-comments-response.ts +38 -0
- package/src/models/paginated-followers-response.ts +38 -0
- package/src/models/paginated-likes-response.ts +38 -0
- package/src/models/paginated-notifications-response.ts +38 -0
- package/src/models/unread-count-response.ts +32 -0
- package/src/models/user.ts +5 -0
- package/src/sdk/creators-discovery.ts +40 -0
- package/src/sdk/notifications.ts +55 -0
- package/src/sdk/posts.ts +102 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/user-discovery.ts +64 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: db9352f64d27
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetFollowersRequest$outboundSchema = z.object({
|
|
8
|
+
limit: z._default(z.int(), 20),
|
|
9
|
+
cursor: z.optional(z.string()),
|
|
10
|
+
});
|
|
11
|
+
export function getFollowersRequestToJSON(getFollowersRequest) {
|
|
12
|
+
return JSON.stringify(GetFollowersRequest$outboundSchema.parse(getFollowersRequest));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=get-followers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-followers.js","sourceRoot":"","sources":["../../../src/models/operations/get-followers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAgBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC,EAChC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetNotificationsRequest = {
|
|
3
|
+
limit?: number | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Opaque cursor pointing to the last notification ID/timestamp for pagination
|
|
6
|
+
*/
|
|
7
|
+
cursor?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type GetNotificationsRequest$Outbound = {
|
|
11
|
+
limit: number;
|
|
12
|
+
cursor?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const GetNotificationsRequest$outboundSchema: z.ZodMiniType<GetNotificationsRequest$Outbound, GetNotificationsRequest>;
|
|
16
|
+
export declare function getNotificationsRequestToJSON(getNotificationsRequest: GetNotificationsRequest): string;
|
|
17
|
+
//# sourceMappingURL=get-notifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-notifications.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-notifications.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAIvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3e8e19ae40a5
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetNotificationsRequest$outboundSchema = z.object({
|
|
8
|
+
limit: z._default(z.int(), 20),
|
|
9
|
+
cursor: z.optional(z.string()),
|
|
10
|
+
});
|
|
11
|
+
export function getNotificationsRequestToJSON(getNotificationsRequest) {
|
|
12
|
+
return JSON.stringify(GetNotificationsRequest$outboundSchema.parse(getNotificationsRequest));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=get-notifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-notifications.js","sourceRoot":"","sources":["../../../src/models/operations/get-notifications.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAgBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetPostCommentsRequest = {
|
|
3
|
+
postId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Opaque cursor pointing to the last comment ID/timestamp for pagination
|
|
7
|
+
*/
|
|
8
|
+
cursor?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type GetPostCommentsRequest$Outbound = {
|
|
12
|
+
postId: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
cursor?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetPostCommentsRequest$outboundSchema: z.ZodMiniType<GetPostCommentsRequest$Outbound, GetPostCommentsRequest>;
|
|
18
|
+
export declare function getPostCommentsRequestToJSON(getPostCommentsRequest: GetPostCommentsRequest): string;
|
|
19
|
+
//# sourceMappingURL=get-post-comments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post-comments.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-post-comments.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAKtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0e3fef778bb2
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetPostCommentsRequest$outboundSchema = z.object({
|
|
8
|
+
postId: z.int(),
|
|
9
|
+
limit: z._default(z.int(), 20),
|
|
10
|
+
cursor: z.optional(z.string()),
|
|
11
|
+
});
|
|
12
|
+
export function getPostCommentsRequestToJSON(getPostCommentsRequest) {
|
|
13
|
+
return JSON.stringify(GetPostCommentsRequest$outboundSchema.parse(getPostCommentsRequest));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=get-post-comments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post-comments.js","sourceRoot":"","sources":["../../../src/models/operations/get-post-comments.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAkBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetPostLikesRequest = {
|
|
3
|
+
postId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Opaque cursor pointing to the last like entry for pagination
|
|
7
|
+
*/
|
|
8
|
+
cursor?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type GetPostLikesRequest$Outbound = {
|
|
12
|
+
postId: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
cursor?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetPostLikesRequest$outboundSchema: z.ZodMiniType<GetPostLikesRequest$Outbound, GetPostLikesRequest>;
|
|
18
|
+
export declare function getPostLikesRequestToJSON(getPostLikesRequest: GetPostLikesRequest): string;
|
|
19
|
+
//# sourceMappingURL=get-post-likes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post-likes.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-post-likes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,4BAA4B,EAC5B,mBAAmB,CAKnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e1e75b984469
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetPostLikesRequest$outboundSchema = z.object({
|
|
8
|
+
postId: z.int(),
|
|
9
|
+
limit: z._default(z.int(), 20),
|
|
10
|
+
cursor: z.optional(z.string()),
|
|
11
|
+
});
|
|
12
|
+
export function getPostLikesRequestToJSON(getPostLikesRequest) {
|
|
13
|
+
return JSON.stringify(GetPostLikesRequest$outboundSchema.parse(getPostLikesRequest));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=get-post-likes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-post-likes.js","sourceRoot":"","sources":["../../../src/models/operations/get-post-likes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAkBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC,EAChC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetTrendingCreatorsRequest = {
|
|
3
|
+
limit?: number | undefined;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type GetTrendingCreatorsRequest$Outbound = {
|
|
7
|
+
limit: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const GetTrendingCreatorsRequest$outboundSchema: z.ZodMiniType<GetTrendingCreatorsRequest$Outbound, GetTrendingCreatorsRequest>;
|
|
11
|
+
export declare function getTrendingCreatorsRequestToJSON(getTrendingCreatorsRequest: GetTrendingCreatorsRequest): string;
|
|
12
|
+
//# sourceMappingURL=get-trending-creators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trending-creators.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-trending-creators.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,mCAAmC,EACnC,0BAA0B,CAG1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e06a8733f9f8
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetTrendingCreatorsRequest$outboundSchema = z.object({
|
|
8
|
+
limit: z._default(z.int(), 10),
|
|
9
|
+
});
|
|
10
|
+
export function getTrendingCreatorsRequestToJSON(getTrendingCreatorsRequest) {
|
|
11
|
+
return JSON.stringify(GetTrendingCreatorsRequest$outboundSchema.parse(getTrendingCreatorsRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-trending-creators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trending-creators.js","sourceRoot":"","sources":["../../../src/models/operations/get-trending-creators.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD,EAC9C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetUserFollowerCountRequest = {
|
|
3
|
+
userId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type GetUserFollowerCountRequest$Outbound = {
|
|
7
|
+
userId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const GetUserFollowerCountRequest$outboundSchema: z.ZodMiniType<GetUserFollowerCountRequest$Outbound, GetUserFollowerCountRequest>;
|
|
11
|
+
export declare function getUserFollowerCountRequestToJSON(getUserFollowerCountRequest: GetUserFollowerCountRequest): string;
|
|
12
|
+
//# sourceMappingURL=get-user-follower-count.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-follower-count.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-user-follower-count.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,oCAAoC,EACpC,2BAA2B,CAG3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 5bb213ee5b8e
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetUserFollowerCountRequest$outboundSchema = z.object({
|
|
8
|
+
userId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function getUserFollowerCountRequestToJSON(getUserFollowerCountRequest) {
|
|
11
|
+
return JSON.stringify(GetUserFollowerCountRequest$outboundSchema.parse(getUserFollowerCountRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-user-follower-count.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-follower-count.js","sourceRoot":"","sources":["../../../src/models/operations/get-user-follower-count.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD,EAChD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetUserFollowersRequest = {
|
|
3
|
+
userId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Opaque cursor pointing to the last subscription timestamp/ID for pagination
|
|
7
|
+
*/
|
|
8
|
+
cursor?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type GetUserFollowersRequest$Outbound = {
|
|
12
|
+
userId: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
cursor?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetUserFollowersRequest$outboundSchema: z.ZodMiniType<GetUserFollowersRequest$Outbound, GetUserFollowersRequest>;
|
|
18
|
+
export declare function getUserFollowersRequestToJSON(getUserFollowersRequest: GetUserFollowersRequest): string;
|
|
19
|
+
//# sourceMappingURL=get-user-followers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-followers.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-user-followers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAKvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: acccc5e14739
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetUserFollowersRequest$outboundSchema = z.object({
|
|
8
|
+
userId: z.int(),
|
|
9
|
+
limit: z._default(z.int(), 20),
|
|
10
|
+
cursor: z.optional(z.string()),
|
|
11
|
+
});
|
|
12
|
+
export function getUserFollowersRequestToJSON(getUserFollowersRequest) {
|
|
13
|
+
return JSON.stringify(GetUserFollowersRequest$outboundSchema.parse(getUserFollowersRequest));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=get-user-followers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-followers.js","sourceRoot":"","sources":["../../../src/models/operations/get-user-followers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAkBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH"}
|
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
export * from "./add-collection-member.js";
|
|
2
2
|
export * from "./asset-processing-callback.js";
|
|
3
3
|
export * from "./create-collection.js";
|
|
4
|
+
export * from "./create-comment.js";
|
|
5
|
+
export * from "./delete-comment.js";
|
|
4
6
|
export * from "./delete-post.js";
|
|
5
7
|
export * from "./get-collection-feed.js";
|
|
6
8
|
export * from "./get-collection-members.js";
|
|
7
9
|
export * from "./get-creator-posts.js";
|
|
10
|
+
export * from "./get-featured-creators.js";
|
|
8
11
|
export * from "./get-feed.js";
|
|
12
|
+
export * from "./get-followers.js";
|
|
9
13
|
export * from "./get-message-history.js";
|
|
14
|
+
export * from "./get-notifications.js";
|
|
15
|
+
export * from "./get-post-comments.js";
|
|
16
|
+
export * from "./get-post-likes.js";
|
|
10
17
|
export * from "./get-post.js";
|
|
18
|
+
export * from "./get-trending-creators.js";
|
|
19
|
+
export * from "./get-user-follower-count.js";
|
|
20
|
+
export * from "./get-user-followers.js";
|
|
11
21
|
export * from "./get-user-profile.js";
|
|
22
|
+
export * from "./like-post.js";
|
|
12
23
|
export * from "./login-user.js";
|
|
13
24
|
export * from "./remove-collection-member.js";
|
|
14
25
|
export * from "./search-users.js";
|
|
15
26
|
export * from "./send-message.js";
|
|
16
27
|
export * from "./subscribe-to-user.js";
|
|
28
|
+
export * from "./unlike-post.js";
|
|
17
29
|
export * from "./unsubscribe-from-user.js";
|
|
18
30
|
export * from "./update-post.js";
|
|
19
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
|
|
@@ -5,19 +5,31 @@
|
|
|
5
5
|
export * from "./add-collection-member.js";
|
|
6
6
|
export * from "./asset-processing-callback.js";
|
|
7
7
|
export * from "./create-collection.js";
|
|
8
|
+
export * from "./create-comment.js";
|
|
9
|
+
export * from "./delete-comment.js";
|
|
8
10
|
export * from "./delete-post.js";
|
|
9
11
|
export * from "./get-collection-feed.js";
|
|
10
12
|
export * from "./get-collection-members.js";
|
|
11
13
|
export * from "./get-creator-posts.js";
|
|
14
|
+
export * from "./get-featured-creators.js";
|
|
12
15
|
export * from "./get-feed.js";
|
|
16
|
+
export * from "./get-followers.js";
|
|
13
17
|
export * from "./get-message-history.js";
|
|
18
|
+
export * from "./get-notifications.js";
|
|
19
|
+
export * from "./get-post-comments.js";
|
|
20
|
+
export * from "./get-post-likes.js";
|
|
14
21
|
export * from "./get-post.js";
|
|
22
|
+
export * from "./get-trending-creators.js";
|
|
23
|
+
export * from "./get-user-follower-count.js";
|
|
24
|
+
export * from "./get-user-followers.js";
|
|
15
25
|
export * from "./get-user-profile.js";
|
|
26
|
+
export * from "./like-post.js";
|
|
16
27
|
export * from "./login-user.js";
|
|
17
28
|
export * from "./remove-collection-member.js";
|
|
18
29
|
export * from "./search-users.js";
|
|
19
30
|
export * from "./send-message.js";
|
|
20
31
|
export * from "./subscribe-to-user.js";
|
|
32
|
+
export * from "./unlike-post.js";
|
|
21
33
|
export * from "./unsubscribe-from-user.js";
|
|
22
34
|
export * from "./update-post.js";
|
|
23
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type LikePostRequest = {
|
|
3
|
+
postId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type LikePostRequest$Outbound = {
|
|
7
|
+
postId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const LikePostRequest$outboundSchema: z.ZodMiniType<LikePostRequest$Outbound, LikePostRequest>;
|
|
11
|
+
export declare function likePostRequestToJSON(likePostRequest: LikePostRequest): string;
|
|
12
|
+
//# sourceMappingURL=like-post.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"like-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/like-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,wBAAwB,EACxB,eAAe,CAGf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 11acb87198d5
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const LikePostRequest$outboundSchema = z.object({
|
|
8
|
+
postId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function likePostRequestToJSON(likePostRequest) {
|
|
11
|
+
return JSON.stringify(LikePostRequest$outboundSchema.parse(likePostRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=like-post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"like-post.js","sourceRoot":"","sources":["../../../src/models/operations/like-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,eAAgC,EACxB;IACR,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAAA,CAC9E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type UnlikePostRequest = {
|
|
3
|
+
postId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type UnlikePostRequest$Outbound = {
|
|
7
|
+
postId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const UnlikePostRequest$outboundSchema: z.ZodMiniType<UnlikePostRequest$Outbound, UnlikePostRequest>;
|
|
11
|
+
export declare function unlikePostRequestToJSON(unlikePostRequest: UnlikePostRequest): string;
|
|
12
|
+
//# sourceMappingURL=unlike-post.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unlike-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/unlike-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAGjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3cc4356423f3
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const UnlikePostRequest$outboundSchema = z.object({
|
|
8
|
+
postId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function unlikePostRequestToJSON(unlikePostRequest) {
|
|
11
|
+
return JSON.stringify(UnlikePostRequest$outboundSchema.parse(unlikePostRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=unlike-post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unlike-post.js","sourceRoot":"","sources":["../../../src/models/operations/unlike-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Comment } from "./comment.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export type PaginatedCommentsResponse = {
|
|
6
|
+
items: Array<Comment>;
|
|
7
|
+
/**
|
|
8
|
+
* Provide this value to the next request's cursor query parameter to fetch the next block.
|
|
9
|
+
*/
|
|
10
|
+
nextCursor?: string | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const PaginatedCommentsResponse$inboundSchema: z.ZodMiniType<PaginatedCommentsResponse, unknown>;
|
|
14
|
+
export declare function paginatedCommentsResponseFromJSON(jsonString: string): SafeParseResult<PaginatedCommentsResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=paginated-comments-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-comments-response.d.ts","sourceRoot":"","sources":["../../src/models/paginated-comments-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,yBAAyB,EACzB,OAAO,CAIP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 13655bb3a778
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
import { Comment$inboundSchema } from "./comment.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const PaginatedCommentsResponse$inboundSchema = z.object({
|
|
11
|
+
items: z.array(Comment$inboundSchema),
|
|
12
|
+
nextCursor: z.optional(z.nullable(types.string())),
|
|
13
|
+
});
|
|
14
|
+
export function paginatedCommentsResponseFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => PaginatedCommentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedCommentsResponse' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=paginated-comments-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-comments-response.js","sourceRoot":"","sources":["../../src/models/paginated-comments-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAW,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAW9D,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC;IACrC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,UAAkB,EAC8C;IAChE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { User } from "./user.js";
|
|
5
|
+
export type PaginatedFollowersResponse = {
|
|
6
|
+
items: Array<User>;
|
|
7
|
+
/**
|
|
8
|
+
* Provide this value to the next request's cursor query parameter to fetch the next block.
|
|
9
|
+
*/
|
|
10
|
+
nextCursor?: string | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const PaginatedFollowersResponse$inboundSchema: z.ZodMiniType<PaginatedFollowersResponse, unknown>;
|
|
14
|
+
export declare function paginatedFollowersResponseFromJSON(jsonString: string): SafeParseResult<PaginatedFollowersResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=paginated-followers-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-followers-response.d.ts","sourceRoot":"","sources":["../../src/models/paginated-followers-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAsB,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAIP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: bcf641cda580
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
import { User$inboundSchema } from "./user.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const PaginatedFollowersResponse$inboundSchema = z.object({
|
|
11
|
+
items: z.array(User$inboundSchema),
|
|
12
|
+
nextCursor: z.optional(z.nullable(types.string())),
|
|
13
|
+
});
|
|
14
|
+
export function paginatedFollowersResponseFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => PaginatedFollowersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedFollowersResponse' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=paginated-followers-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-followers-response.js","sourceRoot":"","sources":["../../src/models/paginated-followers-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAQ,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAUrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { User } from "./user.js";
|
|
5
|
+
export type PaginatedLikesResponse = {
|
|
6
|
+
items: Array<User>;
|
|
7
|
+
/**
|
|
8
|
+
* Provide this value to the next request's cursor query parameter to fetch the next block.
|
|
9
|
+
*/
|
|
10
|
+
nextCursor?: string | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const PaginatedLikesResponse$inboundSchema: z.ZodMiniType<PaginatedLikesResponse, unknown>;
|
|
14
|
+
export declare function paginatedLikesResponseFromJSON(jsonString: string): SafeParseResult<PaginatedLikesResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=paginated-likes-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-likes-response.d.ts","sourceRoot":"","sources":["../../src/models/paginated-likes-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAsB,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAIP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8971c979aa1a
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
import { User$inboundSchema } from "./user.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const PaginatedLikesResponse$inboundSchema = z.object({
|
|
11
|
+
items: z.array(User$inboundSchema),
|
|
12
|
+
nextCursor: z.optional(z.nullable(types.string())),
|
|
13
|
+
});
|
|
14
|
+
export function paginatedLikesResponseFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => PaginatedLikesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedLikesResponse' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=paginated-likes-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-likes-response.js","sourceRoot":"","sources":["../../src/models/paginated-likes-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAQ,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAUrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { Notification } from "./notification.js";
|
|
5
|
+
export type PaginatedNotificationsResponse = {
|
|
6
|
+
items: Array<Notification>;
|
|
7
|
+
/**
|
|
8
|
+
* Provide this value to the next request's cursor query parameter to fetch the next block.
|
|
9
|
+
*/
|
|
10
|
+
nextCursor?: string | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const PaginatedNotificationsResponse$inboundSchema: z.ZodMiniType<PaginatedNotificationsResponse, unknown>;
|
|
14
|
+
export declare function paginatedNotificationsResponseFromJSON(jsonString: string): SafeParseResult<PaginatedNotificationsResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=paginated-notifications-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-notifications-response.d.ts","sourceRoot":"","sources":["../../src/models/paginated-notifications-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,8BAA8B,EAC9B,OAAO,CAIP,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c3c325de7446
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
import { Notification$inboundSchema } from "./notification.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const PaginatedNotificationsResponse$inboundSchema = z.object({
|
|
11
|
+
items: z.array(Notification$inboundSchema),
|
|
12
|
+
nextCursor: z.optional(z.nullable(types.string())),
|
|
13
|
+
});
|
|
14
|
+
export function paginatedNotificationsResponseFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => PaginatedNotificationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedNotificationsResponse' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=paginated-notifications-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-notifications-response.js","sourceRoot":"","sources":["../../src/models/paginated-notifications-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAU7E,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAGrD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;IAC1C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,UAAkB,EACmD;IACrE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
export type UnreadCountResponse = {
|
|
5
|
+
count: number;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const UnreadCountResponse$inboundSchema: z.ZodMiniType<UnreadCountResponse, unknown>;
|
|
9
|
+
export declare function unreadCountResponseFromJSON(jsonString: string): SafeParseResult<UnreadCountResponse, SDKValidationError>;
|
|
10
|
+
//# sourceMappingURL=unread-count-response.d.ts.map
|