@schedulin/sdk 0.1.0
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/LICENSE +21 -0
- package/README.md +303 -0
- package/cjs/BaseClient.d.ts +42 -0
- package/cjs/BaseClient.js +74 -0
- package/cjs/Client.d.ts +35 -0
- package/cjs/Client.js +98 -0
- package/cjs/api/errors/InternalServerError.d.ts +6 -0
- package/cjs/api/errors/InternalServerError.js +54 -0
- package/cjs/api/errors/UnauthorizedError.d.ts +6 -0
- package/cjs/api/errors/UnauthorizedError.js +54 -0
- package/cjs/api/errors/index.d.ts +2 -0
- package/cjs/api/errors/index.js +18 -0
- package/cjs/api/index.d.ts +3 -0
- package/cjs/api/index.js +19 -0
- package/cjs/api/resources/index.d.ts +12 -0
- package/cjs/api/resources/index.js +51 -0
- package/cjs/api/resources/media/client/Client.d.ts +107 -0
- package/cjs/api/resources/media/client/Client.js +411 -0
- package/cjs/api/resources/media/client/index.d.ts +1 -0
- package/cjs/api/resources/media/client/index.js +17 -0
- package/cjs/api/resources/media/client/requests/CreatePresignedPost.d.ts +21 -0
- package/cjs/api/resources/media/client/requests/CreatePresignedPost.js +12 -0
- package/cjs/api/resources/media/client/requests/ListMediaRequest.d.ts +13 -0
- package/cjs/api/resources/media/client/requests/ListMediaRequest.js +3 -0
- package/cjs/api/resources/media/client/requests/RetrieveMediaRequest.d.ts +9 -0
- package/cjs/api/resources/media/client/requests/RetrieveMediaRequest.js +3 -0
- package/cjs/api/resources/media/client/requests/SetTagsMediaRequest.d.ts +11 -0
- package/cjs/api/resources/media/client/requests/SetTagsMediaRequest.js +3 -0
- package/cjs/api/resources/media/client/requests/UpdateMediaRequest.d.ts +16 -0
- package/cjs/api/resources/media/client/requests/UpdateMediaRequest.js +3 -0
- package/cjs/api/resources/media/client/requests/index.d.ts +5 -0
- package/cjs/api/resources/media/client/requests/index.js +5 -0
- package/cjs/api/resources/media/exports.d.ts +2 -0
- package/cjs/api/resources/media/exports.js +21 -0
- package/cjs/api/resources/media/index.d.ts +2 -0
- package/cjs/api/resources/media/index.js +18 -0
- package/cjs/api/resources/media/types/CountByTagMediaResponse.d.ts +12 -0
- package/cjs/api/resources/media/types/CountByTagMediaResponse.js +3 -0
- package/cjs/api/resources/media/types/ListMediaRequestCursor.d.ts +4 -0
- package/cjs/api/resources/media/types/ListMediaRequestCursor.js +3 -0
- package/cjs/api/resources/media/types/ListMediaRequestTagMode.d.ts +5 -0
- package/cjs/api/resources/media/types/ListMediaRequestTagMode.js +8 -0
- package/cjs/api/resources/media/types/ListMediaRequestType.d.ts +6 -0
- package/cjs/api/resources/media/types/ListMediaRequestType.js +9 -0
- package/cjs/api/resources/media/types/index.d.ts +4 -0
- package/cjs/api/resources/media/types/index.js +20 -0
- package/cjs/api/resources/posts/client/Client.d.ts +187 -0
- package/cjs/api/resources/posts/client/Client.js +710 -0
- package/cjs/api/resources/posts/client/index.d.ts +1 -0
- package/cjs/api/resources/posts/client/index.js +17 -0
- package/cjs/api/resources/posts/client/requests/AnalyticsSeriesPostsRequest.d.ts +10 -0
- package/cjs/api/resources/posts/client/requests/AnalyticsSeriesPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/AnalyticsSummaryPostsRequest.d.ts +9 -0
- package/cjs/api/resources/posts/client/requests/AnalyticsSummaryPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/DeletePostsRequest.d.ts +9 -0
- package/cjs/api/resources/posts/client/requests/DeletePostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/GetJobStatusPostsRequest.d.ts +9 -0
- package/cjs/api/resources/posts/client/requests/GetJobStatusPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/ListPostsRequest.d.ts +15 -0
- package/cjs/api/resources/posts/client/requests/ListPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/PostCreate.d.ts +183 -0
- package/cjs/api/resources/posts/client/requests/PostCreate.js +103 -0
- package/cjs/api/resources/posts/client/requests/PublishDraftPostsRequest.d.ts +10 -0
- package/cjs/api/resources/posts/client/requests/PublishDraftPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/RetrievePostsRequest.d.ts +9 -0
- package/cjs/api/resources/posts/client/requests/RetrievePostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/UpdatePostsRequest.d.ts +36 -0
- package/cjs/api/resources/posts/client/requests/UpdatePostsRequest.js +14 -0
- package/cjs/api/resources/posts/client/requests/UpdateTagsPostsRequest.d.ts +11 -0
- package/cjs/api/resources/posts/client/requests/UpdateTagsPostsRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/V0PostCountByTabRequest.d.ts +7 -0
- package/cjs/api/resources/posts/client/requests/V0PostCountByTabRequest.js +3 -0
- package/cjs/api/resources/posts/client/requests/index.d.ts +11 -0
- package/cjs/api/resources/posts/client/requests/index.js +7 -0
- package/cjs/api/resources/posts/exports.d.ts +2 -0
- package/cjs/api/resources/posts/exports.js +21 -0
- package/cjs/api/resources/posts/index.d.ts +2 -0
- package/cjs/api/resources/posts/index.js +18 -0
- package/cjs/api/resources/posts/types/AnalyticsSeriesPostsResponse.d.ts +15 -0
- package/cjs/api/resources/posts/types/AnalyticsSeriesPostsResponse.js +3 -0
- package/cjs/api/resources/posts/types/AnalyticsSummaryPostsResponse.d.ts +6 -0
- package/cjs/api/resources/posts/types/AnalyticsSummaryPostsResponse.js +3 -0
- package/cjs/api/resources/posts/types/CreatePostsResponse.d.ts +59 -0
- package/cjs/api/resources/posts/types/CreatePostsResponse.js +36 -0
- package/cjs/api/resources/posts/types/ListPostsRequestApprovalStatus.d.ts +7 -0
- package/cjs/api/resources/posts/types/ListPostsRequestApprovalStatus.js +10 -0
- package/cjs/api/resources/posts/types/ListPostsRequestStatus.d.ts +8 -0
- package/cjs/api/resources/posts/types/ListPostsRequestStatus.js +11 -0
- package/cjs/api/resources/posts/types/ListPostsRequestTagMode.d.ts +5 -0
- package/cjs/api/resources/posts/types/ListPostsRequestTagMode.js +8 -0
- package/cjs/api/resources/posts/types/ListPostsResponse.d.ts +7 -0
- package/cjs/api/resources/posts/types/ListPostsResponse.js +3 -0
- package/cjs/api/resources/posts/types/index.d.ts +7 -0
- package/cjs/api/resources/posts/types/index.js +23 -0
- package/cjs/api/resources/socialAccounts/client/Client.d.ts +107 -0
- package/cjs/api/resources/socialAccounts/client/Client.js +415 -0
- package/cjs/api/resources/socialAccounts/client/index.d.ts +1 -0
- package/cjs/api/resources/socialAccounts/client/index.js +17 -0
- package/cjs/api/resources/socialAccounts/client/requests/DeleteSocialAccountsRequest.d.ts +9 -0
- package/cjs/api/resources/socialAccounts/client/requests/DeleteSocialAccountsRequest.js +3 -0
- package/cjs/api/resources/socialAccounts/client/requests/PinterestBoardsSocialAccountsRequest.d.ts +9 -0
- package/cjs/api/resources/socialAccounts/client/requests/PinterestBoardsSocialAccountsRequest.js +3 -0
- package/cjs/api/resources/socialAccounts/client/requests/TiktokCreatorInfoSocialAccountsRequest.d.ts +9 -0
- package/cjs/api/resources/socialAccounts/client/requests/TiktokCreatorInfoSocialAccountsRequest.js +3 -0
- package/cjs/api/resources/socialAccounts/client/requests/UpdateSocialAccountsRequest.d.ts +17 -0
- package/cjs/api/resources/socialAccounts/client/requests/UpdateSocialAccountsRequest.js +11 -0
- package/cjs/api/resources/socialAccounts/client/requests/UpdateTimezoneSocialAccountsRequest.d.ts +11 -0
- package/cjs/api/resources/socialAccounts/client/requests/UpdateTimezoneSocialAccountsRequest.js +3 -0
- package/cjs/api/resources/socialAccounts/client/requests/index.d.ts +5 -0
- package/cjs/api/resources/socialAccounts/client/requests/index.js +5 -0
- package/cjs/api/resources/socialAccounts/exports.d.ts +2 -0
- package/cjs/api/resources/socialAccounts/exports.js +21 -0
- package/cjs/api/resources/socialAccounts/index.d.ts +2 -0
- package/cjs/api/resources/socialAccounts/index.js +18 -0
- package/cjs/api/resources/socialAccounts/types/DeleteSocialAccountsResponse.d.ts +3 -0
- package/cjs/api/resources/socialAccounts/types/DeleteSocialAccountsResponse.js +3 -0
- package/cjs/api/resources/socialAccounts/types/ListSocialAccountsResponse.d.ts +41 -0
- package/cjs/api/resources/socialAccounts/types/ListSocialAccountsResponse.js +30 -0
- package/cjs/api/resources/socialAccounts/types/PinterestBoardsSocialAccountsResponse.d.ts +21 -0
- package/cjs/api/resources/socialAccounts/types/PinterestBoardsSocialAccountsResponse.js +18 -0
- package/cjs/api/resources/socialAccounts/types/TiktokCreatorInfoSocialAccountsResponse.d.ts +21 -0
- package/cjs/api/resources/socialAccounts/types/TiktokCreatorInfoSocialAccountsResponse.js +3 -0
- package/cjs/api/resources/socialAccounts/types/UpdateSocialAccountsResponse.d.ts +3 -0
- package/cjs/api/resources/socialAccounts/types/UpdateSocialAccountsResponse.js +3 -0
- package/cjs/api/resources/socialAccounts/types/UpdateTimezoneSocialAccountsResponse.d.ts +3 -0
- package/cjs/api/resources/socialAccounts/types/UpdateTimezoneSocialAccountsResponse.js +3 -0
- package/cjs/api/resources/socialAccounts/types/index.d.ts +6 -0
- package/cjs/api/resources/socialAccounts/types/index.js +22 -0
- package/cjs/api/resources/tags/client/Client.d.ts +78 -0
- package/cjs/api/resources/tags/client/Client.js +303 -0
- package/cjs/api/resources/tags/client/index.d.ts +1 -0
- package/cjs/api/resources/tags/client/index.js +17 -0
- package/cjs/api/resources/tags/client/requests/CreateTagsRequest.d.ts +11 -0
- package/cjs/api/resources/tags/client/requests/CreateTagsRequest.js +3 -0
- package/cjs/api/resources/tags/client/requests/DeleteTagsRequest.d.ts +9 -0
- package/cjs/api/resources/tags/client/requests/DeleteTagsRequest.js +3 -0
- package/cjs/api/resources/tags/client/requests/ListTagsRequest.d.ts +8 -0
- package/cjs/api/resources/tags/client/requests/ListTagsRequest.js +3 -0
- package/cjs/api/resources/tags/client/requests/UpdateTagsRequest.d.ts +13 -0
- package/cjs/api/resources/tags/client/requests/UpdateTagsRequest.js +3 -0
- package/cjs/api/resources/tags/client/requests/index.d.ts +4 -0
- package/cjs/api/resources/tags/client/requests/index.js +2 -0
- package/cjs/api/resources/tags/exports.d.ts +2 -0
- package/cjs/api/resources/tags/exports.js +21 -0
- package/cjs/api/resources/tags/index.d.ts +2 -0
- package/cjs/api/resources/tags/index.js +18 -0
- package/cjs/api/resources/tags/types/ListTagsResponse.d.ts +4 -0
- package/cjs/api/resources/tags/types/ListTagsResponse.js +3 -0
- package/cjs/api/resources/tags/types/index.d.ts +1 -0
- package/cjs/api/resources/tags/types/index.js +17 -0
- package/cjs/api/types/AnalyticsStatus.d.ts +6 -0
- package/cjs/api/types/AnalyticsStatus.js +9 -0
- package/cjs/api/types/ErrorResponse.d.ts +10 -0
- package/cjs/api/types/ErrorResponse.js +3 -0
- package/cjs/api/types/ImageProcessingStatus.d.ts +7 -0
- package/cjs/api/types/ImageProcessingStatus.js +10 -0
- package/cjs/api/types/ListPostsRequestScheduledAt.d.ts +4 -0
- package/cjs/api/types/ListPostsRequestScheduledAt.js +3 -0
- package/cjs/api/types/Media.d.ts +14 -0
- package/cjs/api/types/Media.js +3 -0
- package/cjs/api/types/MediaSearch.d.ts +25 -0
- package/cjs/api/types/MediaSearch.js +16 -0
- package/cjs/api/types/MediaSetTags.d.ts +4 -0
- package/cjs/api/types/MediaSetTags.js +3 -0
- package/cjs/api/types/MediaUpdate.d.ts +9 -0
- package/cjs/api/types/MediaUpdate.js +3 -0
- package/cjs/api/types/OauthScope.d.ts +36 -0
- package/cjs/api/types/OauthScope.js +39 -0
- package/cjs/api/types/Post.d.ts +19 -0
- package/cjs/api/types/Post.js +3 -0
- package/cjs/api/types/PostApprovalStatus.d.ts +7 -0
- package/cjs/api/types/PostApprovalStatus.js +10 -0
- package/cjs/api/types/PostPublishDraft.d.ts +4 -0
- package/cjs/api/types/PostPublishDraft.js +3 -0
- package/cjs/api/types/PostSearch.d.ts +36 -0
- package/cjs/api/types/PostSearch.js +24 -0
- package/cjs/api/types/PostStatus.d.ts +8 -0
- package/cjs/api/types/PostStatus.js +11 -0
- package/cjs/api/types/PostWithRelations.d.ts +68 -0
- package/cjs/api/types/PostWithRelations.js +36 -0
- package/cjs/api/types/PresignedPost.d.ts +11 -0
- package/cjs/api/types/PresignedPost.js +10 -0
- package/cjs/api/types/SocialAccount.d.ts +20 -0
- package/cjs/api/types/SocialAccount.js +11 -0
- package/cjs/api/types/SocialAccountDisconnectedReason.d.ts +9 -0
- package/cjs/api/types/SocialAccountDisconnectedReason.js +12 -0
- package/cjs/api/types/SocialAccountPublic.d.ts +17 -0
- package/cjs/api/types/SocialAccountPublic.js +11 -0
- package/cjs/api/types/SocialAccountUpdate.d.ts +11 -0
- package/cjs/api/types/SocialAccountUpdate.js +11 -0
- package/cjs/api/types/SocialPlatform.d.ts +14 -0
- package/cjs/api/types/SocialPlatform.js +17 -0
- package/cjs/api/types/Tag.d.ts +7 -0
- package/cjs/api/types/Tag.js +3 -0
- package/cjs/api/types/TagSearch.d.ts +4 -0
- package/cjs/api/types/TagSearch.js +3 -0
- package/cjs/api/types/TagUpsert.d.ts +5 -0
- package/cjs/api/types/TagUpsert.js +3 -0
- package/cjs/api/types/index.d.ts +24 -0
- package/cjs/api/types/index.js +40 -0
- package/cjs/auth/HeaderAuthProvider.d.ts +20 -0
- package/cjs/auth/HeaderAuthProvider.js +80 -0
- package/cjs/auth/index.d.ts +1 -0
- package/cjs/auth/index.js +5 -0
- package/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/cjs/core/auth/AuthProvider.js +9 -0
- package/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/cjs/core/auth/AuthRequest.js +2 -0
- package/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/cjs/core/auth/BasicAuth.js +33 -0
- package/cjs/core/auth/BearerToken.d.ts +7 -0
- package/cjs/core/auth/BearerToken.js +16 -0
- package/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/cjs/core/auth/index.d.ts +5 -0
- package/cjs/core/auth/index.js +11 -0
- package/cjs/core/base64.d.ts +2 -0
- package/cjs/core/base64.js +26 -0
- package/cjs/core/exports.d.ts +1 -0
- package/cjs/core/exports.js +17 -0
- package/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/cjs/core/fetcher/APIResponse.js +2 -0
- package/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/cjs/core/fetcher/Fetcher.js +327 -0
- package/cjs/core/fetcher/Headers.d.ts +2 -0
- package/cjs/core/fetcher/Headers.js +84 -0
- package/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/cjs/core/fetcher/RawResponse.js +44 -0
- package/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/cjs/core/fetcher/Supplier.js +22 -0
- package/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/cjs/core/fetcher/getFetchFn.js +17 -0
- package/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/cjs/core/fetcher/getHeader.js +11 -0
- package/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/cjs/core/fetcher/getRequestBody.js +27 -0
- package/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/cjs/core/fetcher/getResponseBody.js +80 -0
- package/cjs/core/fetcher/index.d.ts +13 -0
- package/cjs/core/fetcher/index.js +19 -0
- package/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/cjs/core/fetcher/makePassthroughRequest.js +135 -0
- package/cjs/core/fetcher/makeRequest.d.ts +6 -0
- package/cjs/core/fetcher/makeRequest.js +61 -0
- package/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/cjs/core/fetcher/requestWithRetries.js +70 -0
- package/cjs/core/fetcher/signals.d.ts +5 -0
- package/cjs/core/fetcher/signals.js +32 -0
- package/cjs/core/headers.d.ts +2 -0
- package/cjs/core/headers.js +31 -0
- package/cjs/core/index.d.ts +6 -0
- package/cjs/core/index.js +45 -0
- package/cjs/core/json.d.ts +15 -0
- package/cjs/core/json.js +24 -0
- package/cjs/core/logging/exports.d.ts +18 -0
- package/cjs/core/logging/exports.js +45 -0
- package/cjs/core/logging/index.d.ts +1 -0
- package/cjs/core/logging/index.js +17 -0
- package/cjs/core/logging/logger.d.ts +126 -0
- package/cjs/core/logging/logger.js +144 -0
- package/cjs/core/runtime/index.d.ts +1 -0
- package/cjs/core/runtime/index.js +5 -0
- package/cjs/core/runtime/runtime.d.ts +9 -0
- package/cjs/core/runtime/runtime.js +104 -0
- package/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/cjs/core/url/QueryStringBuilder.js +83 -0
- package/cjs/core/url/encodePathParam.d.ts +1 -0
- package/cjs/core/url/encodePathParam.js +21 -0
- package/cjs/core/url/index.d.ts +4 -0
- package/cjs/core/url/index.js +11 -0
- package/cjs/core/url/join.d.ts +1 -0
- package/cjs/core/url/join.js +68 -0
- package/cjs/core/url/qs.d.ts +7 -0
- package/cjs/core/url/qs.js +76 -0
- package/cjs/environments.d.ts +4 -0
- package/cjs/environments.js +7 -0
- package/cjs/errors/SchedulinError.d.ts +14 -0
- package/cjs/errors/SchedulinError.js +35 -0
- package/cjs/errors/SchedulinTimeoutError.d.ts +6 -0
- package/cjs/errors/SchedulinTimeoutError.js +18 -0
- package/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/cjs/errors/index.d.ts +2 -0
- package/cjs/errors/index.js +7 -0
- package/cjs/exports.d.ts +1 -0
- package/cjs/exports.js +17 -0
- package/cjs/index.d.ts +6 -0
- package/cjs/index.js +48 -0
- package/esm/BaseClient.d.mts +42 -0
- package/esm/BaseClient.mjs +37 -0
- package/esm/Client.d.mts +35 -0
- package/esm/Client.mjs +61 -0
- package/esm/api/errors/InternalServerError.d.mts +6 -0
- package/esm/api/errors/InternalServerError.mjs +17 -0
- package/esm/api/errors/UnauthorizedError.d.mts +6 -0
- package/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/esm/api/errors/index.d.mts +2 -0
- package/esm/api/errors/index.mjs +2 -0
- package/esm/api/index.d.mts +3 -0
- package/esm/api/index.mjs +3 -0
- package/esm/api/resources/index.d.mts +12 -0
- package/esm/api/resources/index.mjs +12 -0
- package/esm/api/resources/media/client/Client.d.mts +107 -0
- package/esm/api/resources/media/client/Client.mjs +374 -0
- package/esm/api/resources/media/client/index.d.mts +1 -0
- package/esm/api/resources/media/client/index.mjs +1 -0
- package/esm/api/resources/media/client/requests/CreatePresignedPost.d.mts +21 -0
- package/esm/api/resources/media/client/requests/CreatePresignedPost.mjs +9 -0
- package/esm/api/resources/media/client/requests/ListMediaRequest.d.mts +13 -0
- package/esm/api/resources/media/client/requests/ListMediaRequest.mjs +2 -0
- package/esm/api/resources/media/client/requests/RetrieveMediaRequest.d.mts +9 -0
- package/esm/api/resources/media/client/requests/RetrieveMediaRequest.mjs +2 -0
- package/esm/api/resources/media/client/requests/SetTagsMediaRequest.d.mts +11 -0
- package/esm/api/resources/media/client/requests/SetTagsMediaRequest.mjs +2 -0
- package/esm/api/resources/media/client/requests/UpdateMediaRequest.d.mts +16 -0
- package/esm/api/resources/media/client/requests/UpdateMediaRequest.mjs +2 -0
- package/esm/api/resources/media/client/requests/index.d.mts +5 -0
- package/esm/api/resources/media/client/requests/index.mjs +1 -0
- package/esm/api/resources/media/exports.d.mts +2 -0
- package/esm/api/resources/media/exports.mjs +3 -0
- package/esm/api/resources/media/index.d.mts +2 -0
- package/esm/api/resources/media/index.mjs +2 -0
- package/esm/api/resources/media/types/CountByTagMediaResponse.d.mts +12 -0
- package/esm/api/resources/media/types/CountByTagMediaResponse.mjs +2 -0
- package/esm/api/resources/media/types/ListMediaRequestCursor.d.mts +4 -0
- package/esm/api/resources/media/types/ListMediaRequestCursor.mjs +2 -0
- package/esm/api/resources/media/types/ListMediaRequestTagMode.d.mts +5 -0
- package/esm/api/resources/media/types/ListMediaRequestTagMode.mjs +5 -0
- package/esm/api/resources/media/types/ListMediaRequestType.d.mts +6 -0
- package/esm/api/resources/media/types/ListMediaRequestType.mjs +6 -0
- package/esm/api/resources/media/types/index.d.mts +4 -0
- package/esm/api/resources/media/types/index.mjs +4 -0
- package/esm/api/resources/posts/client/Client.d.mts +187 -0
- package/esm/api/resources/posts/client/Client.mjs +673 -0
- package/esm/api/resources/posts/client/index.d.mts +1 -0
- package/esm/api/resources/posts/client/index.mjs +1 -0
- package/esm/api/resources/posts/client/requests/AnalyticsSeriesPostsRequest.d.mts +10 -0
- package/esm/api/resources/posts/client/requests/AnalyticsSeriesPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/AnalyticsSummaryPostsRequest.d.mts +9 -0
- package/esm/api/resources/posts/client/requests/AnalyticsSummaryPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/DeletePostsRequest.d.mts +9 -0
- package/esm/api/resources/posts/client/requests/DeletePostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/GetJobStatusPostsRequest.d.mts +9 -0
- package/esm/api/resources/posts/client/requests/GetJobStatusPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/ListPostsRequest.d.mts +15 -0
- package/esm/api/resources/posts/client/requests/ListPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/PostCreate.d.mts +183 -0
- package/esm/api/resources/posts/client/requests/PostCreate.mjs +100 -0
- package/esm/api/resources/posts/client/requests/PublishDraftPostsRequest.d.mts +10 -0
- package/esm/api/resources/posts/client/requests/PublishDraftPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/RetrievePostsRequest.d.mts +9 -0
- package/esm/api/resources/posts/client/requests/RetrievePostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/UpdatePostsRequest.d.mts +36 -0
- package/esm/api/resources/posts/client/requests/UpdatePostsRequest.mjs +11 -0
- package/esm/api/resources/posts/client/requests/UpdateTagsPostsRequest.d.mts +11 -0
- package/esm/api/resources/posts/client/requests/UpdateTagsPostsRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/V0PostCountByTabRequest.d.mts +7 -0
- package/esm/api/resources/posts/client/requests/V0PostCountByTabRequest.mjs +2 -0
- package/esm/api/resources/posts/client/requests/index.d.mts +11 -0
- package/esm/api/resources/posts/client/requests/index.mjs +2 -0
- package/esm/api/resources/posts/exports.d.mts +2 -0
- package/esm/api/resources/posts/exports.mjs +3 -0
- package/esm/api/resources/posts/index.d.mts +2 -0
- package/esm/api/resources/posts/index.mjs +2 -0
- package/esm/api/resources/posts/types/AnalyticsSeriesPostsResponse.d.mts +15 -0
- package/esm/api/resources/posts/types/AnalyticsSeriesPostsResponse.mjs +2 -0
- package/esm/api/resources/posts/types/AnalyticsSummaryPostsResponse.d.mts +6 -0
- package/esm/api/resources/posts/types/AnalyticsSummaryPostsResponse.mjs +2 -0
- package/esm/api/resources/posts/types/CreatePostsResponse.d.mts +59 -0
- package/esm/api/resources/posts/types/CreatePostsResponse.mjs +33 -0
- package/esm/api/resources/posts/types/ListPostsRequestApprovalStatus.d.mts +7 -0
- package/esm/api/resources/posts/types/ListPostsRequestApprovalStatus.mjs +7 -0
- package/esm/api/resources/posts/types/ListPostsRequestStatus.d.mts +8 -0
- package/esm/api/resources/posts/types/ListPostsRequestStatus.mjs +8 -0
- package/esm/api/resources/posts/types/ListPostsRequestTagMode.d.mts +5 -0
- package/esm/api/resources/posts/types/ListPostsRequestTagMode.mjs +5 -0
- package/esm/api/resources/posts/types/ListPostsResponse.d.mts +7 -0
- package/esm/api/resources/posts/types/ListPostsResponse.mjs +2 -0
- package/esm/api/resources/posts/types/index.d.mts +7 -0
- package/esm/api/resources/posts/types/index.mjs +7 -0
- package/esm/api/resources/socialAccounts/client/Client.d.mts +107 -0
- package/esm/api/resources/socialAccounts/client/Client.mjs +378 -0
- package/esm/api/resources/socialAccounts/client/index.d.mts +1 -0
- package/esm/api/resources/socialAccounts/client/index.mjs +1 -0
- package/esm/api/resources/socialAccounts/client/requests/DeleteSocialAccountsRequest.d.mts +9 -0
- package/esm/api/resources/socialAccounts/client/requests/DeleteSocialAccountsRequest.mjs +2 -0
- package/esm/api/resources/socialAccounts/client/requests/PinterestBoardsSocialAccountsRequest.d.mts +9 -0
- package/esm/api/resources/socialAccounts/client/requests/PinterestBoardsSocialAccountsRequest.mjs +2 -0
- package/esm/api/resources/socialAccounts/client/requests/TiktokCreatorInfoSocialAccountsRequest.d.mts +9 -0
- package/esm/api/resources/socialAccounts/client/requests/TiktokCreatorInfoSocialAccountsRequest.mjs +2 -0
- package/esm/api/resources/socialAccounts/client/requests/UpdateSocialAccountsRequest.d.mts +17 -0
- package/esm/api/resources/socialAccounts/client/requests/UpdateSocialAccountsRequest.mjs +8 -0
- package/esm/api/resources/socialAccounts/client/requests/UpdateTimezoneSocialAccountsRequest.d.mts +11 -0
- package/esm/api/resources/socialAccounts/client/requests/UpdateTimezoneSocialAccountsRequest.mjs +2 -0
- package/esm/api/resources/socialAccounts/client/requests/index.d.mts +5 -0
- package/esm/api/resources/socialAccounts/client/requests/index.mjs +1 -0
- package/esm/api/resources/socialAccounts/exports.d.mts +2 -0
- package/esm/api/resources/socialAccounts/exports.mjs +3 -0
- package/esm/api/resources/socialAccounts/index.d.mts +2 -0
- package/esm/api/resources/socialAccounts/index.mjs +2 -0
- package/esm/api/resources/socialAccounts/types/DeleteSocialAccountsResponse.d.mts +3 -0
- package/esm/api/resources/socialAccounts/types/DeleteSocialAccountsResponse.mjs +2 -0
- package/esm/api/resources/socialAccounts/types/ListSocialAccountsResponse.d.mts +41 -0
- package/esm/api/resources/socialAccounts/types/ListSocialAccountsResponse.mjs +27 -0
- package/esm/api/resources/socialAccounts/types/PinterestBoardsSocialAccountsResponse.d.mts +21 -0
- package/esm/api/resources/socialAccounts/types/PinterestBoardsSocialAccountsResponse.mjs +15 -0
- package/esm/api/resources/socialAccounts/types/TiktokCreatorInfoSocialAccountsResponse.d.mts +21 -0
- package/esm/api/resources/socialAccounts/types/TiktokCreatorInfoSocialAccountsResponse.mjs +2 -0
- package/esm/api/resources/socialAccounts/types/UpdateSocialAccountsResponse.d.mts +3 -0
- package/esm/api/resources/socialAccounts/types/UpdateSocialAccountsResponse.mjs +2 -0
- package/esm/api/resources/socialAccounts/types/UpdateTimezoneSocialAccountsResponse.d.mts +3 -0
- package/esm/api/resources/socialAccounts/types/UpdateTimezoneSocialAccountsResponse.mjs +2 -0
- package/esm/api/resources/socialAccounts/types/index.d.mts +6 -0
- package/esm/api/resources/socialAccounts/types/index.mjs +6 -0
- package/esm/api/resources/tags/client/Client.d.mts +78 -0
- package/esm/api/resources/tags/client/Client.mjs +266 -0
- package/esm/api/resources/tags/client/index.d.mts +1 -0
- package/esm/api/resources/tags/client/index.mjs +1 -0
- package/esm/api/resources/tags/client/requests/CreateTagsRequest.d.mts +11 -0
- package/esm/api/resources/tags/client/requests/CreateTagsRequest.mjs +2 -0
- package/esm/api/resources/tags/client/requests/DeleteTagsRequest.d.mts +9 -0
- package/esm/api/resources/tags/client/requests/DeleteTagsRequest.mjs +2 -0
- package/esm/api/resources/tags/client/requests/ListTagsRequest.d.mts +8 -0
- package/esm/api/resources/tags/client/requests/ListTagsRequest.mjs +2 -0
- package/esm/api/resources/tags/client/requests/UpdateTagsRequest.d.mts +13 -0
- package/esm/api/resources/tags/client/requests/UpdateTagsRequest.mjs +2 -0
- package/esm/api/resources/tags/client/requests/index.d.mts +4 -0
- package/esm/api/resources/tags/client/requests/index.mjs +1 -0
- package/esm/api/resources/tags/exports.d.mts +2 -0
- package/esm/api/resources/tags/exports.mjs +3 -0
- package/esm/api/resources/tags/index.d.mts +2 -0
- package/esm/api/resources/tags/index.mjs +2 -0
- package/esm/api/resources/tags/types/ListTagsResponse.d.mts +4 -0
- package/esm/api/resources/tags/types/ListTagsResponse.mjs +2 -0
- package/esm/api/resources/tags/types/index.d.mts +1 -0
- package/esm/api/resources/tags/types/index.mjs +1 -0
- package/esm/api/types/AnalyticsStatus.d.mts +6 -0
- package/esm/api/types/AnalyticsStatus.mjs +6 -0
- package/esm/api/types/ErrorResponse.d.mts +10 -0
- package/esm/api/types/ErrorResponse.mjs +2 -0
- package/esm/api/types/ImageProcessingStatus.d.mts +7 -0
- package/esm/api/types/ImageProcessingStatus.mjs +7 -0
- package/esm/api/types/ListPostsRequestScheduledAt.d.mts +4 -0
- package/esm/api/types/ListPostsRequestScheduledAt.mjs +2 -0
- package/esm/api/types/Media.d.mts +14 -0
- package/esm/api/types/Media.mjs +2 -0
- package/esm/api/types/MediaSearch.d.mts +25 -0
- package/esm/api/types/MediaSearch.mjs +13 -0
- package/esm/api/types/MediaSetTags.d.mts +4 -0
- package/esm/api/types/MediaSetTags.mjs +2 -0
- package/esm/api/types/MediaUpdate.d.mts +9 -0
- package/esm/api/types/MediaUpdate.mjs +2 -0
- package/esm/api/types/OauthScope.d.mts +36 -0
- package/esm/api/types/OauthScope.mjs +36 -0
- package/esm/api/types/Post.d.mts +19 -0
- package/esm/api/types/Post.mjs +2 -0
- package/esm/api/types/PostApprovalStatus.d.mts +7 -0
- package/esm/api/types/PostApprovalStatus.mjs +7 -0
- package/esm/api/types/PostPublishDraft.d.mts +4 -0
- package/esm/api/types/PostPublishDraft.mjs +2 -0
- package/esm/api/types/PostSearch.d.mts +36 -0
- package/esm/api/types/PostSearch.mjs +21 -0
- package/esm/api/types/PostStatus.d.mts +8 -0
- package/esm/api/types/PostStatus.mjs +8 -0
- package/esm/api/types/PostWithRelations.d.mts +68 -0
- package/esm/api/types/PostWithRelations.mjs +33 -0
- package/esm/api/types/PresignedPost.d.mts +11 -0
- package/esm/api/types/PresignedPost.mjs +7 -0
- package/esm/api/types/SocialAccount.d.mts +20 -0
- package/esm/api/types/SocialAccount.mjs +8 -0
- package/esm/api/types/SocialAccountDisconnectedReason.d.mts +9 -0
- package/esm/api/types/SocialAccountDisconnectedReason.mjs +9 -0
- package/esm/api/types/SocialAccountPublic.d.mts +17 -0
- package/esm/api/types/SocialAccountPublic.mjs +8 -0
- package/esm/api/types/SocialAccountUpdate.d.mts +11 -0
- package/esm/api/types/SocialAccountUpdate.mjs +8 -0
- package/esm/api/types/SocialPlatform.d.mts +14 -0
- package/esm/api/types/SocialPlatform.mjs +14 -0
- package/esm/api/types/Tag.d.mts +7 -0
- package/esm/api/types/Tag.mjs +2 -0
- package/esm/api/types/TagSearch.d.mts +4 -0
- package/esm/api/types/TagSearch.mjs +2 -0
- package/esm/api/types/TagUpsert.d.mts +5 -0
- package/esm/api/types/TagUpsert.mjs +2 -0
- package/esm/api/types/index.d.mts +24 -0
- package/esm/api/types/index.mjs +24 -0
- package/esm/auth/HeaderAuthProvider.d.mts +20 -0
- package/esm/auth/HeaderAuthProvider.mjs +43 -0
- package/esm/auth/index.d.mts +1 -0
- package/esm/auth/index.mjs +1 -0
- package/esm/core/auth/AuthProvider.d.mts +8 -0
- package/esm/core/auth/AuthProvider.mjs +6 -0
- package/esm/core/auth/AuthRequest.d.mts +9 -0
- package/esm/core/auth/AuthRequest.mjs +1 -0
- package/esm/core/auth/BasicAuth.d.mts +8 -0
- package/esm/core/auth/BasicAuth.mjs +30 -0
- package/esm/core/auth/BearerToken.d.mts +7 -0
- package/esm/core/auth/BearerToken.mjs +13 -0
- package/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/esm/core/auth/index.d.mts +5 -0
- package/esm/core/auth/index.mjs +4 -0
- package/esm/core/base64.d.mts +2 -0
- package/esm/core/base64.mjs +22 -0
- package/esm/core/exports.d.mts +1 -0
- package/esm/core/exports.mjs +1 -0
- package/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/esm/core/fetcher/APIResponse.mjs +1 -0
- package/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/esm/core/fetcher/Fetcher.mjs +323 -0
- package/esm/core/fetcher/Headers.d.mts +2 -0
- package/esm/core/fetcher/Headers.mjs +82 -0
- package/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/esm/core/fetcher/RawResponse.mjs +40 -0
- package/esm/core/fetcher/Supplier.d.mts +4 -0
- package/esm/core/fetcher/Supplier.mjs +19 -0
- package/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
- package/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/esm/core/fetcher/getHeader.d.mts +1 -0
- package/esm/core/fetcher/getHeader.mjs +8 -0
- package/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/esm/core/fetcher/getResponseBody.mjs +77 -0
- package/esm/core/fetcher/index.d.mts +13 -0
- package/esm/core/fetcher/index.mjs +7 -0
- package/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
- package/esm/core/fetcher/makeRequest.d.mts +6 -0
- package/esm/core/fetcher/makeRequest.mjs +55 -0
- package/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/esm/core/fetcher/requestWithRetries.mjs +67 -0
- package/esm/core/fetcher/signals.d.mts +5 -0
- package/esm/core/fetcher/signals.mjs +28 -0
- package/esm/core/headers.d.mts +2 -0
- package/esm/core/headers.mjs +27 -0
- package/esm/core/index.d.mts +6 -0
- package/esm/core/index.mjs +6 -0
- package/esm/core/json.d.mts +15 -0
- package/esm/core/json.mjs +19 -0
- package/esm/core/logging/exports.d.mts +18 -0
- package/esm/core/logging/exports.mjs +9 -0
- package/esm/core/logging/index.d.mts +1 -0
- package/esm/core/logging/index.mjs +1 -0
- package/esm/core/logging/logger.d.mts +126 -0
- package/esm/core/logging/logger.mjs +138 -0
- package/esm/core/runtime/index.d.mts +1 -0
- package/esm/core/runtime/index.mjs +1 -0
- package/esm/core/runtime/runtime.d.mts +9 -0
- package/esm/core/runtime/runtime.mjs +101 -0
- package/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/esm/core/url/encodePathParam.d.mts +1 -0
- package/esm/core/url/encodePathParam.mjs +18 -0
- package/esm/core/url/index.d.mts +4 -0
- package/esm/core/url/index.mjs +4 -0
- package/esm/core/url/join.d.mts +1 -0
- package/esm/core/url/join.mjs +65 -0
- package/esm/core/url/qs.d.mts +7 -0
- package/esm/core/url/qs.mjs +73 -0
- package/esm/environments.d.mts +4 -0
- package/esm/environments.mjs +4 -0
- package/esm/errors/SchedulinError.d.mts +14 -0
- package/esm/errors/SchedulinError.mjs +31 -0
- package/esm/errors/SchedulinTimeoutError.d.mts +6 -0
- package/esm/errors/SchedulinTimeoutError.mjs +14 -0
- package/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/esm/errors/index.d.mts +2 -0
- package/esm/errors/index.mjs +2 -0
- package/esm/exports.d.mts +1 -0
- package/esm/exports.mjs +1 -0
- package/esm/index.d.mts +6 -0
- package/esm/index.mjs +5 -0
- package/package.json +44 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schedulin from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface ListPostsRequest {
|
|
7
|
+
page?: number;
|
|
8
|
+
status?: Schedulin.ListPostsRequestStatus;
|
|
9
|
+
approvalStatus?: Schedulin.ListPostsRequestApprovalStatus;
|
|
10
|
+
scheduledAt?: Schedulin.ListPostsRequestScheduledAt;
|
|
11
|
+
tagIds?: string | string[];
|
|
12
|
+
tagMode?: Schedulin.ListPostsRequestTagMode;
|
|
13
|
+
socialAccountIds?: string | string[];
|
|
14
|
+
limit?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* caption: "caption",
|
|
5
|
+
* socialAccountId: "socialAccountId"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface PostCreate {
|
|
9
|
+
caption: string;
|
|
10
|
+
scheduledAt?: string | null;
|
|
11
|
+
socialAccountId: string;
|
|
12
|
+
media?: PostCreate.Media.Item[];
|
|
13
|
+
thumbnail?: PostCreate.Thumbnail;
|
|
14
|
+
platformConfiguration?: Record<string, unknown>;
|
|
15
|
+
tagIds?: string[];
|
|
16
|
+
action?: PostCreate.Action;
|
|
17
|
+
parts?: PostCreate.Parts.Item[];
|
|
18
|
+
}
|
|
19
|
+
export declare namespace PostCreate {
|
|
20
|
+
type Media = Media.Item[];
|
|
21
|
+
namespace Media {
|
|
22
|
+
interface Item {
|
|
23
|
+
url: string;
|
|
24
|
+
thumbnail_url?: (string | null) | undefined;
|
|
25
|
+
thumbnail_timestamp_ms?: (number | null) | undefined;
|
|
26
|
+
tags?: Item.Tags.Item[] | undefined;
|
|
27
|
+
alt?: (string | null) | undefined;
|
|
28
|
+
skip_processing?: boolean | undefined;
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
mimeType?: string | undefined;
|
|
31
|
+
width?: number | undefined;
|
|
32
|
+
height?: number | undefined;
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
duration?: number | undefined;
|
|
35
|
+
}
|
|
36
|
+
namespace Item {
|
|
37
|
+
type Tags = Tags.Item[];
|
|
38
|
+
namespace Tags {
|
|
39
|
+
interface Item {
|
|
40
|
+
id: string;
|
|
41
|
+
type: Item.Type;
|
|
42
|
+
platform: Item.Platform;
|
|
43
|
+
x?: number | undefined;
|
|
44
|
+
y?: number | undefined;
|
|
45
|
+
}
|
|
46
|
+
namespace Item {
|
|
47
|
+
const Type: {
|
|
48
|
+
readonly User: "user";
|
|
49
|
+
readonly Business: "business";
|
|
50
|
+
};
|
|
51
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
52
|
+
const Platform: {
|
|
53
|
+
readonly Bluesky: "bluesky";
|
|
54
|
+
readonly Facebook: "facebook";
|
|
55
|
+
readonly GoogleBusinessProfile: "google_business_profile";
|
|
56
|
+
readonly Instagram: "instagram";
|
|
57
|
+
readonly Linkedin: "linkedin";
|
|
58
|
+
readonly Pinterest: "pinterest";
|
|
59
|
+
readonly Reddit: "reddit";
|
|
60
|
+
readonly Threads: "threads";
|
|
61
|
+
readonly Tiktok: "tiktok";
|
|
62
|
+
readonly Twitter: "twitter";
|
|
63
|
+
readonly Youtube: "youtube";
|
|
64
|
+
};
|
|
65
|
+
type Platform = (typeof Platform)[keyof typeof Platform];
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
interface Thumbnail {
|
|
71
|
+
url: string;
|
|
72
|
+
thumbnail_url?: (string | null) | undefined;
|
|
73
|
+
thumbnail_timestamp_ms?: (number | null) | undefined;
|
|
74
|
+
tags?: Thumbnail.Tags.Item[] | undefined;
|
|
75
|
+
alt?: (string | null) | undefined;
|
|
76
|
+
skip_processing?: boolean | undefined;
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
mimeType?: string | undefined;
|
|
79
|
+
width?: number | undefined;
|
|
80
|
+
height?: number | undefined;
|
|
81
|
+
size?: number | undefined;
|
|
82
|
+
duration?: number | undefined;
|
|
83
|
+
}
|
|
84
|
+
namespace Thumbnail {
|
|
85
|
+
type Tags = Tags.Item[];
|
|
86
|
+
namespace Tags {
|
|
87
|
+
interface Item {
|
|
88
|
+
id: string;
|
|
89
|
+
type: Item.Type;
|
|
90
|
+
platform: Item.Platform;
|
|
91
|
+
x?: number | undefined;
|
|
92
|
+
y?: number | undefined;
|
|
93
|
+
}
|
|
94
|
+
namespace Item {
|
|
95
|
+
const Type: {
|
|
96
|
+
readonly User: "user";
|
|
97
|
+
readonly Business: "business";
|
|
98
|
+
};
|
|
99
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
100
|
+
const Platform: {
|
|
101
|
+
readonly Bluesky: "bluesky";
|
|
102
|
+
readonly Facebook: "facebook";
|
|
103
|
+
readonly GoogleBusinessProfile: "google_business_profile";
|
|
104
|
+
readonly Instagram: "instagram";
|
|
105
|
+
readonly Linkedin: "linkedin";
|
|
106
|
+
readonly Pinterest: "pinterest";
|
|
107
|
+
readonly Reddit: "reddit";
|
|
108
|
+
readonly Threads: "threads";
|
|
109
|
+
readonly Tiktok: "tiktok";
|
|
110
|
+
readonly Twitter: "twitter";
|
|
111
|
+
readonly Youtube: "youtube";
|
|
112
|
+
};
|
|
113
|
+
type Platform = (typeof Platform)[keyof typeof Platform];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
const Action: {
|
|
118
|
+
readonly Schedule: "schedule";
|
|
119
|
+
readonly Queue: "queue";
|
|
120
|
+
readonly Draft: "draft";
|
|
121
|
+
readonly Now: "now";
|
|
122
|
+
};
|
|
123
|
+
type Action = (typeof Action)[keyof typeof Action];
|
|
124
|
+
type Parts = Parts.Item[];
|
|
125
|
+
namespace Parts {
|
|
126
|
+
interface Item {
|
|
127
|
+
caption: string;
|
|
128
|
+
media?: Item.Media.Item[] | undefined;
|
|
129
|
+
}
|
|
130
|
+
namespace Item {
|
|
131
|
+
type Media = Media.Item[];
|
|
132
|
+
namespace Media {
|
|
133
|
+
interface Item {
|
|
134
|
+
url: string;
|
|
135
|
+
thumbnail_url?: (string | null) | undefined;
|
|
136
|
+
thumbnail_timestamp_ms?: (number | null) | undefined;
|
|
137
|
+
tags?: Item.Tags.Item[] | undefined;
|
|
138
|
+
alt?: (string | null) | undefined;
|
|
139
|
+
skip_processing?: boolean | undefined;
|
|
140
|
+
name?: string | undefined;
|
|
141
|
+
mimeType?: string | undefined;
|
|
142
|
+
width?: number | undefined;
|
|
143
|
+
height?: number | undefined;
|
|
144
|
+
size?: number | undefined;
|
|
145
|
+
duration?: number | undefined;
|
|
146
|
+
}
|
|
147
|
+
namespace Item {
|
|
148
|
+
type Tags = Tags.Item[];
|
|
149
|
+
namespace Tags {
|
|
150
|
+
interface Item {
|
|
151
|
+
id: string;
|
|
152
|
+
type: Item.Type;
|
|
153
|
+
platform: Item.Platform;
|
|
154
|
+
x?: number | undefined;
|
|
155
|
+
y?: number | undefined;
|
|
156
|
+
}
|
|
157
|
+
namespace Item {
|
|
158
|
+
const Type: {
|
|
159
|
+
readonly User: "user";
|
|
160
|
+
readonly Business: "business";
|
|
161
|
+
};
|
|
162
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
163
|
+
const Platform: {
|
|
164
|
+
readonly Bluesky: "bluesky";
|
|
165
|
+
readonly Facebook: "facebook";
|
|
166
|
+
readonly GoogleBusinessProfile: "google_business_profile";
|
|
167
|
+
readonly Instagram: "instagram";
|
|
168
|
+
readonly Linkedin: "linkedin";
|
|
169
|
+
readonly Pinterest: "pinterest";
|
|
170
|
+
readonly Reddit: "reddit";
|
|
171
|
+
readonly Threads: "threads";
|
|
172
|
+
readonly Tiktok: "tiktok";
|
|
173
|
+
readonly Twitter: "twitter";
|
|
174
|
+
readonly Youtube: "youtube";
|
|
175
|
+
};
|
|
176
|
+
type Platform = (typeof Platform)[keyof typeof Platform];
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var PostCreate;
|
|
3
|
+
(function (PostCreate) {
|
|
4
|
+
let Media;
|
|
5
|
+
(function (Media) {
|
|
6
|
+
let Item;
|
|
7
|
+
(function (Item_1) {
|
|
8
|
+
let Tags;
|
|
9
|
+
(function (Tags) {
|
|
10
|
+
let Item;
|
|
11
|
+
(function (Item) {
|
|
12
|
+
Item.Type = {
|
|
13
|
+
User: "user",
|
|
14
|
+
Business: "business",
|
|
15
|
+
};
|
|
16
|
+
Item.Platform = {
|
|
17
|
+
Bluesky: "bluesky",
|
|
18
|
+
Facebook: "facebook",
|
|
19
|
+
GoogleBusinessProfile: "google_business_profile",
|
|
20
|
+
Instagram: "instagram",
|
|
21
|
+
Linkedin: "linkedin",
|
|
22
|
+
Pinterest: "pinterest",
|
|
23
|
+
Reddit: "reddit",
|
|
24
|
+
Threads: "threads",
|
|
25
|
+
Tiktok: "tiktok",
|
|
26
|
+
Twitter: "twitter",
|
|
27
|
+
Youtube: "youtube",
|
|
28
|
+
};
|
|
29
|
+
})(Item = Tags.Item || (Tags.Item = {}));
|
|
30
|
+
})(Tags = Item_1.Tags || (Item_1.Tags = {}));
|
|
31
|
+
})(Item = Media.Item || (Media.Item = {}));
|
|
32
|
+
})(Media = PostCreate.Media || (PostCreate.Media = {}));
|
|
33
|
+
let Thumbnail;
|
|
34
|
+
(function (Thumbnail) {
|
|
35
|
+
let Tags;
|
|
36
|
+
(function (Tags) {
|
|
37
|
+
let Item;
|
|
38
|
+
(function (Item) {
|
|
39
|
+
Item.Type = {
|
|
40
|
+
User: "user",
|
|
41
|
+
Business: "business",
|
|
42
|
+
};
|
|
43
|
+
Item.Platform = {
|
|
44
|
+
Bluesky: "bluesky",
|
|
45
|
+
Facebook: "facebook",
|
|
46
|
+
GoogleBusinessProfile: "google_business_profile",
|
|
47
|
+
Instagram: "instagram",
|
|
48
|
+
Linkedin: "linkedin",
|
|
49
|
+
Pinterest: "pinterest",
|
|
50
|
+
Reddit: "reddit",
|
|
51
|
+
Threads: "threads",
|
|
52
|
+
Tiktok: "tiktok",
|
|
53
|
+
Twitter: "twitter",
|
|
54
|
+
Youtube: "youtube",
|
|
55
|
+
};
|
|
56
|
+
})(Item = Tags.Item || (Tags.Item = {}));
|
|
57
|
+
})(Tags = Thumbnail.Tags || (Thumbnail.Tags = {}));
|
|
58
|
+
})(Thumbnail = PostCreate.Thumbnail || (PostCreate.Thumbnail = {}));
|
|
59
|
+
PostCreate.Action = {
|
|
60
|
+
Schedule: "schedule",
|
|
61
|
+
Queue: "queue",
|
|
62
|
+
Draft: "draft",
|
|
63
|
+
Now: "now",
|
|
64
|
+
};
|
|
65
|
+
let Parts;
|
|
66
|
+
(function (Parts) {
|
|
67
|
+
let Item;
|
|
68
|
+
(function (Item_2) {
|
|
69
|
+
let Media;
|
|
70
|
+
(function (Media) {
|
|
71
|
+
let Item;
|
|
72
|
+
(function (Item_3) {
|
|
73
|
+
let Tags;
|
|
74
|
+
(function (Tags) {
|
|
75
|
+
let Item;
|
|
76
|
+
(function (Item) {
|
|
77
|
+
Item.Type = {
|
|
78
|
+
User: "user",
|
|
79
|
+
Business: "business",
|
|
80
|
+
};
|
|
81
|
+
Item.Platform = {
|
|
82
|
+
Bluesky: "bluesky",
|
|
83
|
+
Facebook: "facebook",
|
|
84
|
+
GoogleBusinessProfile: "google_business_profile",
|
|
85
|
+
Instagram: "instagram",
|
|
86
|
+
Linkedin: "linkedin",
|
|
87
|
+
Pinterest: "pinterest",
|
|
88
|
+
Reddit: "reddit",
|
|
89
|
+
Threads: "threads",
|
|
90
|
+
Tiktok: "tiktok",
|
|
91
|
+
Twitter: "twitter",
|
|
92
|
+
Youtube: "youtube",
|
|
93
|
+
};
|
|
94
|
+
})(Item = Tags.Item || (Tags.Item = {}));
|
|
95
|
+
})(Tags = Item_3.Tags || (Item_3.Tags = {}));
|
|
96
|
+
})(Item = Media.Item || (Media.Item = {}));
|
|
97
|
+
})(Media = Item_2.Media || (Item_2.Media = {}));
|
|
98
|
+
})(Item = Parts.Item || (Parts.Item = {}));
|
|
99
|
+
})(Parts = PostCreate.Parts || (PostCreate.Parts = {}));
|
|
100
|
+
})(PostCreate || (PostCreate = {}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "id"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdatePostsRequest {
|
|
8
|
+
id: string;
|
|
9
|
+
caption?: string;
|
|
10
|
+
scheduledAt?: string | null;
|
|
11
|
+
media?: UpdatePostsRequest.Media.Item[];
|
|
12
|
+
platformConfiguration?: Record<string, unknown>;
|
|
13
|
+
status?: UpdatePostsRequest.Status;
|
|
14
|
+
tagIds?: string[];
|
|
15
|
+
}
|
|
16
|
+
export declare namespace UpdatePostsRequest {
|
|
17
|
+
type Media = Media.Item[];
|
|
18
|
+
namespace Media {
|
|
19
|
+
interface Item {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
url: string;
|
|
23
|
+
mimeType: string;
|
|
24
|
+
bucket?: string | undefined;
|
|
25
|
+
key: string;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const Status: {
|
|
29
|
+
readonly Draft: "DRAFT";
|
|
30
|
+
readonly Scheduled: "SCHEDULED";
|
|
31
|
+
readonly Processing: "PROCESSING";
|
|
32
|
+
readonly Completed: "COMPLETED";
|
|
33
|
+
readonly Failed: "FAILED";
|
|
34
|
+
};
|
|
35
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
36
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var UpdatePostsRequest;
|
|
3
|
+
(function (UpdatePostsRequest) {
|
|
4
|
+
UpdatePostsRequest.Status = {
|
|
5
|
+
Draft: "DRAFT",
|
|
6
|
+
Scheduled: "SCHEDULED",
|
|
7
|
+
Processing: "PROCESSING",
|
|
8
|
+
Completed: "COMPLETED",
|
|
9
|
+
Failed: "FAILED",
|
|
10
|
+
};
|
|
11
|
+
})(UpdatePostsRequest || (UpdatePostsRequest = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { AnalyticsSeriesPostsRequest } from "./AnalyticsSeriesPostsRequest.mjs";
|
|
2
|
+
export type { AnalyticsSummaryPostsRequest } from "./AnalyticsSummaryPostsRequest.mjs";
|
|
3
|
+
export type { DeletePostsRequest } from "./DeletePostsRequest.mjs";
|
|
4
|
+
export type { GetJobStatusPostsRequest } from "./GetJobStatusPostsRequest.mjs";
|
|
5
|
+
export type { ListPostsRequest } from "./ListPostsRequest.mjs";
|
|
6
|
+
export { PostCreate } from "./PostCreate.mjs";
|
|
7
|
+
export type { PublishDraftPostsRequest } from "./PublishDraftPostsRequest.mjs";
|
|
8
|
+
export type { RetrievePostsRequest } from "./RetrievePostsRequest.mjs";
|
|
9
|
+
export { UpdatePostsRequest } from "./UpdatePostsRequest.mjs";
|
|
10
|
+
export type { UpdateTagsPostsRequest } from "./UpdateTagsPostsRequest.mjs";
|
|
11
|
+
export type { V0PostCountByTabRequest } from "./V0PostCountByTabRequest.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schedulin from "../../../index.mjs";
|
|
2
|
+
export interface AnalyticsSeriesPostsResponse {
|
|
3
|
+
data: AnalyticsSeriesPostsResponse.Data.Item[];
|
|
4
|
+
}
|
|
5
|
+
export declare namespace AnalyticsSeriesPostsResponse {
|
|
6
|
+
type Data = Data.Item[];
|
|
7
|
+
namespace Data {
|
|
8
|
+
interface Item {
|
|
9
|
+
id: string;
|
|
10
|
+
collectedAt: string;
|
|
11
|
+
platform: Schedulin.SocialPlatform;
|
|
12
|
+
metrics?: (unknown | null) | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type * as Schedulin from "../../../index.mjs";
|
|
2
|
+
export interface CreatePostsResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
externalId: string | null;
|
|
5
|
+
caption: string;
|
|
6
|
+
status: Schedulin.PostStatus;
|
|
7
|
+
scheduledAt: string | null;
|
|
8
|
+
platformConfiguration: Record<string, unknown> | null;
|
|
9
|
+
media: CreatePostsResponse.Media.Item[];
|
|
10
|
+
socialAccounts: Schedulin.SocialAccountPublic[];
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace CreatePostsResponse {
|
|
15
|
+
type Media = Media.Item[];
|
|
16
|
+
namespace Media {
|
|
17
|
+
interface Item {
|
|
18
|
+
url: string;
|
|
19
|
+
thumbnail_url?: (string | null) | undefined;
|
|
20
|
+
thumbnail_timestamp_ms?: (number | null) | undefined;
|
|
21
|
+
tags?: Item.Tags.Item[] | undefined;
|
|
22
|
+
alt?: (string | null) | undefined;
|
|
23
|
+
skip_processing?: boolean | undefined;
|
|
24
|
+
}
|
|
25
|
+
namespace Item {
|
|
26
|
+
type Tags = Tags.Item[];
|
|
27
|
+
namespace Tags {
|
|
28
|
+
interface Item {
|
|
29
|
+
id: string;
|
|
30
|
+
type: Item.Type;
|
|
31
|
+
platform: Item.Platform;
|
|
32
|
+
x?: number | undefined;
|
|
33
|
+
y?: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
namespace Item {
|
|
36
|
+
const Type: {
|
|
37
|
+
readonly User: "user";
|
|
38
|
+
readonly Business: "business";
|
|
39
|
+
};
|
|
40
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
41
|
+
const Platform: {
|
|
42
|
+
readonly Bluesky: "bluesky";
|
|
43
|
+
readonly Facebook: "facebook";
|
|
44
|
+
readonly GoogleBusinessProfile: "google_business_profile";
|
|
45
|
+
readonly Instagram: "instagram";
|
|
46
|
+
readonly Linkedin: "linkedin";
|
|
47
|
+
readonly Pinterest: "pinterest";
|
|
48
|
+
readonly Reddit: "reddit";
|
|
49
|
+
readonly Threads: "threads";
|
|
50
|
+
readonly Tiktok: "tiktok";
|
|
51
|
+
readonly Twitter: "twitter";
|
|
52
|
+
readonly Youtube: "youtube";
|
|
53
|
+
};
|
|
54
|
+
type Platform = (typeof Platform)[keyof typeof Platform];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var CreatePostsResponse;
|
|
3
|
+
(function (CreatePostsResponse) {
|
|
4
|
+
let Media;
|
|
5
|
+
(function (Media) {
|
|
6
|
+
let Item;
|
|
7
|
+
(function (Item_1) {
|
|
8
|
+
let Tags;
|
|
9
|
+
(function (Tags) {
|
|
10
|
+
let Item;
|
|
11
|
+
(function (Item) {
|
|
12
|
+
Item.Type = {
|
|
13
|
+
User: "user",
|
|
14
|
+
Business: "business",
|
|
15
|
+
};
|
|
16
|
+
Item.Platform = {
|
|
17
|
+
Bluesky: "bluesky",
|
|
18
|
+
Facebook: "facebook",
|
|
19
|
+
GoogleBusinessProfile: "google_business_profile",
|
|
20
|
+
Instagram: "instagram",
|
|
21
|
+
Linkedin: "linkedin",
|
|
22
|
+
Pinterest: "pinterest",
|
|
23
|
+
Reddit: "reddit",
|
|
24
|
+
Threads: "threads",
|
|
25
|
+
Tiktok: "tiktok",
|
|
26
|
+
Twitter: "twitter",
|
|
27
|
+
Youtube: "youtube",
|
|
28
|
+
};
|
|
29
|
+
})(Item = Tags.Item || (Tags.Item = {}));
|
|
30
|
+
})(Tags = Item_1.Tags || (Item_1.Tags = {}));
|
|
31
|
+
})(Item = Media.Item || (Media.Item = {}));
|
|
32
|
+
})(Media = CreatePostsResponse.Media || (CreatePostsResponse.Media = {}));
|
|
33
|
+
})(CreatePostsResponse || (CreatePostsResponse = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ListPostsRequestApprovalStatus: {
|
|
2
|
+
readonly Draft: "DRAFT";
|
|
3
|
+
readonly PendingApproval: "PENDING_APPROVAL";
|
|
4
|
+
readonly Approved: "APPROVED";
|
|
5
|
+
readonly Rejected: "REJECTED";
|
|
6
|
+
};
|
|
7
|
+
export type ListPostsRequestApprovalStatus = (typeof ListPostsRequestApprovalStatus)[keyof typeof ListPostsRequestApprovalStatus];
|