@aurora-interactive/fankare-api-sdk 0.0.1 → 0.0.3
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 +41 -18
- package/esm/core.d.ts.map +1 -1
- package/esm/core.js +1 -0
- package/esm/core.js.map +1 -1
- package/esm/funcs/authentication-login-user.d.ts.map +1 -1
- package/esm/funcs/authentication-login-user.js +1 -0
- package/esm/funcs/authentication-login-user.js.map +1 -1
- package/esm/funcs/authentication-register-user.d.ts.map +1 -1
- package/esm/funcs/authentication-register-user.js +1 -0
- package/esm/funcs/authentication-register-user.js.map +1 -1
- package/esm/funcs/creator-timelines-get-creator-posts.d.ts +14 -0
- package/esm/funcs/creator-timelines-get-creator-posts.d.ts.map +1 -0
- package/esm/funcs/creator-timelines-get-creator-posts.js +94 -0
- package/esm/funcs/creator-timelines-get-creator-posts.js.map +1 -0
- package/esm/funcs/custom-collections-add-collection-member.d.ts +14 -0
- package/esm/funcs/custom-collections-add-collection-member.d.ts.map +1 -0
- package/esm/funcs/custom-collections-add-collection-member.js +88 -0
- package/esm/funcs/custom-collections-add-collection-member.js.map +1 -0
- package/esm/funcs/custom-collections-create-collection.d.ts +15 -0
- package/esm/funcs/custom-collections-create-collection.d.ts.map +1 -0
- package/esm/funcs/custom-collections-create-collection.js +79 -0
- package/esm/funcs/custom-collections-create-collection.js.map +1 -0
- package/esm/funcs/custom-collections-get-collection-members.d.ts +14 -0
- package/esm/funcs/custom-collections-get-collection-members.d.ts.map +1 -0
- package/esm/funcs/custom-collections-get-collection-members.js +87 -0
- package/esm/funcs/custom-collections-get-collection-members.js.map +1 -0
- package/esm/funcs/custom-collections-get-collections.d.ts +14 -0
- package/esm/funcs/custom-collections-get-collections.d.ts.map +1 -0
- package/esm/funcs/custom-collections-get-collections.js +68 -0
- package/esm/funcs/custom-collections-get-collections.js.map +1 -0
- package/esm/funcs/custom-collections-remove-collection-member.d.ts +13 -0
- package/esm/funcs/custom-collections-remove-collection-member.d.ts.map +1 -0
- package/esm/funcs/custom-collections-remove-collection-member.js +91 -0
- package/esm/funcs/custom-collections-remove-collection-member.js.map +1 -0
- package/esm/funcs/custom-lists-add-list-member.d.ts.map +1 -1
- package/esm/funcs/custom-lists-add-list-member.js +2 -1
- package/esm/funcs/custom-lists-add-list-member.js.map +1 -1
- package/esm/funcs/custom-lists-create-list.d.ts.map +1 -1
- package/esm/funcs/custom-lists-create-list.js +2 -1
- package/esm/funcs/custom-lists-create-list.js.map +1 -1
- package/esm/funcs/custom-lists-get-list-members.d.ts.map +1 -1
- package/esm/funcs/custom-lists-get-list-members.js +2 -1
- package/esm/funcs/custom-lists-get-list-members.js.map +1 -1
- package/esm/funcs/custom-lists-get-lists.d.ts.map +1 -1
- package/esm/funcs/custom-lists-get-lists.js +2 -1
- package/esm/funcs/custom-lists-get-lists.js.map +1 -1
- package/esm/funcs/custom-lists-remove-list-member.d.ts.map +1 -1
- package/esm/funcs/custom-lists-remove-list-member.js +1 -0
- package/esm/funcs/custom-lists-remove-list-member.js.map +1 -1
- package/esm/funcs/direct-messaging-get-conversations.d.ts +14 -0
- package/esm/funcs/direct-messaging-get-conversations.d.ts.map +1 -0
- package/esm/funcs/direct-messaging-get-conversations.js +68 -0
- package/esm/funcs/direct-messaging-get-conversations.js.map +1 -0
- package/esm/funcs/direct-messaging-get-message-history.d.ts +14 -0
- package/esm/funcs/direct-messaging-get-message-history.d.ts.map +1 -0
- package/esm/funcs/direct-messaging-get-message-history.js +93 -0
- package/esm/funcs/direct-messaging-get-message-history.js.map +1 -0
- package/esm/funcs/direct-messaging-send-message.d.ts +14 -0
- package/esm/funcs/direct-messaging-send-message.d.ts.map +1 -0
- package/esm/funcs/direct-messaging-send-message.js +89 -0
- package/esm/funcs/direct-messaging-send-message.js.map +1 -0
- package/esm/funcs/posts-create-post.d.ts +1 -4
- package/esm/funcs/posts-create-post.d.ts.map +1 -1
- package/esm/funcs/posts-create-post.js +3 -5
- package/esm/funcs/posts-create-post.js.map +1 -1
- package/esm/funcs/posts-get-collection-feed.d.ts +14 -0
- package/esm/funcs/posts-get-collection-feed.d.ts.map +1 -0
- package/esm/funcs/posts-get-collection-feed.js +94 -0
- package/esm/funcs/posts-get-collection-feed.js.map +1 -0
- package/esm/funcs/posts-get-feed.d.ts +3 -6
- package/esm/funcs/posts-get-feed.d.ts.map +1 -1
- package/esm/funcs/posts-get-feed.js +4 -5
- package/esm/funcs/posts-get-feed.js.map +1 -1
- package/esm/funcs/posts-get-list-feed.d.ts.map +1 -1
- package/esm/funcs/posts-get-list-feed.js +1 -0
- package/esm/funcs/posts-get-list-feed.js.map +1 -1
- package/esm/funcs/subscriptions-subscribe-to-user.d.ts.map +1 -1
- package/esm/funcs/subscriptions-subscribe-to-user.js +2 -1
- package/esm/funcs/subscriptions-subscribe-to-user.js.map +1 -1
- package/esm/funcs/subscriptions-unsubscribe-from-user.d.ts.map +1 -1
- package/esm/funcs/subscriptions-unsubscribe-from-user.js +2 -1
- package/esm/funcs/subscriptions-unsubscribe-from-user.js.map +1 -1
- package/esm/funcs/user-discovery-get-following.d.ts +14 -0
- package/esm/funcs/user-discovery-get-following.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-following.js +68 -0
- package/esm/funcs/user-discovery-get-following.js.map +1 -0
- package/esm/funcs/user-discovery-get-user-profile.d.ts +14 -0
- package/esm/funcs/user-discovery-get-user-profile.d.ts.map +1 -0
- package/esm/funcs/user-discovery-get-user-profile.js +87 -0
- package/esm/funcs/user-discovery-get-user-profile.js.map +1 -0
- package/esm/funcs/user-discovery-search-users.d.ts +14 -0
- package/esm/funcs/user-discovery-search-users.d.ts.map +1 -0
- package/esm/funcs/user-discovery-search-users.js +85 -0
- package/esm/funcs/user-discovery-search-users.js.map +1 -0
- package/esm/hooks/hooks.d.ts.map +1 -1
- package/esm/hooks/hooks.js +1 -0
- package/esm/hooks/hooks.js.map +1 -1
- package/esm/hooks/index.d.ts.map +1 -1
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/index.js.map +1 -1
- package/esm/hooks/types.d.ts.map +1 -1
- package/esm/hooks/types.js +1 -0
- package/esm/hooks/types.js.map +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/lib/base64.d.ts.map +1 -1
- package/esm/lib/base64.js +1 -0
- package/esm/lib/base64.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +3 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +1 -0
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +1 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/http.d.ts.map +1 -1
- package/esm/lib/http.js +1 -0
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/logger.d.ts.map +1 -1
- package/esm/lib/logger.js +1 -0
- package/esm/lib/logger.js.map +1 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +1 -0
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/primitives.d.ts.map +1 -1
- package/esm/lib/primitives.js +1 -0
- package/esm/lib/primitives.js.map +1 -1
- package/esm/lib/retries.d.ts.map +1 -1
- package/esm/lib/retries.js +1 -0
- package/esm/lib/retries.js.map +1 -1
- package/esm/lib/schemas.d.ts.map +1 -1
- package/esm/lib/schemas.js +1 -0
- package/esm/lib/schemas.js.map +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +1 -0
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +1 -0
- package/esm/lib/security.js.map +1 -1
- package/esm/lib/url.d.ts.map +1 -1
- package/esm/lib/url.js +1 -0
- package/esm/lib/url.js.map +1 -1
- package/esm/models/collection.d.ts +12 -0
- package/esm/models/collection.d.ts.map +1 -0
- package/esm/models/collection.js +18 -0
- package/esm/models/collection.js.map +1 -0
- package/esm/models/conversation.d.ts +14 -0
- package/esm/models/conversation.d.ts.map +1 -0
- package/esm/models/conversation.js +19 -0
- package/esm/models/conversation.js.map +1 -0
- package/esm/models/create-post-request.d.ts +12 -2
- package/esm/models/create-post-request.d.ts.map +1 -1
- package/esm/models/create-post-request.js +10 -1
- package/esm/models/create-post-request.js.map +1 -1
- package/esm/models/custom-list.d.ts.map +1 -1
- package/esm/models/custom-list.js +1 -0
- package/esm/models/custom-list.js.map +1 -1
- package/esm/models/errors/fankare-sdk-default-error.d.ts.map +1 -1
- package/esm/models/errors/fankare-sdk-default-error.js +1 -0
- package/esm/models/errors/fankare-sdk-default-error.js.map +1 -1
- package/esm/models/errors/fankare-sdk-error.d.ts.map +1 -1
- package/esm/models/errors/fankare-sdk-error.js +1 -0
- package/esm/models/errors/fankare-sdk-error.js.map +1 -1
- package/esm/models/errors/http-client-errors.d.ts.map +1 -1
- package/esm/models/errors/http-client-errors.js +1 -0
- package/esm/models/errors/http-client-errors.js.map +1 -1
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/errors/response-validation-error.d.ts.map +1 -1
- package/esm/models/errors/response-validation-error.js +1 -0
- package/esm/models/errors/response-validation-error.js.map +1 -1
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -1
- package/esm/models/errors/sdk-validation-error.js +1 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -1
- package/esm/models/index.d.ts +7 -1
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +8 -1
- package/esm/models/index.js.map +1 -1
- package/esm/models/login-request.d.ts.map +1 -1
- package/esm/models/login-request.js +1 -0
- package/esm/models/login-request.js.map +1 -1
- package/esm/models/media-asset.d.ts +30 -0
- package/esm/models/media-asset.d.ts.map +1 -0
- package/esm/models/media-asset.js +35 -0
- package/esm/models/media-asset.js.map +1 -0
- package/esm/models/message.d.ts +14 -0
- package/esm/models/message.d.ts.map +1 -0
- package/esm/models/message.js +19 -0
- package/esm/models/message.js.map +1 -0
- package/esm/models/operations/add-collection-member.d.ts +24 -0
- package/esm/models/operations/add-collection-member.d.ts.map +1 -0
- package/esm/models/operations/add-collection-member.js +21 -0
- package/esm/models/operations/add-collection-member.js.map +1 -0
- package/esm/models/operations/add-list-member.d.ts.map +1 -1
- package/esm/models/operations/add-list-member.js +1 -0
- package/esm/models/operations/add-list-member.js.map +1 -1
- package/esm/models/operations/create-collection.d.ts +12 -0
- package/esm/models/operations/create-collection.d.ts.map +1 -0
- package/esm/models/operations/create-collection.js +13 -0
- package/esm/models/operations/create-collection.js.map +1 -0
- package/esm/models/operations/create-list.d.ts.map +1 -1
- package/esm/models/operations/create-list.js +1 -0
- package/esm/models/operations/create-list.js.map +1 -1
- package/esm/models/operations/create-post.d.ts +12 -5
- package/esm/models/operations/create-post.d.ts.map +1 -1
- package/esm/models/operations/create-post.js +11 -1
- package/esm/models/operations/create-post.js.map +1 -1
- package/esm/models/operations/get-collection-feed.d.ts +19 -0
- package/esm/models/operations/get-collection-feed.d.ts.map +1 -0
- package/esm/models/operations/get-collection-feed.js +15 -0
- package/esm/models/operations/get-collection-feed.js.map +1 -0
- package/esm/models/operations/get-collection-members.d.ts +12 -0
- package/esm/models/operations/get-collection-members.d.ts.map +1 -0
- package/esm/models/operations/get-collection-members.js +13 -0
- package/esm/models/operations/get-collection-members.js.map +1 -0
- package/esm/models/operations/get-creator-posts.d.ts +19 -0
- package/esm/models/operations/get-creator-posts.d.ts.map +1 -0
- package/esm/models/operations/get-creator-posts.js +15 -0
- package/esm/models/operations/get-creator-posts.js.map +1 -0
- package/esm/models/operations/get-feed.d.ts +1 -14
- package/esm/models/operations/get-feed.d.ts.map +1 -1
- package/esm/models/operations/get-feed.js +1 -11
- package/esm/models/operations/get-feed.js.map +1 -1
- package/esm/models/operations/get-list-feed.d.ts.map +1 -1
- package/esm/models/operations/get-list-feed.js +1 -0
- package/esm/models/operations/get-list-feed.js.map +1 -1
- package/esm/models/operations/get-list-members.d.ts.map +1 -1
- package/esm/models/operations/get-list-members.js +1 -0
- package/esm/models/operations/get-list-members.js.map +1 -1
- package/esm/models/operations/get-message-history.d.ts +32 -0
- package/esm/models/operations/get-message-history.d.ts.map +1 -0
- package/esm/models/operations/get-message-history.js +26 -0
- package/esm/models/operations/get-message-history.js.map +1 -0
- package/esm/models/operations/get-user-profile.d.ts +12 -0
- package/esm/models/operations/get-user-profile.d.ts.map +1 -0
- package/esm/models/operations/get-user-profile.js +13 -0
- package/esm/models/operations/get-user-profile.js.map +1 -0
- package/esm/models/operations/index.d.ts +10 -5
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +11 -5
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/login-user.d.ts.map +1 -1
- package/esm/models/operations/login-user.js +1 -0
- package/esm/models/operations/login-user.js.map +1 -1
- package/esm/models/operations/remove-collection-member.d.ts +14 -0
- package/esm/models/operations/remove-collection-member.d.ts.map +1 -0
- package/esm/models/operations/remove-collection-member.js +14 -0
- package/esm/models/operations/remove-collection-member.js.map +1 -0
- package/esm/models/operations/remove-list-member.d.ts +0 -3
- package/esm/models/operations/remove-list-member.d.ts.map +1 -1
- package/esm/models/operations/remove-list-member.js +1 -0
- package/esm/models/operations/remove-list-member.js.map +1 -1
- package/esm/models/operations/search-users.d.ts +15 -0
- package/esm/models/operations/search-users.d.ts.map +1 -0
- package/esm/models/operations/search-users.js +13 -0
- package/esm/models/operations/search-users.js.map +1 -0
- package/esm/models/operations/send-message.d.ts +15 -0
- package/esm/models/operations/send-message.d.ts.map +1 -0
- package/esm/models/operations/send-message.js +15 -0
- package/esm/models/operations/send-message.js.map +1 -0
- package/esm/models/operations/subscribe-to-user.d.ts +0 -3
- package/esm/models/operations/subscribe-to-user.d.ts.map +1 -1
- package/esm/models/operations/subscribe-to-user.js +1 -0
- package/esm/models/operations/subscribe-to-user.js.map +1 -1
- package/esm/models/operations/unsubscribe-from-user.d.ts +0 -3
- package/esm/models/operations/unsubscribe-from-user.d.ts.map +1 -1
- package/esm/models/operations/unsubscribe-from-user.js +1 -0
- package/esm/models/operations/unsubscribe-from-user.js.map +1 -1
- package/esm/models/paginated-posts-response.d.ts +15 -0
- package/esm/models/paginated-posts-response.d.ts.map +1 -0
- package/esm/models/paginated-posts-response.js +17 -0
- package/esm/models/paginated-posts-response.js.map +1 -0
- package/esm/models/post.d.ts +2 -31
- package/esm/models/post.d.ts.map +1 -1
- package/esm/models/post.js +3 -21
- package/esm/models/post.js.map +1 -1
- package/esm/models/register-request.d.ts.map +1 -1
- package/esm/models/register-request.js +1 -0
- package/esm/models/register-request.js.map +1 -1
- package/esm/models/security.d.ts.map +1 -1
- package/esm/models/security.js +1 -0
- package/esm/models/security.js.map +1 -1
- package/esm/models/send-message-request.d.ts +12 -0
- package/esm/models/send-message-request.d.ts.map +1 -0
- package/esm/models/send-message-request.js +13 -0
- package/esm/models/send-message-request.js.map +1 -0
- package/esm/models/user-profile.d.ts +14 -0
- package/esm/models/user-profile.d.ts.map +1 -0
- package/esm/models/user-profile.js +20 -0
- package/esm/models/user-profile.js.map +1 -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/authentication.d.ts.map +1 -1
- package/esm/sdk/authentication.js +1 -0
- package/esm/sdk/authentication.js.map +1 -1
- package/esm/sdk/creator-timelines.d.ts +9 -0
- package/esm/sdk/creator-timelines.d.ts.map +1 -0
- package/esm/sdk/creator-timelines.js +16 -0
- package/esm/sdk/creator-timelines.js.map +1 -0
- package/esm/sdk/custom-collections.d.ts +26 -0
- package/esm/sdk/custom-collections.d.ts.map +1 -0
- package/esm/sdk/custom-collections.js +44 -0
- package/esm/sdk/custom-collections.js.map +1 -0
- package/esm/sdk/custom-lists.d.ts.map +1 -1
- package/esm/sdk/custom-lists.js +1 -0
- package/esm/sdk/custom-lists.js.map +1 -1
- package/esm/sdk/direct-messaging.d.ts +18 -0
- package/esm/sdk/direct-messaging.d.ts.map +1 -0
- package/esm/sdk/direct-messaging.js +30 -0
- package/esm/sdk/direct-messaging.js.map +1 -0
- package/esm/sdk/index.d.ts.map +1 -1
- package/esm/sdk/index.js +1 -0
- package/esm/sdk/index.js.map +1 -1
- package/esm/sdk/posts.d.ts +5 -11
- package/esm/sdk/posts.d.ts.map +1 -1
- package/esm/sdk/posts.js +7 -12
- package/esm/sdk/posts.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +20 -4
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/subscriptions.d.ts.map +1 -1
- package/esm/sdk/subscriptions.js +1 -0
- package/esm/sdk/subscriptions.js.map +1 -1
- package/esm/sdk/user-discovery.d.ts +17 -0
- package/esm/sdk/user-discovery.d.ts.map +1 -0
- package/esm/sdk/user-discovery.js +30 -0
- package/esm/sdk/user-discovery.js.map +1 -0
- package/esm/types/async.d.ts.map +1 -1
- package/esm/types/async.js +1 -0
- package/esm/types/async.js.map +1 -1
- package/esm/types/blobs.d.ts.map +1 -1
- package/esm/types/blobs.js +1 -0
- package/esm/types/blobs.js.map +1 -1
- package/esm/types/const-date-time.d.ts.map +1 -1
- package/esm/types/const-date-time.js +1 -0
- package/esm/types/const-date-time.js.map +1 -1
- package/esm/types/default-to-zero-value.d.ts.map +1 -1
- package/esm/types/default-to-zero-value.js +1 -0
- package/esm/types/default-to-zero-value.js.map +1 -1
- package/esm/types/enums.d.ts.map +1 -1
- package/esm/types/enums.js +1 -0
- package/esm/types/enums.js.map +1 -1
- package/esm/types/fp.d.ts.map +1 -1
- package/esm/types/fp.js +1 -0
- package/esm/types/fp.js.map +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/types/index.js +1 -0
- package/esm/types/index.js.map +1 -1
- package/esm/types/operations.d.ts.map +1 -1
- package/esm/types/operations.js +1 -0
- package/esm/types/operations.js.map +1 -1
- package/esm/types/primitives.d.ts.map +1 -1
- package/esm/types/primitives.js +1 -0
- package/esm/types/primitives.js.map +1 -1
- package/esm/types/rfcdate.d.ts.map +1 -1
- package/esm/types/rfcdate.js +1 -0
- package/esm/types/rfcdate.js.map +1 -1
- package/esm/types/smart-union.d.ts.map +1 -1
- package/esm/types/smart-union.js +1 -0
- package/esm/types/smart-union.js.map +1 -1
- package/esm/types/streams.d.ts.map +1 -1
- package/esm/types/streams.js +1 -0
- package/esm/types/streams.js.map +1 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +1 -0
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/authenticationRegisterUser.example.ts +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/core.ts +1 -0
- package/src/funcs/authentication-login-user.ts +1 -0
- package/src/funcs/authentication-register-user.ts +1 -0
- package/src/funcs/{posts-get-list-feed.ts → creator-timelines-get-creator-posts.ts} +21 -15
- package/src/funcs/{custom-lists-add-list-member.ts → custom-collections-add-collection-member.ts} +16 -14
- package/src/funcs/{custom-lists-create-list.ts → custom-collections-create-collection.ts} +14 -12
- package/src/funcs/{custom-lists-get-list-members.ts → custom-collections-get-collection-members.ts} +14 -12
- package/src/funcs/custom-collections-get-collections.ts +143 -0
- package/src/funcs/{custom-lists-remove-list-member.ts → custom-collections-remove-collection-member.ts} +12 -11
- package/src/funcs/direct-messaging-get-conversations.ts +143 -0
- package/src/funcs/direct-messaging-get-message-history.ts +185 -0
- package/src/funcs/direct-messaging-send-message.ts +176 -0
- package/src/funcs/posts-create-post.ts +3 -5
- package/src/funcs/posts-get-collection-feed.ts +186 -0
- package/src/funcs/posts-get-feed.ts +8 -9
- package/src/funcs/subscriptions-subscribe-to-user.ts +2 -1
- package/src/funcs/subscriptions-unsubscribe-from-user.ts +2 -1
- package/src/funcs/{custom-lists-get-lists.ts → user-discovery-get-following.ts} +10 -9
- package/src/funcs/user-discovery-get-user-profile.ts +171 -0
- package/src/funcs/user-discovery-search-users.ts +170 -0
- package/src/hooks/hooks.ts +1 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/types.ts +1 -0
- package/src/index.ts +1 -0
- package/src/lib/base64.ts +1 -0
- package/src/lib/config.ts +3 -2
- package/src/lib/encodings.ts +1 -0
- package/src/lib/files.ts +1 -0
- package/src/lib/http.ts +1 -0
- package/src/lib/logger.ts +1 -0
- package/src/lib/matchers.ts +1 -0
- package/src/lib/primitives.ts +1 -0
- package/src/lib/retries.ts +1 -0
- package/src/lib/schemas.ts +1 -0
- package/src/lib/sdks.ts +1 -0
- package/src/lib/security.ts +1 -0
- package/src/lib/url.ts +1 -0
- package/src/models/{custom-list.ts → collection.ts} +7 -6
- package/src/models/conversation.ts +36 -0
- package/src/models/create-post-request.ts +23 -3
- package/src/models/errors/fankare-sdk-default-error.ts +1 -0
- package/src/models/errors/fankare-sdk-error.ts +1 -0
- package/src/models/errors/http-client-errors.ts +1 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/response-validation-error.ts +1 -0
- package/src/models/errors/sdk-validation-error.ts +1 -0
- package/src/models/index.ts +8 -1
- package/src/models/login-request.ts +1 -0
- package/src/models/media-asset.ts +63 -0
- package/src/models/message.ts +37 -0
- package/src/models/operations/add-collection-member.ts +61 -0
- package/src/models/operations/create-collection.ts +31 -0
- package/src/models/operations/create-post.ts +29 -6
- package/src/models/operations/get-collection-feed.ts +40 -0
- package/src/models/operations/get-collection-members.ts +33 -0
- package/src/models/operations/get-creator-posts.ts +40 -0
- package/src/models/operations/get-feed.ts +2 -33
- package/src/models/operations/get-message-history.ts +72 -0
- package/src/models/operations/get-user-profile.ts +31 -0
- package/src/models/operations/index.ts +11 -5
- package/src/models/operations/login-user.ts +1 -0
- package/src/models/operations/remove-collection-member.ts +36 -0
- package/src/models/operations/search-users.ts +34 -0
- package/src/models/operations/send-message.ts +35 -0
- package/src/models/operations/subscribe-to-user.ts +1 -3
- package/src/models/operations/unsubscribe-from-user.ts +1 -3
- package/src/models/paginated-posts-response.ts +38 -0
- package/src/models/post.ts +4 -43
- package/src/models/register-request.ts +1 -0
- package/src/models/security.ts +1 -0
- package/src/models/send-message-request.ts +31 -0
- package/src/models/user-profile.ts +37 -0
- package/src/models/user.ts +1 -0
- package/src/sdk/authentication.ts +1 -0
- package/src/sdk/creator-timelines.ts +29 -0
- package/src/sdk/custom-collections.ts +88 -0
- package/src/sdk/direct-messaging.ts +60 -0
- package/src/sdk/index.ts +1 -0
- package/src/sdk/posts.ts +13 -16
- package/src/sdk/sdk.ts +23 -4
- package/src/sdk/subscriptions.ts +1 -0
- package/src/sdk/user-discovery.ts +53 -0
- package/src/types/async.ts +1 -0
- package/src/types/blobs.ts +1 -0
- package/src/types/const-date-time.ts +1 -0
- package/src/types/default-to-zero-value.ts +1 -0
- package/src/types/enums.ts +1 -0
- package/src/types/fp.ts +1 -0
- package/src/types/index.ts +1 -0
- package/src/types/operations.ts +1 -0
- package/src/types/primitives.ts +1 -0
- package/src/types/rfcdate.ts +1 -0
- package/src/types/smart-union.ts +1 -0
- package/src/types/streams.ts +1 -0
- package/src/types/unrecognized.ts +1 -0
- package/src/models/operations/add-list-member.ts +0 -58
- package/src/models/operations/create-list.ts +0 -30
- package/src/models/operations/get-list-feed.ts +0 -33
- package/src/models/operations/get-list-members.ts +0 -30
- package/src/models/operations/remove-list-member.ts +0 -36
- package/src/sdk/custom-lists.ts +0 -87
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/create-post.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/create-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAIpE,CAAC;AAEL,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAIP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3a70fdfe59ab
|
|
3
4
|
*/
|
|
4
5
|
import * as z from "zod/v4-mini";
|
|
5
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
7
|
import * as types from "../../types/primitives.js";
|
|
7
8
|
/** @internal */
|
|
9
|
+
export const UploadSlot$inboundSchema = z
|
|
10
|
+
.object({
|
|
11
|
+
assetId: types.optional(types.number()),
|
|
12
|
+
uploadUrl: types.optional(types.string()),
|
|
13
|
+
});
|
|
14
|
+
export function uploadSlotFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => UploadSlot$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UploadSlot' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
/** @internal */
|
|
8
18
|
export const CreatePostResponse$inboundSchema = z.object({
|
|
9
19
|
postId: types.optional(types.number()),
|
|
10
|
-
|
|
20
|
+
uploadSlots: types.optional(z.array(z.lazy(() => UploadSlot$inboundSchema))),
|
|
11
21
|
});
|
|
12
22
|
export function createPostResponseFromJSON(jsonString) {
|
|
13
23
|
return safeParse(jsonString, (x) => CreatePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePostResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post.js","sourceRoot":"","sources":["../../../src/models/operations/create-post.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"create-post.js","sourceRoot":"","sources":["../../../src/models/operations/create-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAmBnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAuC,CAAC;KAC1E,MAAM,CAAC;IACN,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC;AAEL,MAAM,UAAU,kBAAkB,CAChC,UAAkB,EAC+B;IACjD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wBAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EACuC;IACzD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetCollectionFeedRequest = {
|
|
3
|
+
collectionId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Opaque cursor mapping to timestamp index values for timeline layout pagination
|
|
7
|
+
*/
|
|
8
|
+
cursor?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type GetCollectionFeedRequest$Outbound = {
|
|
12
|
+
collectionId: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
cursor?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetCollectionFeedRequest$outboundSchema: z.ZodMiniType<GetCollectionFeedRequest$Outbound, GetCollectionFeedRequest>;
|
|
18
|
+
export declare function getCollectionFeedRequestToJSON(getCollectionFeedRequest: GetCollectionFeedRequest): string;
|
|
19
|
+
//# sourceMappingURL=get-collection-feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-collection-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-collection-feed.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,iCAAiC,EACjC,wBAAwB,CAKxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 1f1776a98715
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetCollectionFeedRequest$outboundSchema = z.object({
|
|
8
|
+
collectionId: z.int(),
|
|
9
|
+
limit: z._default(z.int(), 20),
|
|
10
|
+
cursor: z.optional(z.string()),
|
|
11
|
+
});
|
|
12
|
+
export function getCollectionFeedRequestToJSON(getCollectionFeedRequest) {
|
|
13
|
+
return JSON.stringify(GetCollectionFeedRequest$outboundSchema.parse(getCollectionFeedRequest));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=get-collection-feed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-collection-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-collection-feed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAkBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,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,8BAA8B,CAC5C,wBAAkD,EAC1C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetCollectionMembersRequest = {
|
|
3
|
+
collectionId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type GetCollectionMembersRequest$Outbound = {
|
|
7
|
+
collectionId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const GetCollectionMembersRequest$outboundSchema: z.ZodMiniType<GetCollectionMembersRequest$Outbound, GetCollectionMembersRequest>;
|
|
11
|
+
export declare function getCollectionMembersRequestToJSON(getCollectionMembersRequest: GetCollectionMembersRequest): string;
|
|
12
|
+
//# sourceMappingURL=get-collection-members.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-collection-members.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-collection-members.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,2BAA2B,GAAG;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,YAAY,EAAE,MAAM,CAAC;CACtB,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: a6fac2227788
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetCollectionMembersRequest$outboundSchema = z.object({
|
|
8
|
+
collectionId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function getCollectionMembersRequestToJSON(getCollectionMembersRequest) {
|
|
11
|
+
return JSON.stringify(GetCollectionMembersRequest$outboundSchema.parse(getCollectionMembersRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-collection-members.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-collection-members.js","sourceRoot":"","sources":["../../../src/models/operations/get-collection-members.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,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;CACtB,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 GetCreatorPostsRequest = {
|
|
3
|
+
userId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Opaque cursor pointing to the last post timestamp/ID for pagination
|
|
7
|
+
*/
|
|
8
|
+
cursor?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type GetCreatorPostsRequest$Outbound = {
|
|
12
|
+
userId: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
cursor?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetCreatorPostsRequest$outboundSchema: z.ZodMiniType<GetCreatorPostsRequest$Outbound, GetCreatorPostsRequest>;
|
|
18
|
+
export declare function getCreatorPostsRequestToJSON(getCreatorPostsRequest: GetCreatorPostsRequest): string;
|
|
19
|
+
//# sourceMappingURL=get-creator-posts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-creator-posts.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-creator-posts.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: 4f6befd7db07
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetCreatorPostsRequest$outboundSchema = z.object({
|
|
8
|
+
userId: z.int(),
|
|
9
|
+
limit: z._default(z.int(), 20),
|
|
10
|
+
cursor: z.optional(z.string()),
|
|
11
|
+
});
|
|
12
|
+
export function getCreatorPostsRequestToJSON(getCreatorPostsRequest) {
|
|
13
|
+
return JSON.stringify(GetCreatorPostsRequest$outboundSchema.parse(getCreatorPostsRequest));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=get-creator-posts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-creator-posts.js","sourceRoot":"","sources":["../../../src/models/operations/get-creator-posts.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"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
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 * as models from "../index.js";
|
|
5
2
|
export type GetFeedRequest = {
|
|
6
3
|
limit?: number | undefined;
|
|
7
4
|
/**
|
|
8
|
-
* Opaque cursor
|
|
5
|
+
* Opaque cursor pointing to the last item timestamp for pagination
|
|
9
6
|
*/
|
|
10
7
|
cursor?: string | undefined;
|
|
11
8
|
};
|
|
12
|
-
/**
|
|
13
|
-
* A list of feed posts
|
|
14
|
-
*/
|
|
15
|
-
export type GetFeedResponse = {
|
|
16
|
-
items?: Array<models.Post> | undefined;
|
|
17
|
-
nextCursor?: string | null | undefined;
|
|
18
|
-
};
|
|
19
9
|
/** @internal */
|
|
20
10
|
export type GetFeedRequest$Outbound = {
|
|
21
11
|
limit: number;
|
|
@@ -24,7 +14,4 @@ export type GetFeedRequest$Outbound = {
|
|
|
24
14
|
/** @internal */
|
|
25
15
|
export declare const GetFeedRequest$outboundSchema: z.ZodMiniType<GetFeedRequest$Outbound, GetFeedRequest>;
|
|
26
16
|
export declare function getFeedRequestToJSON(getFeedRequest: GetFeedRequest): string;
|
|
27
|
-
/** @internal */
|
|
28
|
-
export declare const GetFeedResponse$inboundSchema: z.ZodMiniType<GetFeedResponse, unknown>;
|
|
29
|
-
export declare function getFeedResponseFromJSON(jsonString: string): SafeParseResult<GetFeedResponse, SDKValidationError>;
|
|
30
17
|
//# sourceMappingURL=get-feed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,uBAAuB,EACvB,cAAc,CAId,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a45a85027828
|
|
3
4
|
*/
|
|
4
5
|
import * as z from "zod/v4-mini";
|
|
5
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import * as models from "../index.js";
|
|
8
6
|
/** @internal */
|
|
9
7
|
export const GetFeedRequest$outboundSchema = z.object({
|
|
10
8
|
limit: z._default(z.int(), 20),
|
|
@@ -13,12 +11,4 @@ export const GetFeedRequest$outboundSchema = z.object({
|
|
|
13
11
|
export function getFeedRequestToJSON(getFeedRequest) {
|
|
14
12
|
return JSON.stringify(GetFeedRequest$outboundSchema.parse(getFeedRequest));
|
|
15
13
|
}
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const GetFeedResponse$inboundSchema = z.object({
|
|
18
|
-
items: types.optional(z.array(models.Post$inboundSchema)),
|
|
19
|
-
nextCursor: z.optional(z.nullable(types.string())),
|
|
20
|
-
});
|
|
21
|
-
export function getFeedResponseFromJSON(jsonString) {
|
|
22
|
-
return safeParse(jsonString, (x) => GetFeedResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFeedResponse' from JSON`);
|
|
23
|
-
}
|
|
24
14
|
//# sourceMappingURL=get-feed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"get-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAgBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAGtC,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,oBAAoB,CAAC,cAA8B,EAAU;IAC3E,OAAO,IAAI,CAAC,SAAS,CAAC,6BAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAAA,CAC5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-list-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAIlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"get-list-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAajC,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,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;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-members.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-list-members.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAGrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-members.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"get-list-members.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 * as models from "../index.js";
|
|
5
|
+
export type GetMessageHistoryRequest = {
|
|
6
|
+
userId: number;
|
|
7
|
+
limit?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Opaque cursor pointing to the last processed message ID/timestamp
|
|
10
|
+
*/
|
|
11
|
+
cursor?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Paginated history array of direct text messages
|
|
15
|
+
*/
|
|
16
|
+
export type GetMessageHistoryResponse = {
|
|
17
|
+
items?: Array<models.Message> | undefined;
|
|
18
|
+
nextCursor?: string | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type GetMessageHistoryRequest$Outbound = {
|
|
22
|
+
userId: number;
|
|
23
|
+
limit: number;
|
|
24
|
+
cursor?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const GetMessageHistoryRequest$outboundSchema: z.ZodMiniType<GetMessageHistoryRequest$Outbound, GetMessageHistoryRequest>;
|
|
28
|
+
export declare function getMessageHistoryRequestToJSON(getMessageHistoryRequest: GetMessageHistoryRequest): string;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const GetMessageHistoryResponse$inboundSchema: z.ZodMiniType<GetMessageHistoryResponse, unknown>;
|
|
31
|
+
export declare function getMessageHistoryResponseFromJSON(jsonString: string): SafeParseResult<GetMessageHistoryResponse, SDKValidationError>;
|
|
32
|
+
//# sourceMappingURL=get-message-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-history.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-message-history.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,wBAAwB,GAAG;IACrC,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;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,iCAAiC,EACjC,wBAAwB,CAKxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,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,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 372fe0ffd58a
|
|
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 * as models from "../index.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const GetMessageHistoryRequest$outboundSchema = z.object({
|
|
11
|
+
userId: z.int(),
|
|
12
|
+
limit: z._default(z.int(), 30),
|
|
13
|
+
cursor: z.optional(z.string()),
|
|
14
|
+
});
|
|
15
|
+
export function getMessageHistoryRequestToJSON(getMessageHistoryRequest) {
|
|
16
|
+
return JSON.stringify(GetMessageHistoryRequest$outboundSchema.parse(getMessageHistoryRequest));
|
|
17
|
+
}
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const GetMessageHistoryResponse$inboundSchema = z.object({
|
|
20
|
+
items: types.optional(z.array(models.Message$inboundSchema)),
|
|
21
|
+
nextCursor: z.optional(z.nullable(types.string())),
|
|
22
|
+
});
|
|
23
|
+
export function getMessageHistoryResponseFromJSON(jsonString) {
|
|
24
|
+
return safeParse(jsonString, (x) => GetMessageHistoryResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMessageHistoryResponse' from JSON`);
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=get-message-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-message-history.js","sourceRoot":"","sources":["../../../src/models/operations/get-message-history.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAEnD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AA0BtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,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,8BAA8B,CAC5C,wBAAkD,EAC1C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC5D,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,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetUserProfileRequest = {
|
|
3
|
+
userId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type GetUserProfileRequest$Outbound = {
|
|
7
|
+
userId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const GetUserProfileRequest$outboundSchema: z.ZodMiniType<GetUserProfileRequest$Outbound, GetUserProfileRequest>;
|
|
11
|
+
export declare function getUserProfileRequestToJSON(getUserProfileRequest: GetUserProfileRequest): string;
|
|
12
|
+
//# sourceMappingURL=get-user-profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-user-profile.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAGrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ee45f30e92eb
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const GetUserProfileRequest$outboundSchema = z.object({
|
|
8
|
+
userId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function getUserProfileRequestToJSON(getUserProfileRequest) {
|
|
11
|
+
return JSON.stringify(GetUserProfileRequest$outboundSchema.parse(getUserProfileRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-user-profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.js","sourceRoot":"","sources":["../../../src/models/operations/get-user-profile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
export * from "./add-
|
|
2
|
-
export * from "./create-
|
|
1
|
+
export * from "./add-collection-member.js";
|
|
2
|
+
export * from "./create-collection.js";
|
|
3
3
|
export * from "./create-post.js";
|
|
4
|
+
export * from "./get-collection-feed.js";
|
|
5
|
+
export * from "./get-collection-members.js";
|
|
6
|
+
export * from "./get-creator-posts.js";
|
|
4
7
|
export * from "./get-feed.js";
|
|
5
|
-
export * from "./get-
|
|
6
|
-
export * from "./get-
|
|
8
|
+
export * from "./get-message-history.js";
|
|
9
|
+
export * from "./get-user-profile.js";
|
|
7
10
|
export * from "./login-user.js";
|
|
8
|
-
export * from "./remove-
|
|
11
|
+
export * from "./remove-collection-member.js";
|
|
12
|
+
export * from "./search-users.js";
|
|
13
|
+
export * from "./send-message.js";
|
|
9
14
|
export * from "./subscribe-to-user.js";
|
|
10
15
|
export * from "./unsubscribe-from-user.js";
|
|
11
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,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,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"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0d9ffaf774d2
|
|
3
4
|
*/
|
|
4
|
-
export * from "./add-
|
|
5
|
-
export * from "./create-
|
|
5
|
+
export * from "./add-collection-member.js";
|
|
6
|
+
export * from "./create-collection.js";
|
|
6
7
|
export * from "./create-post.js";
|
|
8
|
+
export * from "./get-collection-feed.js";
|
|
9
|
+
export * from "./get-collection-members.js";
|
|
10
|
+
export * from "./get-creator-posts.js";
|
|
7
11
|
export * from "./get-feed.js";
|
|
8
|
-
export * from "./get-
|
|
9
|
-
export * from "./get-
|
|
12
|
+
export * from "./get-message-history.js";
|
|
13
|
+
export * from "./get-user-profile.js";
|
|
10
14
|
export * from "./login-user.js";
|
|
11
|
-
export * from "./remove-
|
|
15
|
+
export * from "./remove-collection-member.js";
|
|
16
|
+
export * from "./search-users.js";
|
|
17
|
+
export * from "./send-message.js";
|
|
12
18
|
export * from "./subscribe-to-user.js";
|
|
13
19
|
export * from "./unsubscribe-from-user.js";
|
|
14
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,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,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-user.d.ts","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login-user.d.ts","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,iBAAiB,EACjB,OAAO,CAIP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-user.js","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"login-user.js","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAEnD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAatC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAGxC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACrC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,kBAAkB,CAAC;CAChD,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,UAAkB,EACsC;IACxD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type RemoveCollectionMemberRequest = {
|
|
3
|
+
collectionId: number;
|
|
4
|
+
userId: number;
|
|
5
|
+
};
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type RemoveCollectionMemberRequest$Outbound = {
|
|
8
|
+
collectionId: number;
|
|
9
|
+
userId: number;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const RemoveCollectionMemberRequest$outboundSchema: z.ZodMiniType<RemoveCollectionMemberRequest$Outbound, RemoveCollectionMemberRequest>;
|
|
13
|
+
export declare function removeCollectionMemberRequestToJSON(removeCollectionMemberRequest: RemoveCollectionMemberRequest): string;
|
|
14
|
+
//# sourceMappingURL=remove-collection-member.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-collection-member.d.ts","sourceRoot":"","sources":["../../../src/models/operations/remove-collection-member.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,sCAAsC,EACtC,6BAA6B,CAI7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 05d660fe0d9c
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const RemoveCollectionMemberRequest$outboundSchema = z.object({
|
|
8
|
+
collectionId: z.int(),
|
|
9
|
+
userId: z.int(),
|
|
10
|
+
});
|
|
11
|
+
export function removeCollectionMemberRequestToJSON(removeCollectionMemberRequest) {
|
|
12
|
+
return JSON.stringify(RemoveCollectionMemberRequest$outboundSchema.parse(removeCollectionMemberRequest));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=remove-collection-member.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-collection-member.js","sourceRoot":"","sources":["../../../src/models/operations/remove-collection-member.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAajC,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAGrD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,6BAA4D,EACpD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,4CAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AAAA,CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-list-member.d.ts","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-list-member.d.ts","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-list-member.js","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"remove-list-member.js","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAajC,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,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,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type SearchUsersRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* The search term matching usernames or display names
|
|
5
|
+
*/
|
|
6
|
+
query: string;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type SearchUsersRequest$Outbound = {
|
|
10
|
+
query: string;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const SearchUsersRequest$outboundSchema: z.ZodMiniType<SearchUsersRequest$Outbound, SearchUsersRequest>;
|
|
14
|
+
export declare function searchUsersRequestToJSON(searchUsersRequest: SearchUsersRequest): string;
|
|
15
|
+
//# sourceMappingURL=search-users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-users.d.ts","sourceRoot":"","sources":["../../../src/models/operations/search-users.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAGlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 686177a216b9
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const SearchUsersRequest$outboundSchema = z.object({
|
|
8
|
+
query: z.string(),
|
|
9
|
+
});
|
|
10
|
+
export function searchUsersRequestToJSON(searchUsersRequest) {
|
|
11
|
+
return JSON.stringify(SearchUsersRequest$outboundSchema.parse(searchUsersRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=search-users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-users.js","sourceRoot":"","sources":["../../../src/models/operations/search-users.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAcjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import * as models from "../index.js";
|
|
3
|
+
export type SendMessageRequest = {
|
|
4
|
+
userId: number;
|
|
5
|
+
body: models.SendMessageRequest;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export type SendMessageRequest$Outbound = {
|
|
9
|
+
userId: number;
|
|
10
|
+
body: models.SendMessageRequest$Outbound;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const SendMessageRequest$outboundSchema: z.ZodMiniType<SendMessageRequest$Outbound, SendMessageRequest>;
|
|
14
|
+
export declare function sendMessageRequestToJSON(sendMessageRequest: SendMessageRequest): string;
|
|
15
|
+
//# sourceMappingURL=send-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-message.d.ts","sourceRoot":"","sources":["../../../src/models/operations/send-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAIlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|