@aurora-interactive/fankare-api-sdk 0.0.1
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/FUNCTIONS.md +90 -0
- package/README.md +455 -0
- package/RUNTIMES.md +48 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/authentication-login-user.d.ts +15 -0
- package/esm/funcs/authentication-login-user.d.ts.map +1 -0
- package/esm/funcs/authentication-login-user.js +78 -0
- package/esm/funcs/authentication-login-user.js.map +1 -0
- package/esm/funcs/authentication-register-user.d.ts +14 -0
- package/esm/funcs/authentication-register-user.d.ts.map +1 -0
- package/esm/funcs/authentication-register-user.js +77 -0
- package/esm/funcs/authentication-register-user.js.map +1 -0
- package/esm/funcs/custom-lists-add-list-member.d.ts +14 -0
- package/esm/funcs/custom-lists-add-list-member.d.ts.map +1 -0
- package/esm/funcs/custom-lists-add-list-member.js +87 -0
- package/esm/funcs/custom-lists-add-list-member.js.map +1 -0
- package/esm/funcs/custom-lists-create-list.d.ts +15 -0
- package/esm/funcs/custom-lists-create-list.d.ts.map +1 -0
- package/esm/funcs/custom-lists-create-list.js +78 -0
- package/esm/funcs/custom-lists-create-list.js.map +1 -0
- package/esm/funcs/custom-lists-get-list-members.d.ts +14 -0
- package/esm/funcs/custom-lists-get-list-members.d.ts.map +1 -0
- package/esm/funcs/custom-lists-get-list-members.js +86 -0
- package/esm/funcs/custom-lists-get-list-members.js.map +1 -0
- package/esm/funcs/custom-lists-get-lists.d.ts +14 -0
- package/esm/funcs/custom-lists-get-lists.d.ts.map +1 -0
- package/esm/funcs/custom-lists-get-lists.js +67 -0
- package/esm/funcs/custom-lists-get-lists.js.map +1 -0
- package/esm/funcs/custom-lists-remove-list-member.d.ts +13 -0
- package/esm/funcs/custom-lists-remove-list-member.d.ts.map +1 -0
- package/esm/funcs/custom-lists-remove-list-member.js +90 -0
- package/esm/funcs/custom-lists-remove-list-member.js.map +1 -0
- package/esm/funcs/posts-create-post.d.ts +18 -0
- package/esm/funcs/posts-create-post.d.ts.map +1 -0
- package/esm/funcs/posts-create-post.js +81 -0
- package/esm/funcs/posts-create-post.js.map +1 -0
- package/esm/funcs/posts-get-feed.d.ts +17 -0
- package/esm/funcs/posts-get-feed.d.ts.map +1 -0
- package/esm/funcs/posts-get-feed.js +88 -0
- package/esm/funcs/posts-get-feed.js.map +1 -0
- package/esm/funcs/posts-get-list-feed.d.ts +14 -0
- package/esm/funcs/posts-get-list-feed.d.ts.map +1 -0
- package/esm/funcs/posts-get-list-feed.js +91 -0
- package/esm/funcs/posts-get-list-feed.js.map +1 -0
- package/esm/funcs/subscriptions-subscribe-to-user.d.ts +13 -0
- package/esm/funcs/subscriptions-subscribe-to-user.d.ts.map +1 -0
- package/esm/funcs/subscriptions-subscribe-to-user.js +85 -0
- package/esm/funcs/subscriptions-subscribe-to-user.js.map +1 -0
- package/esm/funcs/subscriptions-unsubscribe-from-user.d.ts +13 -0
- package/esm/funcs/subscriptions-unsubscribe-from-user.d.ts.map +1 -0
- package/esm/funcs/subscriptions-unsubscribe-from-user.js +85 -0
- package/esm/funcs/subscriptions-unsubscribe-from-user.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +80 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/types.d.ts +77 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +34 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/encodings.d.ts +54 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +391 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +27 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +120 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +157 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +290 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +148 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/create-post-request.d.ts +22 -0
- package/esm/models/create-post-request.d.ts.map +1 -0
- package/esm/models/create-post-request.js +19 -0
- package/esm/models/create-post-request.js.map +1 -0
- package/esm/models/custom-list.d.ts +12 -0
- package/esm/models/custom-list.d.ts.map +1 -0
- package/esm/models/custom-list.js +17 -0
- package/esm/models/custom-list.js.map +1 -0
- package/esm/models/errors/fankare-sdk-default-error.d.ts +10 -0
- package/esm/models/errors/fankare-sdk-default-error.d.ts.map +1 -0
- package/esm/models/errors/fankare-sdk-default-error.js +30 -0
- package/esm/models/errors/fankare-sdk-default-error.js.map +1 -0
- package/esm/models/errors/fankare-sdk-error.d.ts +19 -0
- package/esm/models/errors/fankare-sdk-error.d.ts.map +1 -0
- package/esm/models/errors/fankare-sdk-error.js +26 -0
- package/esm/models/errors/fankare-sdk-error.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +6 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +9 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/index.d.ts +8 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +11 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/login-request.d.ts +14 -0
- package/esm/models/login-request.d.ts.map +1 -0
- package/esm/models/login-request.js +13 -0
- package/esm/models/login-request.js.map +1 -0
- package/esm/models/operations/add-list-member.d.ts +24 -0
- package/esm/models/operations/add-list-member.d.ts.map +1 -0
- package/esm/models/operations/add-list-member.js +20 -0
- package/esm/models/operations/add-list-member.js.map +1 -0
- package/esm/models/operations/create-list.d.ts +12 -0
- package/esm/models/operations/create-list.d.ts.map +1 -0
- package/esm/models/operations/create-list.js +12 -0
- package/esm/models/operations/create-list.js.map +1 -0
- package/esm/models/operations/create-post.d.ts +17 -0
- package/esm/models/operations/create-post.d.ts.map +1 -0
- package/esm/models/operations/create-post.js +15 -0
- package/esm/models/operations/create-post.js.map +1 -0
- package/esm/models/operations/get-feed.d.ts +30 -0
- package/esm/models/operations/get-feed.d.ts.map +1 -0
- package/esm/models/operations/get-feed.js +24 -0
- package/esm/models/operations/get-feed.js.map +1 -0
- package/esm/models/operations/get-list-feed.d.ts +14 -0
- package/esm/models/operations/get-list-feed.d.ts.map +1 -0
- package/esm/models/operations/get-list-feed.js +13 -0
- package/esm/models/operations/get-list-feed.js.map +1 -0
- package/esm/models/operations/get-list-members.d.ts +12 -0
- package/esm/models/operations/get-list-members.d.ts.map +1 -0
- package/esm/models/operations/get-list-members.js +12 -0
- package/esm/models/operations/get-list-members.js.map +1 -0
- package/esm/models/operations/index.d.ts +11 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +14 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/login-user.d.ts +18 -0
- package/esm/models/operations/login-user.d.ts.map +1 -0
- package/esm/models/operations/login-user.js +16 -0
- package/esm/models/operations/login-user.js.map +1 -0
- package/esm/models/operations/remove-list-member.d.ts +17 -0
- package/esm/models/operations/remove-list-member.d.ts.map +1 -0
- package/esm/models/operations/remove-list-member.js +13 -0
- package/esm/models/operations/remove-list-member.js.map +1 -0
- package/esm/models/operations/subscribe-to-user.d.ts +15 -0
- package/esm/models/operations/subscribe-to-user.d.ts.map +1 -0
- package/esm/models/operations/subscribe-to-user.js +12 -0
- package/esm/models/operations/subscribe-to-user.js.map +1 -0
- package/esm/models/operations/unsubscribe-from-user.d.ts +15 -0
- package/esm/models/operations/unsubscribe-from-user.d.ts.map +1 -0
- package/esm/models/operations/unsubscribe-from-user.js +12 -0
- package/esm/models/operations/unsubscribe-from-user.js.map +1 -0
- package/esm/models/post.d.ts +44 -0
- package/esm/models/post.d.ts.map +1 -0
- package/esm/models/post.js +38 -0
- package/esm/models/post.js.map +1 -0
- package/esm/models/register-request.d.ts +16 -0
- package/esm/models/register-request.d.ts.map +1 -0
- package/esm/models/register-request.js +14 -0
- package/esm/models/register-request.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +17 -0
- package/esm/models/security.js.map +1 -0
- package/esm/models/user.d.ts +13 -0
- package/esm/models/user.d.ts.map +1 -0
- package/esm/models/user.js +17 -0
- package/esm/models/user.js.map +1 -0
- package/esm/sdk/authentication.d.ts +14 -0
- package/esm/sdk/authentication.d.ts.map +1 -0
- package/esm/sdk/authentication.js +22 -0
- package/esm/sdk/authentication.js.map +1 -0
- package/esm/sdk/custom-lists.d.ts +26 -0
- package/esm/sdk/custom-lists.d.ts.map +1 -0
- package/esm/sdk/custom-lists.js +43 -0
- package/esm/sdk/custom-lists.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/posts.d.ts +24 -0
- package/esm/sdk/posts.d.ts.map +1 -0
- package/esm/sdk/posts.js +35 -0
- package/esm/sdk/posts.js.map +1 -0
- package/esm/sdk/sdk.d.ts +16 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +27 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/subscriptions.d.ts +12 -0
- package/esm/sdk/subscriptions.d.ts.map +1 -0
- package/esm/sdk/subscriptions.js +22 -0
- package/esm/sdk/subscriptions.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +9 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +109 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/authenticationRegisterUser.example.ts +29 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2712 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1031 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1698 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/install.js +300 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
- package/examples/node_modules/esbuild/lib/main.js +2532 -0
- package/examples/node_modules/fsevents/fsevents.d.ts +46 -0
- package/examples/node_modules/fsevents/fsevents.js +83 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-XurvG3JN.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-BnTWPeIB.mjs +10 -0
- package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +2 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/jsr.json +27 -0
- package/package.json +62 -0
- package/src/core.ts +13 -0
- package/src/funcs/authentication-login-user.ts +161 -0
- package/src/funcs/authentication-register-user.ts +160 -0
- package/src/funcs/custom-lists-add-list-member.ts +174 -0
- package/src/funcs/custom-lists-create-list.ts +161 -0
- package/src/funcs/custom-lists-get-list-members.ts +170 -0
- package/src/funcs/custom-lists-get-lists.ts +142 -0
- package/src/funcs/custom-lists-remove-list-member.ts +179 -0
- package/src/funcs/posts-create-post.ts +164 -0
- package/src/funcs/posts-get-feed.ts +177 -0
- package/src/funcs/posts-get-list-feed.ts +179 -0
- package/src/funcs/subscriptions-subscribe-to-user.ts +169 -0
- package/src/funcs/subscriptions-unsubscribe-from-user.ts +170 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +108 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/encodings.ts +529 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +166 -0
- package/src/lib/retries.ts +226 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +438 -0
- package/src/lib/security.ts +274 -0
- package/src/lib/url.ts +35 -0
- package/src/models/create-post-request.ts +47 -0
- package/src/models/custom-list.ts +33 -0
- package/src/models/errors/fankare-sdk-default-error.ts +40 -0
- package/src/models/errors/fankare-sdk-error.ts +35 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +9 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/index.ts +11 -0
- package/src/models/login-request.ts +29 -0
- package/src/models/operations/add-list-member.ts +58 -0
- package/src/models/operations/create-list.ts +30 -0
- package/src/models/operations/create-post.ts +39 -0
- package/src/models/operations/get-feed.ts +64 -0
- package/src/models/operations/get-list-feed.ts +33 -0
- package/src/models/operations/get-list-members.ts +30 -0
- package/src/models/operations/index.ts +14 -0
- package/src/models/operations/login-user.ts +40 -0
- package/src/models/operations/remove-list-member.ts +36 -0
- package/src/models/operations/subscribe-to-user.ts +33 -0
- package/src/models/operations/unsubscribe-from-user.ts +33 -0
- package/src/models/post.ts +77 -0
- package/src/models/register-request.ts +34 -0
- package/src/models/security.ts +34 -0
- package/src/models/user.ts +34 -0
- package/src/sdk/authentication.ts +40 -0
- package/src/sdk/custom-lists.ts +87 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/posts.ts +65 -0
- package/src/sdk/sdk.ts +31 -0
- package/src/sdk/subscriptions.ts +38 -0
- package/src/types/async.ts +69 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +140 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const CreatePostResponse$inboundSchema = z.object({
|
|
9
|
+
postId: types.optional(types.number()),
|
|
10
|
+
uploadUrl: types.optional(types.string()),
|
|
11
|
+
});
|
|
12
|
+
export function createPostResponseFromJSON(jsonString) {
|
|
13
|
+
return safeParse(jsonString, (x) => CreatePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePostResponse' from JSON`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=create-post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-post.js","sourceRoot":"","sources":["../../../src/models/operations/create-post.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAcnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC1C,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,30 @@
|
|
|
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 GetFeedRequest = {
|
|
6
|
+
limit?: number | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Opaque cursor for pagination (typically a timestamp or offset)
|
|
9
|
+
*/
|
|
10
|
+
cursor?: string | undefined;
|
|
11
|
+
};
|
|
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
|
+
/** @internal */
|
|
20
|
+
export type GetFeedRequest$Outbound = {
|
|
21
|
+
limit: number;
|
|
22
|
+
cursor?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const GetFeedRequest$outboundSchema: z.ZodMiniType<GetFeedRequest$Outbound, GetFeedRequest>;
|
|
26
|
+
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
|
+
//# sourceMappingURL=get-feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"AAIA,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,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,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;AAED,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,eAAe,EACf,OAAO,CAIP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
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
|
+
/** @internal */
|
|
9
|
+
export const GetFeedRequest$outboundSchema = z.object({
|
|
10
|
+
limit: z._default(z.int(), 20),
|
|
11
|
+
cursor: z.optional(z.string()),
|
|
12
|
+
});
|
|
13
|
+
export function getFeedRequestToJSON(getFeedRequest) {
|
|
14
|
+
return JSON.stringify(GetFeedRequest$outboundSchema.parse(getFeedRequest));
|
|
15
|
+
}
|
|
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
|
+
//# sourceMappingURL=get-feed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-feed.ts"],"names":[],"mappings":"AAAA;;GAEG;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;AAwBtC,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;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAGtC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACzD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,UAAkB,EACoC;IACtD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetListFeedRequest = {
|
|
3
|
+
listId: number;
|
|
4
|
+
limit?: number | undefined;
|
|
5
|
+
};
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type GetListFeedRequest$Outbound = {
|
|
8
|
+
listId: number;
|
|
9
|
+
limit: number;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const GetListFeedRequest$outboundSchema: z.ZodMiniType<GetListFeedRequest$Outbound, GetListFeedRequest>;
|
|
13
|
+
export declare function getListFeedRequestToJSON(getListFeedRequest: GetListFeedRequest): string;
|
|
14
|
+
//# sourceMappingURL=get-list-feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-feed.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"AAIA,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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const GetListFeedRequest$outboundSchema = z.object({
|
|
7
|
+
listId: z.int(),
|
|
8
|
+
limit: z._default(z.int(), 20),
|
|
9
|
+
});
|
|
10
|
+
export function getListFeedRequestToJSON(getListFeedRequest) {
|
|
11
|
+
return JSON.stringify(GetListFeedRequest$outboundSchema.parse(getListFeedRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-list-feed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-feed.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-feed.ts"],"names":[],"mappings":"AAAA;;GAEG;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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type GetListMembersRequest = {
|
|
3
|
+
listId: number;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type GetListMembersRequest$Outbound = {
|
|
7
|
+
listId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const GetListMembersRequest$outboundSchema: z.ZodMiniType<GetListMembersRequest$Outbound, GetListMembersRequest>;
|
|
11
|
+
export declare function getListMembersRequestToJSON(getListMembersRequest: GetListMembersRequest): string;
|
|
12
|
+
//# sourceMappingURL=get-list-members.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-members.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"AAIA,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,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const GetListMembersRequest$outboundSchema = z.object({
|
|
7
|
+
listId: z.int(),
|
|
8
|
+
});
|
|
9
|
+
export function getListMembersRequestToJSON(getListMembersRequest) {
|
|
10
|
+
return JSON.stringify(GetListMembersRequest$outboundSchema.parse(getListMembersRequest));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=get-list-members.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-members.js","sourceRoot":"","sources":["../../../src/models/operations/get-list-members.ts"],"names":[],"mappings":"AAAA;;GAEG;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,11 @@
|
|
|
1
|
+
export * from "./add-list-member.js";
|
|
2
|
+
export * from "./create-list.js";
|
|
3
|
+
export * from "./create-post.js";
|
|
4
|
+
export * from "./get-feed.js";
|
|
5
|
+
export * from "./get-list-feed.js";
|
|
6
|
+
export * from "./get-list-members.js";
|
|
7
|
+
export * from "./login-user.js";
|
|
8
|
+
export * from "./remove-list-member.js";
|
|
9
|
+
export * from "./subscribe-to-user.js";
|
|
10
|
+
export * from "./unsubscribe-from-user.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./add-list-member.js";
|
|
5
|
+
export * from "./create-list.js";
|
|
6
|
+
export * from "./create-post.js";
|
|
7
|
+
export * from "./get-feed.js";
|
|
8
|
+
export * from "./get-list-feed.js";
|
|
9
|
+
export * from "./get-list-members.js";
|
|
10
|
+
export * from "./login-user.js";
|
|
11
|
+
export * from "./remove-list-member.js";
|
|
12
|
+
export * from "./subscribe-to-user.js";
|
|
13
|
+
export * from "./unsubscribe-from-user.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Authentication successful
|
|
7
|
+
*/
|
|
8
|
+
export type LoginUserResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* JWT Access Token
|
|
11
|
+
*/
|
|
12
|
+
token?: string | undefined;
|
|
13
|
+
user?: models.User | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const LoginUserResponse$inboundSchema: z.ZodMiniType<LoginUserResponse, unknown>;
|
|
17
|
+
export declare function loginUserResponseFromJSON(jsonString: string): SafeParseResult<LoginUserResponse, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=login-user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-user.d.ts","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"AAIA,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
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
|
+
/** @internal */
|
|
9
|
+
export const LoginUserResponse$inboundSchema = z.object({
|
|
10
|
+
token: types.optional(types.string()),
|
|
11
|
+
user: types.optional(models.User$inboundSchema),
|
|
12
|
+
});
|
|
13
|
+
export function loginUserResponseFromJSON(jsonString) {
|
|
14
|
+
return safeParse(jsonString, (x) => LoginUserResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginUserResponse' from JSON`);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=login-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-user.js","sourceRoot":"","sources":["../../../src/models/operations/login-user.ts"],"names":[],"mappings":"AAAA;;GAEG;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,17 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type RemoveListMemberRequest = {
|
|
3
|
+
listId: number;
|
|
4
|
+
/**
|
|
5
|
+
* The ID of the member user to drop from the grouping
|
|
6
|
+
*/
|
|
7
|
+
userId: number;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type RemoveListMemberRequest$Outbound = {
|
|
11
|
+
listId: number;
|
|
12
|
+
userId: number;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const RemoveListMemberRequest$outboundSchema: z.ZodMiniType<RemoveListMemberRequest$Outbound, RemoveListMemberRequest>;
|
|
16
|
+
export declare function removeListMemberRequestToJSON(removeListMemberRequest: RemoveListMemberRequest): string;
|
|
17
|
+
//# sourceMappingURL=remove-list-member.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-list-member.d.ts","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const RemoveListMemberRequest$outboundSchema = z.object({
|
|
7
|
+
listId: z.int(),
|
|
8
|
+
userId: z.int(),
|
|
9
|
+
});
|
|
10
|
+
export function removeListMemberRequestToJSON(removeListMemberRequest) {
|
|
11
|
+
return JSON.stringify(RemoveListMemberRequest$outboundSchema.parse(removeListMemberRequest));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=remove-list-member.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-list-member.js","sourceRoot":"","sources":["../../../src/models/operations/remove-list-member.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAgBjC,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 SubscribeToUserRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* The ID of the user to subscribe to
|
|
5
|
+
*/
|
|
6
|
+
userId: number;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type SubscribeToUserRequest$Outbound = {
|
|
10
|
+
userId: number;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const SubscribeToUserRequest$outboundSchema: z.ZodMiniType<SubscribeToUserRequest$Outbound, SubscribeToUserRequest>;
|
|
14
|
+
export declare function subscribeToUserRequestToJSON(subscribeToUserRequest: SubscribeToUserRequest): string;
|
|
15
|
+
//# sourceMappingURL=subscribe-to-user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe-to-user.d.ts","sourceRoot":"","sources":["../../../src/models/operations/subscribe-to-user.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,+BAA+B,EAC/B,sBAAsB,CAGtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const SubscribeToUserRequest$outboundSchema = z.object({
|
|
7
|
+
userId: z.int(),
|
|
8
|
+
});
|
|
9
|
+
export function subscribeToUserRequestToJSON(subscribeToUserRequest) {
|
|
10
|
+
return JSON.stringify(SubscribeToUserRequest$outboundSchema.parse(subscribeToUserRequest));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=subscribe-to-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe-to-user.js","sourceRoot":"","sources":["../../../src/models/operations/subscribe-to-user.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAcjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,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,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type UnsubscribeFromUserRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* The ID of the user to unsubscribe from
|
|
5
|
+
*/
|
|
6
|
+
userId: number;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type UnsubscribeFromUserRequest$Outbound = {
|
|
10
|
+
userId: number;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const UnsubscribeFromUserRequest$outboundSchema: z.ZodMiniType<UnsubscribeFromUserRequest$Outbound, UnsubscribeFromUserRequest>;
|
|
14
|
+
export declare function unsubscribeFromUserRequestToJSON(unsubscribeFromUserRequest: UnsubscribeFromUserRequest): string;
|
|
15
|
+
//# sourceMappingURL=unsubscribe-from-user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-user.d.ts","sourceRoot":"","sources":["../../../src/models/operations/unsubscribe-from-user.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,CAAC;CAChB,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,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const UnsubscribeFromUserRequest$outboundSchema = z.object({
|
|
7
|
+
userId: z.int(),
|
|
8
|
+
});
|
|
9
|
+
export function unsubscribeFromUserRequestToJSON(unsubscribeFromUserRequest) {
|
|
10
|
+
return JSON.stringify(UnsubscribeFromUserRequest$outboundSchema.parse(unsubscribeFromUserRequest));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=unsubscribe-from-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-user.js","sourceRoot":"","sources":["../../../src/models/operations/unsubscribe-from-user.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAcjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,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,44 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export declare const PostMediaType: {
|
|
6
|
+
readonly Image: "IMAGE";
|
|
7
|
+
readonly Video: "VIDEO";
|
|
8
|
+
};
|
|
9
|
+
export type PostMediaType = OpenEnum<typeof PostMediaType>;
|
|
10
|
+
/**
|
|
11
|
+
* The processing lifecycle phase managed by the Python transcoder workers.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Status: {
|
|
14
|
+
readonly Processing: "PROCESSING";
|
|
15
|
+
readonly Ready: "READY";
|
|
16
|
+
readonly Failed: "FAILED";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The processing lifecycle phase managed by the Python transcoder workers.
|
|
20
|
+
*/
|
|
21
|
+
export type Status = OpenEnum<typeof Status>;
|
|
22
|
+
export type Post = {
|
|
23
|
+
id?: number | undefined;
|
|
24
|
+
userId?: number | undefined;
|
|
25
|
+
caption?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Fully resolved asset URI served out of SeaweedFS mapping
|
|
28
|
+
*/
|
|
29
|
+
mediaUrl?: string | undefined;
|
|
30
|
+
mediaType?: PostMediaType | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The processing lifecycle phase managed by the Python transcoder workers.
|
|
33
|
+
*/
|
|
34
|
+
status?: Status | undefined;
|
|
35
|
+
createdAt?: Date | undefined;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const PostMediaType$inboundSchema: z.ZodMiniType<PostMediaType, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const Status$inboundSchema: z.ZodMiniType<Status, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const Post$inboundSchema: z.ZodMiniType<Post, unknown>;
|
|
43
|
+
export declare function postFromJSON(jsonString: string): SafeParseResult<Post, SDKValidationError>;
|
|
44
|
+
//# sourceMappingURL=post.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,aAAa,EACb,OAAO,CACiC,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CACxC,CAAC;AAEzB,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAQ1D,CAAC;AAEH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../lib/schemas.js";
|
|
6
|
+
import * as openEnums from "../types/enums.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
export const PostMediaType = {
|
|
9
|
+
Image: "IMAGE",
|
|
10
|
+
Video: "VIDEO",
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The processing lifecycle phase managed by the Python transcoder workers.
|
|
14
|
+
*/
|
|
15
|
+
export const Status = {
|
|
16
|
+
Processing: "PROCESSING",
|
|
17
|
+
Ready: "READY",
|
|
18
|
+
Failed: "FAILED",
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PostMediaType$inboundSchema = openEnums.inboundSchema(PostMediaType);
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const Status$inboundSchema = openEnums
|
|
24
|
+
.inboundSchema(Status);
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const Post$inboundSchema = z.object({
|
|
27
|
+
id: types.optional(types.number()),
|
|
28
|
+
userId: types.optional(types.number()),
|
|
29
|
+
caption: types.optional(types.string()),
|
|
30
|
+
mediaUrl: types.optional(types.string()),
|
|
31
|
+
mediaType: types.optional(PostMediaType$inboundSchema),
|
|
32
|
+
status: types.optional(Status$inboundSchema),
|
|
33
|
+
createdAt: types.optional(types.date()),
|
|
34
|
+
});
|
|
35
|
+
export function postFromJSON(jsonString) {
|
|
36
|
+
return safeParse(jsonString, (x) => Post$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Post' from JSON`);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACN,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAsBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAE3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAmC,SAAS;KAC1E,aAAa,CAAC,MAAM,CAAC,CAAC;AAEzB,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,MAAM,CAAC;IACvE,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACtD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC5C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,YAAY,CAC1B,UAAkB,EACyB;IAC3C,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type RegisterRequest = {
|
|
3
|
+
username: string;
|
|
4
|
+
password: string;
|
|
5
|
+
displayName?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export type RegisterRequest$Outbound = {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
displayName?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const RegisterRequest$outboundSchema: z.ZodMiniType<RegisterRequest$Outbound, RegisterRequest>;
|
|
15
|
+
export declare function registerRequestToJSON(registerRequest: RegisterRequest): string;
|
|
16
|
+
//# sourceMappingURL=register-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-request.d.ts","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,wBAAwB,EACxB,eAAe,CAKf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const RegisterRequest$outboundSchema = z.object({
|
|
7
|
+
username: z.string(),
|
|
8
|
+
password: z.string(),
|
|
9
|
+
displayName: z.optional(z.string()),
|
|
10
|
+
});
|
|
11
|
+
export function registerRequestToJSON(registerRequest) {
|
|
12
|
+
return JSON.stringify(RegisterRequest$outboundSchema.parse(registerRequest));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=register-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-request.js","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAejC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACpC,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 Security = {
|
|
3
|
+
bearerAuth: string;
|
|
4
|
+
};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type Security$Outbound = {
|
|
7
|
+
BearerAuth: string;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const Security$outboundSchema: z.ZodMiniType<Security$Outbound, Security>;
|
|
11
|
+
export declare function securityToJSON(security: Security): string;
|
|
12
|
+
//# sourceMappingURL=security.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/models/security.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,MAAM,QAAQ,GAAG;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,WAAW,CACjD,iBAAiB,EACjB,QAAQ,CAUT,CAAC;AAEF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEzD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const Security$outboundSchema = z.pipe(z.object({
|
|
8
|
+
bearerAuth: z.string(),
|
|
9
|
+
}), z.transform((v) => {
|
|
10
|
+
return remap$(v, {
|
|
11
|
+
bearerAuth: "BearerAuth",
|
|
12
|
+
});
|
|
13
|
+
}));
|
|
14
|
+
export function securityToJSON(security) {
|
|
15
|
+
return JSON.stringify(Security$outboundSchema.parse(security));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=security.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../src/models/security.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAWvD,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAGhC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,YAAY;KACzB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,cAAc,CAAC,QAAkB,EAAU;IACzD,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AAAA,CAChE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 User = {
|
|
5
|
+
id?: number | undefined;
|
|
6
|
+
username?: string | undefined;
|
|
7
|
+
displayName?: string | undefined;
|
|
8
|
+
createdAt?: Date | undefined;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const User$inboundSchema: z.ZodMiniType<User, unknown>;
|
|
12
|
+
export declare function userFromJSON(jsonString: string): SafeParseResult<User, SDKValidationError>;
|
|
13
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/models/user.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAK1D,CAAC;AAEH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../lib/schemas.js";
|
|
6
|
+
import * as types from "../types/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const User$inboundSchema = z.object({
|
|
9
|
+
id: types.optional(types.number()),
|
|
10
|
+
username: types.optional(types.string()),
|
|
11
|
+
displayName: types.optional(types.string()),
|
|
12
|
+
createdAt: types.optional(types.date()),
|
|
13
|
+
});
|
|
14
|
+
export function userFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => User$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'User' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/models/user.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAUhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,MAAM,CAAC;IACvE,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,YAAY,CAC1B,UAAkB,EACyB;IAC3C,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as models from "../models/index.js";
|
|
3
|
+
import * as operations from "../models/operations/index.js";
|
|
4
|
+
export declare class Authentication extends ClientSDK {
|
|
5
|
+
/**
|
|
6
|
+
* Register a new user
|
|
7
|
+
*/
|
|
8
|
+
registerUser(request: models.RegisterRequest, options?: RequestOptions): Promise<models.User>;
|
|
9
|
+
/**
|
|
10
|
+
* Authenticate user and receive a token
|
|
11
|
+
*/
|
|
12
|
+
loginUser(request: models.LoginRequest, options?: RequestOptions): Promise<operations.LoginUserResponse>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../src/sdk/authentication.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,cAAe,SAAQ,SAAS;IAC3C;;OAEG;IACG,YAAY,CAChB,OAAO,EAAE,MAAM,CAAC,eAAe,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAMtB;IAED;;OAEG;IACG,SAAS,CACb,OAAO,EAAE,MAAM,CAAC,YAAY,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAMvC;CACF"}
|