rizamo 0.0.0 → 1.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 +340 -2
- package/dist/cjs/BaseClient.d.ts +57 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +71 -0
- package/dist/cjs/Client.js +158 -0
- package/dist/cjs/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/cjs/api/errors/BadGatewayError.js +54 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +7 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ConflictError.d.ts +7 -0
- package/dist/cjs/api/errors/ConflictError.js +54 -0
- package/dist/cjs/api/errors/ContentTooLargeError.d.ts +7 -0
- package/dist/cjs/api/errors/ContentTooLargeError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +7 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +7 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/NotImplementedError.d.ts +7 -0
- package/dist/cjs/api/errors/NotImplementedError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.d.ts +7 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +13 -0
- package/dist/cjs/api/errors/index.js +29 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +191 -0
- package/dist/cjs/api/resources/accounts/client/Client.js +646 -0
- package/dist/cjs/api/resources/accounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/client/index.js +17 -0
- package/dist/cjs/api/resources/accounts/client/requests/GetAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/GetAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemovalAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemovalAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemoveAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemoveAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/SearchMusicAccountsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/accounts/client/requests/SearchMusicAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateAccountsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/accounts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/exports.js +21 -0
- package/dist/cjs/api/resources/accounts/index.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/index.js +18 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestStatus.d.ts +7 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestStatus.js +10 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestGenre.d.ts +114 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestGenre.js +117 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.d.ts +8 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.js +11 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestType.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestType.js +9 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/accounts/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/index.js +22 -0
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +85 -0
- package/dist/cjs/api/resources/analytics/client/Client.js +314 -0
- package/dist/cjs/api/resources/analytics/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/client/index.js +17 -0
- package/dist/cjs/api/resources/analytics/client/requests/AudienceAnalyticsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/analytics/client/requests/AudienceAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/OverviewAnalyticsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/analytics/client/requests/OverviewAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/PostsAnalyticsRequest.d.ts +29 -0
- package/dist/cjs/api/resources/analytics/client/requests/PostsAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/analytics/exports.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/exports.js +21 -0
- package/dist/cjs/api/resources/analytics/index.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/index.js +18 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.d.ts +6 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.js +9 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestInterval.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestInterval.js +10 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestOrder.d.ts +6 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestOrder.js +9 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestSort.d.ts +9 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestSort.js +12 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsResponse.d.ts +10 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsResponse.js +3 -0
- package/dist/cjs/api/resources/analytics/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/analytics/types/index.js +21 -0
- package/dist/cjs/api/resources/billing/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/billing/client/Client.js +123 -0
- package/dist/cjs/api/resources/billing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/client/index.js +2 -0
- package/dist/cjs/api/resources/billing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/billing/exports.js +21 -0
- package/dist/cjs/api/resources/billing/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/index.js +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/Client.d.ts +203 -0
- package/dist/cjs/api/resources/commentAutomations/client/Client.js +682 -0
- package/dist/cjs/api/resources/commentAutomations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/commentAutomations/client/index.js +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.d.ts +95 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.d.ts +82 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/commentAutomations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commentAutomations/exports.js +21 -0
- package/dist/cjs/api/resources/commentAutomations/index.d.ts +2 -0
- package/dist/cjs/api/resources/commentAutomations/index.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.js +9 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.js +13 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/commentAutomations/types/index.js +21 -0
- package/dist/cjs/api/resources/connect/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/connect/client/Client.js +149 -0
- package/dist/cjs/api/resources/connect/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/client/index.js +17 -0
- package/dist/cjs/api/resources/connect/client/requests/LinkConnectRequest.d.ts +19 -0
- package/dist/cjs/api/resources/connect/client/requests/LinkConnectRequest.js +3 -0
- package/dist/cjs/api/resources/connect/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/connect/exports.d.ts +2 -0
- package/dist/cjs/api/resources/connect/exports.js +21 -0
- package/dist/cjs/api/resources/connect/index.d.ts +2 -0
- package/dist/cjs/api/resources/connect/index.js +18 -0
- package/dist/cjs/api/resources/connect/types/LinkConnectRequestNetwork.d.ts +9 -0
- package/dist/cjs/api/resources/connect/types/LinkConnectRequestNetwork.js +12 -0
- package/dist/cjs/api/resources/connect/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/types/index.js +17 -0
- package/dist/cjs/api/resources/events/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/events/client/Client.js +152 -0
- package/dist/cjs/api/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/client/index.js +17 -0
- package/dist/cjs/api/resources/events/client/requests/ListEventsRequest.d.ts +21 -0
- package/dist/cjs/api/resources/events/client/requests/ListEventsRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/events/exports.d.ts +2 -0
- package/dist/cjs/api/resources/events/exports.js +21 -0
- package/dist/cjs/api/resources/events/index.d.ts +2 -0
- package/dist/cjs/api/resources/events/index.js +18 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponse.js +3 -0
- package/dist/cjs/api/resources/events/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/index.js +17 -0
- package/dist/cjs/api/resources/fields/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/fields/client/Client.js +394 -0
- package/dist/cjs/api/resources/fields/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/fields/client/index.js +17 -0
- package/dist/cjs/api/resources/fields/client/requests/CreateFieldsRequest.d.ts +42 -0
- package/dist/cjs/api/resources/fields/client/requests/CreateFieldsRequest.js +21 -0
- package/dist/cjs/api/resources/fields/client/requests/DeleteFieldsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/fields/client/requests/DeleteFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/ListFieldsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/fields/client/requests/ListFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/UpdateFieldsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/fields/client/requests/UpdateFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/fields/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/fields/exports.d.ts +2 -0
- package/dist/cjs/api/resources/fields/exports.js +21 -0
- package/dist/cjs/api/resources/fields/index.d.ts +2 -0
- package/dist/cjs/api/resources/fields/index.js +18 -0
- package/dist/cjs/api/resources/fields/types/DeleteFieldsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/fields/types/DeleteFieldsResponse.js +3 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsRequestEntity.d.ts +5 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsRequestEntity.js +8 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsResponse.js +3 -0
- package/dist/cjs/api/resources/fields/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/fields/types/index.js +19 -0
- package/dist/cjs/api/resources/inbox/client/Client.d.ts +252 -0
- package/dist/cjs/api/resources/inbox/client/Client.js +853 -0
- package/dist/cjs/api/resources/inbox/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/inbox/client/index.js +17 -0
- package/dist/cjs/api/resources/inbox/client/requests/DeleteCommentInboxRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inbox/client/requests/DeleteCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/GetInboxRequest.d.ts +14 -0
- package/dist/cjs/api/resources/inbox/client/requests/GetInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/HideCommentInboxRequest.d.ts +16 -0
- package/dist/cjs/api/resources/inbox/client/requests/HideCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/LikeCommentInboxRequest.d.ts +16 -0
- package/dist/cjs/api/resources/inbox/client/requests/LikeCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/ListInboxRequest.d.ts +21 -0
- package/dist/cjs/api/resources/inbox/client/requests/ListInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/PostsInboxRequest.d.ts +14 -0
- package/dist/cjs/api/resources/inbox/client/requests/PostsInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/ReplyInboxRequest.d.ts +15 -0
- package/dist/cjs/api/resources/inbox/client/requests/ReplyInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/UpdateInboxRequest.d.ts +25 -0
- package/dist/cjs/api/resources/inbox/client/requests/UpdateInboxRequest.js +12 -0
- package/dist/cjs/api/resources/inbox/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/inbox/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/inbox/exports.d.ts +2 -0
- package/dist/cjs/api/resources/inbox/exports.js +21 -0
- package/dist/cjs/api/resources/inbox/index.d.ts +2 -0
- package/dist/cjs/api/resources/inbox/index.js +18 -0
- package/dist/cjs/api/resources/inbox/types/DeleteCommentInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/DeleteCommentInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/GetInboxResponse.d.ts +7 -0
- package/dist/cjs/api/resources/inbox/types/GetInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestKind.d.ts +8 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestKind.js +11 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestStatus.js +9 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/MarkPostDoneInboxResponse.d.ts +4 -0
- package/dist/cjs/api/resources/inbox/types/MarkPostDoneInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/PostsInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/PostsInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/inbox/types/index.js +23 -0
- package/dist/cjs/api/resources/index.d.ts +44 -0
- package/dist/cjs/api/resources/index.js +83 -0
- package/dist/cjs/api/resources/links/client/Client.d.ts +149 -0
- package/dist/cjs/api/resources/links/client/Client.js +492 -0
- package/dist/cjs/api/resources/links/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/links/client/index.js +17 -0
- package/dist/cjs/api/resources/links/client/requests/CreateLinksRequest.d.ts +39 -0
- package/dist/cjs/api/resources/links/client/requests/CreateLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/DeleteLinksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/links/client/requests/DeleteLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/GetLinksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/links/client/requests/GetLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/ListLinksRequest.d.ts +19 -0
- package/dist/cjs/api/resources/links/client/requests/ListLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/UpdateLinksRequest.d.ts +15 -0
- package/dist/cjs/api/resources/links/client/requests/UpdateLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/links/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/links/exports.d.ts +2 -0
- package/dist/cjs/api/resources/links/exports.js +21 -0
- package/dist/cjs/api/resources/links/index.d.ts +2 -0
- package/dist/cjs/api/resources/links/index.js +18 -0
- package/dist/cjs/api/resources/links/types/DeleteLinksResponse.d.ts +3 -0
- package/dist/cjs/api/resources/links/types/DeleteLinksResponse.js +3 -0
- package/dist/cjs/api/resources/links/types/GetLinksResponse.d.ts +40 -0
- package/dist/cjs/api/resources/links/types/GetLinksResponse.js +14 -0
- package/dist/cjs/api/resources/links/types/ListLinksRequestSourceType.d.ts +6 -0
- package/dist/cjs/api/resources/links/types/ListLinksRequestSourceType.js +9 -0
- package/dist/cjs/api/resources/links/types/ListLinksResponse.d.ts +6 -0
- package/dist/cjs/api/resources/links/types/ListLinksResponse.js +3 -0
- package/dist/cjs/api/resources/links/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/links/types/index.js +20 -0
- package/dist/cjs/api/resources/media/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/media/client/Client.js +225 -0
- package/dist/cjs/api/resources/media/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/media/client/index.js +17 -0
- package/dist/cjs/api/resources/media/client/requests/CreateMediaRequest.d.ts +33 -0
- package/dist/cjs/api/resources/media/client/requests/CreateMediaRequest.js +16 -0
- package/dist/cjs/api/resources/media/client/requests/GetMediaRequest.d.ts +10 -0
- package/dist/cjs/api/resources/media/client/requests/GetMediaRequest.js +3 -0
- package/dist/cjs/api/resources/media/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/media/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/media/exports.d.ts +2 -0
- package/dist/cjs/api/resources/media/exports.js +21 -0
- package/dist/cjs/api/resources/media/index.d.ts +2 -0
- package/dist/cjs/api/resources/media/index.js +18 -0
- package/dist/cjs/api/resources/media/types/CreateMediaResponse.d.ts +41 -0
- package/dist/cjs/api/resources/media/types/CreateMediaResponse.js +25 -0
- package/dist/cjs/api/resources/media/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/media/types/index.js +17 -0
- package/dist/cjs/api/resources/members/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/members/client/Client.js +120 -0
- package/dist/cjs/api/resources/members/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/members/client/index.js +2 -0
- package/dist/cjs/api/resources/members/exports.d.ts +2 -0
- package/dist/cjs/api/resources/members/exports.js +21 -0
- package/dist/cjs/api/resources/members/index.d.ts +2 -0
- package/dist/cjs/api/resources/members/index.js +18 -0
- package/dist/cjs/api/resources/members/types/ListMembersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/members/types/ListMembersResponse.js +3 -0
- package/dist/cjs/api/resources/members/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/members/types/index.js +17 -0
- package/dist/cjs/api/resources/networkPosts/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/networkPosts/client/Client.js +310 -0
- package/dist/cjs/api/resources/networkPosts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/networkPosts/client/index.js +17 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/networkPosts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/networkPosts/exports.js +21 -0
- package/dist/cjs/api/resources/networkPosts/index.d.ts +2 -0
- package/dist/cjs/api/resources/networkPosts/index.js +18 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.d.ts +7 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.js +10 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.d.ts +6 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.js +9 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsResponse.js +3 -0
- package/dist/cjs/api/resources/networkPosts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/networkPosts/types/index.js +19 -0
- package/dist/cjs/api/resources/posts/client/Client.d.ts +308 -0
- package/dist/cjs/api/resources/posts/client/Client.js +940 -0
- package/dist/cjs/api/resources/posts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/posts/client/index.js +17 -0
- package/dist/cjs/api/resources/posts/client/requests/CreatePostsRequest.d.ts +93 -0
- package/dist/cjs/api/resources/posts/client/requests/CreatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.d.ts +31 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/PublishPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/PublishPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/RestorePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/RestorePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/SharePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/SharePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/UnsharePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/UnsharePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/UpdatePostsRequest.d.ts +80 -0
- package/dist/cjs/api/resources/posts/client/requests/UpdatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/ValidatePostsRequest.d.ts +88 -0
- package/dist/cjs/api/resources/posts/client/requests/ValidatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/index.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/index.js +9 -0
- package/dist/cjs/api/resources/posts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/posts/exports.js +21 -0
- package/dist/cjs/api/resources/posts/index.d.ts +2 -0
- package/dist/cjs/api/resources/posts/index.js +18 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestDeleted.d.ts +7 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestDeleted.js +10 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestOrder.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestOrder.js +9 -0
- package/dist/cjs/api/resources/posts/types/ListPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/ListPostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/SharePostsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/posts/types/SharePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.d.ts +31 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/ValidatePostsResponse.d.ts +35 -0
- package/dist/cjs/api/resources/posts/types/ValidatePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/index.js +22 -0
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +175 -0
- package/dist/cjs/api/resources/profiles/client/Client.js +553 -0
- package/dist/cjs/api/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/client/index.js +17 -0
- package/dist/cjs/api/resources/profiles/client/requests/CreateProfilesRequest.d.ts +15 -0
- package/dist/cjs/api/resources/profiles/client/requests/CreateProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/DeleteProfilesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/profiles/client/requests/DeleteProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/QueueProfilesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/profiles/client/requests/QueueProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/SetQueueProfilesRequest.d.ts +23 -0
- package/dist/cjs/api/resources/profiles/client/requests/SetQueueProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/UpdateProfilesRequest.d.ts +17 -0
- package/dist/cjs/api/resources/profiles/client/requests/UpdateProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/profiles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/exports.js +21 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/index.js +18 -0
- package/dist/cjs/api/resources/profiles/types/DeleteProfilesResponse.d.ts +3 -0
- package/dist/cjs/api/resources/profiles/types/DeleteProfilesResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ListProfilesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/ListProfilesResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/types/index.js +18 -0
- package/dist/cjs/api/resources/uploads/client/Client.d.ts +67 -0
- package/dist/cjs/api/resources/uploads/client/Client.js +218 -0
- package/dist/cjs/api/resources/uploads/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/uploads/client/index.js +17 -0
- package/dist/cjs/api/resources/uploads/client/requests/CreateUploadsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/uploads/client/requests/CreateUploadsRequest.js +3 -0
- package/dist/cjs/api/resources/uploads/client/requests/GetUploadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/uploads/client/requests/GetUploadsRequest.js +3 -0
- package/dist/cjs/api/resources/uploads/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/uploads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/uploads/exports.d.ts +2 -0
- package/dist/cjs/api/resources/uploads/exports.js +21 -0
- package/dist/cjs/api/resources/uploads/index.d.ts +1 -0
- package/dist/cjs/api/resources/uploads/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +246 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +809 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.ts +19 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.d.ts +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.d.ts +27 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.js +12 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhooksRequest.d.ts +21 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/index.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.js +11 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksResponse.d.ts +6 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +20 -0
- package/dist/cjs/api/types/Account.d.ts +31 -0
- package/dist/cjs/api/types/Account.js +13 -0
- package/dist/cjs/api/types/AccountAudience.d.ts +18 -0
- package/dist/cjs/api/types/AccountAudience.js +3 -0
- package/dist/cjs/api/types/AccountBilling.d.ts +7 -0
- package/dist/cjs/api/types/AccountBilling.js +10 -0
- package/dist/cjs/api/types/AccountRemoval.d.ts +45 -0
- package/dist/cjs/api/types/AccountRemoval.js +3 -0
- package/dist/cjs/api/types/AccountRemoved.d.ts +46 -0
- package/dist/cjs/api/types/AccountRemoved.js +3 -0
- package/dist/cjs/api/types/ActiveHours.d.ts +20 -0
- package/dist/cjs/api/types/ActiveHours.js +3 -0
- package/dist/cjs/api/types/Actor.d.ts +51 -0
- package/dist/cjs/api/types/Actor.js +23 -0
- package/dist/cjs/api/types/AnalyticsNote.d.ts +7 -0
- package/dist/cjs/api/types/AnalyticsNote.js +3 -0
- package/dist/cjs/api/types/AnalyticsOverview.d.ts +169 -0
- package/dist/cjs/api/types/AnalyticsOverview.js +12 -0
- package/dist/cjs/api/types/Audience.d.ts +5 -0
- package/dist/cjs/api/types/Audience.js +3 -0
- package/dist/cjs/api/types/AudienceBreakdowns.d.ts +17 -0
- package/dist/cjs/api/types/AudienceBreakdowns.js +3 -0
- package/dist/cjs/api/types/AudienceShare.d.ts +8 -0
- package/dist/cjs/api/types/AudienceShare.js +3 -0
- package/dist/cjs/api/types/Billing.d.ts +72 -0
- package/dist/cjs/api/types/Billing.js +31 -0
- package/dist/cjs/api/types/Capability.d.ts +13 -0
- package/dist/cjs/api/types/Capability.js +16 -0
- package/dist/cjs/api/types/ChainPart.d.ts +6 -0
- package/dist/cjs/api/types/ChainPart.js +3 -0
- package/dist/cjs/api/types/ChainPartResult.d.ts +15 -0
- package/dist/cjs/api/types/ChainPartResult.js +13 -0
- package/dist/cjs/api/types/CommentAutomation.d.ts +150 -0
- package/dist/cjs/api/types/CommentAutomation.js +35 -0
- package/dist/cjs/api/types/CommentAutomationRun.d.ts +59 -0
- package/dist/cjs/api/types/CommentAutomationRun.js +30 -0
- package/dist/cjs/api/types/CommentAutomationTest.d.ts +54 -0
- package/dist/cjs/api/types/CommentAutomationTest.js +3 -0
- package/dist/cjs/api/types/ConnectLink.d.ts +14 -0
- package/dist/cjs/api/types/ConnectLink.js +3 -0
- package/dist/cjs/api/types/Contact.d.ts +8 -0
- package/dist/cjs/api/types/Contact.js +3 -0
- package/dist/cjs/api/types/DetailsAt.d.ts +6 -0
- package/dist/cjs/api/types/DetailsAt.js +3 -0
- package/dist/cjs/api/types/Error_.d.ts +40 -0
- package/dist/cjs/api/types/Error_.js +31 -0
- package/dist/cjs/api/types/Event.d.ts +28 -0
- package/dist/cjs/api/types/Event.js +16 -0
- package/dist/cjs/api/types/EventType.d.ts +25 -0
- package/dist/cjs/api/types/EventType.js +28 -0
- package/dist/cjs/api/types/FieldDefinition.d.ts +24 -0
- package/dist/cjs/api/types/FieldDefinition.js +19 -0
- package/dist/cjs/api/types/InboxPost.d.ts +12 -0
- package/dist/cjs/api/types/InboxPost.js +3 -0
- package/dist/cjs/api/types/Kpi.d.ts +5 -0
- package/dist/cjs/api/types/Kpi.js +3 -0
- package/dist/cjs/api/types/Link.d.ts +39 -0
- package/dist/cjs/api/types/Link.js +14 -0
- package/dist/cjs/api/types/LinkStats.d.ts +22 -0
- package/dist/cjs/api/types/LinkStats.js +3 -0
- package/dist/cjs/api/types/Media.d.ts +38 -0
- package/dist/cjs/api/types/Media.js +19 -0
- package/dist/cjs/api/types/MediaChange.d.ts +21 -0
- package/dist/cjs/api/types/MediaChange.js +19 -0
- package/dist/cjs/api/types/Message.d.ts +35 -0
- package/dist/cjs/api/types/Message.js +16 -0
- package/dist/cjs/api/types/MusicTrack.d.ts +24 -0
- package/dist/cjs/api/types/MusicTrack.js +12 -0
- package/dist/cjs/api/types/Network.d.ts +12 -0
- package/dist/cjs/api/types/Network.js +15 -0
- package/dist/cjs/api/types/NetworkPost.d.ts +47 -0
- package/dist/cjs/api/types/NetworkPost.js +16 -0
- package/dist/cjs/api/types/NetworkPostTimeline.d.ts +45 -0
- package/dist/cjs/api/types/NetworkPostTimeline.js +18 -0
- package/dist/cjs/api/types/Post.d.ts +29 -0
- package/dist/cjs/api/types/Post.js +3 -0
- package/dist/cjs/api/types/PostDetails.d.ts +79 -0
- package/dist/cjs/api/types/PostDetails.js +28 -0
- package/dist/cjs/api/types/PostFormat.d.ts +13 -0
- package/dist/cjs/api/types/PostFormat.js +16 -0
- package/dist/cjs/api/types/PostMetrics.d.ts +25 -0
- package/dist/cjs/api/types/PostMetrics.js +3 -0
- package/dist/cjs/api/types/PostResult.d.ts +35 -0
- package/dist/cjs/api/types/PostResult.js +3 -0
- package/dist/cjs/api/types/PostStatus.d.ts +9 -0
- package/dist/cjs/api/types/PostStatus.js +12 -0
- package/dist/cjs/api/types/PostTarget.d.ts +64 -0
- package/dist/cjs/api/types/PostTarget.js +33 -0
- package/dist/cjs/api/types/Profile.d.ts +8 -0
- package/dist/cjs/api/types/Profile.js +3 -0
- package/dist/cjs/api/types/Queue.d.ts +30 -0
- package/dist/cjs/api/types/Queue.js +3 -0
- package/dist/cjs/api/types/QueueSlot.d.ts +17 -0
- package/dist/cjs/api/types/QueueSlot.js +16 -0
- package/dist/cjs/api/types/TargetEdit.d.ts +19 -0
- package/dist/cjs/api/types/TargetEdit.js +14 -0
- package/dist/cjs/api/types/TargetOptions.d.ts +304 -0
- package/dist/cjs/api/types/TargetOptions.js +100 -0
- package/dist/cjs/api/types/Teammate.d.ts +18 -0
- package/dist/cjs/api/types/Teammate.js +13 -0
- package/dist/cjs/api/types/Thread.d.ts +47 -0
- package/dist/cjs/api/types/Thread.js +24 -0
- package/dist/cjs/api/types/TikTokCreatorInfo.d.ts +29 -0
- package/dist/cjs/api/types/TikTokCreatorInfo.js +16 -0
- package/dist/cjs/api/types/UploadRequest.d.ts +24 -0
- package/dist/cjs/api/types/UploadRequest.js +13 -0
- package/dist/cjs/api/types/WebhookAttempt.d.ts +23 -0
- package/dist/cjs/api/types/WebhookAttempt.js +17 -0
- package/dist/cjs/api/types/WebhookDelivery.d.ts +34 -0
- package/dist/cjs/api/types/WebhookDelivery.js +14 -0
- package/dist/cjs/api/types/WebhookEndpoint.d.ts +55 -0
- package/dist/cjs/api/types/WebhookEndpoint.js +24 -0
- package/dist/cjs/api/types/WebhookEventType.d.ts +25 -0
- package/dist/cjs/api/types/WebhookEventType.js +28 -0
- package/dist/cjs/api/types/WebhookReplay.d.ts +10 -0
- package/dist/cjs/api/types/WebhookReplay.js +3 -0
- package/dist/cjs/api/types/WebhookSecret.d.ts +6 -0
- package/dist/cjs/api/types/WebhookSecret.js +3 -0
- package/dist/cjs/api/types/index.d.ts +59 -0
- package/dist/cjs/api/types/index.js +75 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +82 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +2 -0
- package/dist/cjs/core/exports.js +18 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +274 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +58 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +85 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +173 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/cjs/core/fetcher/makeRequest.js +94 -0
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +91 -0
- package/dist/cjs/core/fetcher/signals.d.ts +6 -0
- package/dist/cjs/core/fetcher/signals.js +33 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +8 -0
- package/dist/cjs/core/index.js +47 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/pagination/Page.d.ts +33 -0
- package/dist/cjs/core/pagination/Page.js +101 -0
- package/dist/cjs/core/pagination/exports.d.ts +1 -0
- package/dist/cjs/core/pagination/exports.js +2 -0
- package/dist/cjs/core/pagination/index.d.ts +1 -0
- package/dist/cjs/core/pagination/index.js +5 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +6 -0
- package/dist/cjs/core/runtime/runtime.d.ts +28 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -0
- package/dist/cjs/core/url/encodePathParam.js +27 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/core/utils/index.d.ts +1 -0
- package/dist/cjs/core/utils/index.js +5 -0
- package/dist/cjs/core/utils/setObjectProperty.d.ts +12 -0
- package/dist/cjs/core/utils/setObjectProperty.js +48 -0
- package/dist/cjs/environments.d.ts +4 -0
- package/dist/cjs/environments.js +7 -0
- package/dist/cjs/errors/RizamoError.d.ts +15 -0
- package/dist/cjs/errors/RizamoError.js +53 -0
- package/dist/cjs/errors/RizamoTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/RizamoTimeoutError.js +52 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +57 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +71 -0
- package/dist/esm/Client.mjs +121 -0
- package/dist/esm/api/errors/BadGatewayError.d.mts +7 -0
- package/dist/esm/api/errors/BadGatewayError.mjs +17 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +7 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/ConflictError.d.mts +7 -0
- package/dist/esm/api/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/errors/ContentTooLargeError.d.mts +7 -0
- package/dist/esm/api/errors/ContentTooLargeError.mjs +17 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +7 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +7 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +7 -0
- package/dist/esm/api/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/errors/NotImplementedError.d.mts +7 -0
- package/dist/esm/api/errors/NotImplementedError.mjs +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +7 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +7 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +7 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +7 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.d.mts +7 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +13 -0
- package/dist/esm/api/errors/index.mjs +13 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/accounts/client/Client.d.mts +191 -0
- package/dist/esm/api/resources/accounts/client/Client.mjs +609 -0
- package/dist/esm/api/resources/accounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/client/requests/GetAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/GetAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.d.mts +17 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RemovalAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/RemovalAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RemoveAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/RemoveAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/SearchMusicAccountsRequest.d.mts +22 -0
- package/dist/esm/api/resources/accounts/client/requests/SearchMusicAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateAccountsRequest.d.mts +13 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/accounts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/exports.d.mts +2 -0
- package/dist/esm/api/resources/accounts/exports.mjs +3 -0
- package/dist/esm/api/resources/accounts/index.d.mts +2 -0
- package/dist/esm/api/resources/accounts/index.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestStatus.d.mts +7 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestStatus.mjs +7 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsResponse.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestGenre.d.mts +114 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestGenre.mjs +114 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.d.mts +8 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.mjs +8 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestType.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestType.mjs +6 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/index.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/index.mjs +6 -0
- package/dist/esm/api/resources/analytics/client/Client.d.mts +85 -0
- package/dist/esm/api/resources/analytics/client/Client.mjs +277 -0
- package/dist/esm/api/resources/analytics/client/index.d.mts +1 -0
- package/dist/esm/api/resources/analytics/client/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/client/requests/AudienceAnalyticsRequest.d.mts +12 -0
- package/dist/esm/api/resources/analytics/client/requests/AudienceAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/OverviewAnalyticsRequest.d.mts +25 -0
- package/dist/esm/api/resources/analytics/client/requests/OverviewAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/PostsAnalyticsRequest.d.mts +29 -0
- package/dist/esm/api/resources/analytics/client/requests/PostsAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/analytics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/exports.d.mts +2 -0
- package/dist/esm/api/resources/analytics/exports.mjs +3 -0
- package/dist/esm/api/resources/analytics/index.d.mts +2 -0
- package/dist/esm/api/resources/analytics/index.mjs +2 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.d.mts +6 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.mjs +6 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestInterval.d.mts +7 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestInterval.mjs +7 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestOrder.d.mts +6 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestOrder.mjs +6 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestSort.d.mts +9 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestSort.mjs +9 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsResponse.d.mts +10 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsResponse.mjs +2 -0
- package/dist/esm/api/resources/analytics/types/index.d.mts +5 -0
- package/dist/esm/api/resources/analytics/types/index.mjs +5 -0
- package/dist/esm/api/resources/billing/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/billing/client/Client.mjs +86 -0
- package/dist/esm/api/resources/billing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/exports.d.mts +2 -0
- package/dist/esm/api/resources/billing/exports.mjs +3 -0
- package/dist/esm/api/resources/billing/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/index.mjs +1 -0
- package/dist/esm/api/resources/commentAutomations/client/Client.d.mts +203 -0
- package/dist/esm/api/resources/commentAutomations/client/Client.mjs +645 -0
- package/dist/esm/api/resources/commentAutomations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/commentAutomations/client/index.mjs +1 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.d.mts +95 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.mjs +15 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.d.mts +19 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.d.mts +17 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.d.mts +13 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.d.mts +82 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.mjs +15 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/exports.d.mts +2 -0
- package/dist/esm/api/resources/commentAutomations/exports.mjs +3 -0
- package/dist/esm/api/resources/commentAutomations/index.d.mts +2 -0
- package/dist/esm/api/resources/commentAutomations/index.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.d.mts +3 -0
- package/dist/esm/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsResponse.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.mjs +10 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/index.d.mts +5 -0
- package/dist/esm/api/resources/commentAutomations/types/index.mjs +5 -0
- package/dist/esm/api/resources/connect/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/connect/client/Client.mjs +112 -0
- package/dist/esm/api/resources/connect/client/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/client/index.mjs +1 -0
- package/dist/esm/api/resources/connect/client/requests/LinkConnectRequest.d.mts +19 -0
- package/dist/esm/api/resources/connect/client/requests/LinkConnectRequest.mjs +2 -0
- package/dist/esm/api/resources/connect/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/connect/exports.d.mts +2 -0
- package/dist/esm/api/resources/connect/exports.mjs +3 -0
- package/dist/esm/api/resources/connect/index.d.mts +2 -0
- package/dist/esm/api/resources/connect/index.mjs +2 -0
- package/dist/esm/api/resources/connect/types/LinkConnectRequestNetwork.d.mts +9 -0
- package/dist/esm/api/resources/connect/types/LinkConnectRequestNetwork.mjs +9 -0
- package/dist/esm/api/resources/connect/types/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/types/index.mjs +1 -0
- package/dist/esm/api/resources/events/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/events/client/Client.mjs +115 -0
- package/dist/esm/api/resources/events/client/index.d.mts +1 -0
- package/dist/esm/api/resources/events/client/index.mjs +1 -0
- package/dist/esm/api/resources/events/client/requests/ListEventsRequest.d.mts +21 -0
- package/dist/esm/api/resources/events/client/requests/ListEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/events/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/events/exports.d.mts +2 -0
- package/dist/esm/api/resources/events/exports.mjs +3 -0
- package/dist/esm/api/resources/events/index.d.mts +2 -0
- package/dist/esm/api/resources/events/index.mjs +2 -0
- package/dist/esm/api/resources/events/types/ListEventsResponse.d.mts +6 -0
- package/dist/esm/api/resources/events/types/ListEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/events/types/index.d.mts +1 -0
- package/dist/esm/api/resources/events/types/index.mjs +1 -0
- package/dist/esm/api/resources/fields/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/fields/client/Client.mjs +357 -0
- package/dist/esm/api/resources/fields/client/index.d.mts +1 -0
- package/dist/esm/api/resources/fields/client/index.mjs +1 -0
- package/dist/esm/api/resources/fields/client/requests/CreateFieldsRequest.d.mts +42 -0
- package/dist/esm/api/resources/fields/client/requests/CreateFieldsRequest.mjs +18 -0
- package/dist/esm/api/resources/fields/client/requests/DeleteFieldsRequest.d.mts +10 -0
- package/dist/esm/api/resources/fields/client/requests/DeleteFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/ListFieldsRequest.d.mts +9 -0
- package/dist/esm/api/resources/fields/client/requests/ListFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/UpdateFieldsRequest.d.mts +17 -0
- package/dist/esm/api/resources/fields/client/requests/UpdateFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/fields/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/fields/exports.d.mts +2 -0
- package/dist/esm/api/resources/fields/exports.mjs +3 -0
- package/dist/esm/api/resources/fields/index.d.mts +2 -0
- package/dist/esm/api/resources/fields/index.mjs +2 -0
- package/dist/esm/api/resources/fields/types/DeleteFieldsResponse.d.mts +3 -0
- package/dist/esm/api/resources/fields/types/DeleteFieldsResponse.mjs +2 -0
- package/dist/esm/api/resources/fields/types/ListFieldsRequestEntity.d.mts +5 -0
- package/dist/esm/api/resources/fields/types/ListFieldsRequestEntity.mjs +5 -0
- package/dist/esm/api/resources/fields/types/ListFieldsResponse.d.mts +4 -0
- package/dist/esm/api/resources/fields/types/ListFieldsResponse.mjs +2 -0
- package/dist/esm/api/resources/fields/types/index.d.mts +3 -0
- package/dist/esm/api/resources/fields/types/index.mjs +3 -0
- package/dist/esm/api/resources/inbox/client/Client.d.mts +252 -0
- package/dist/esm/api/resources/inbox/client/Client.mjs +816 -0
- package/dist/esm/api/resources/inbox/client/index.d.mts +1 -0
- package/dist/esm/api/resources/inbox/client/index.mjs +1 -0
- package/dist/esm/api/resources/inbox/client/requests/DeleteCommentInboxRequest.d.mts +13 -0
- package/dist/esm/api/resources/inbox/client/requests/DeleteCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/GetInboxRequest.d.mts +14 -0
- package/dist/esm/api/resources/inbox/client/requests/GetInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/HideCommentInboxRequest.d.mts +16 -0
- package/dist/esm/api/resources/inbox/client/requests/HideCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/LikeCommentInboxRequest.d.mts +16 -0
- package/dist/esm/api/resources/inbox/client/requests/LikeCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/ListInboxRequest.d.mts +21 -0
- package/dist/esm/api/resources/inbox/client/requests/ListInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.d.mts +13 -0
- package/dist/esm/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/PostsInboxRequest.d.mts +14 -0
- package/dist/esm/api/resources/inbox/client/requests/PostsInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/ReplyInboxRequest.d.mts +15 -0
- package/dist/esm/api/resources/inbox/client/requests/ReplyInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/UpdateInboxRequest.d.mts +25 -0
- package/dist/esm/api/resources/inbox/client/requests/UpdateInboxRequest.mjs +9 -0
- package/dist/esm/api/resources/inbox/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/inbox/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/inbox/exports.d.mts +2 -0
- package/dist/esm/api/resources/inbox/exports.mjs +3 -0
- package/dist/esm/api/resources/inbox/index.d.mts +2 -0
- package/dist/esm/api/resources/inbox/index.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/DeleteCommentInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/DeleteCommentInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/GetInboxResponse.d.mts +7 -0
- package/dist/esm/api/resources/inbox/types/GetInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestKind.d.mts +8 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestKind.mjs +8 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/MarkPostDoneInboxResponse.d.mts +4 -0
- package/dist/esm/api/resources/inbox/types/MarkPostDoneInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/PostsInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/PostsInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/index.d.mts +7 -0
- package/dist/esm/api/resources/inbox/types/index.mjs +7 -0
- package/dist/esm/api/resources/index.d.mts +44 -0
- package/dist/esm/api/resources/index.mjs +44 -0
- package/dist/esm/api/resources/links/client/Client.d.mts +149 -0
- package/dist/esm/api/resources/links/client/Client.mjs +455 -0
- package/dist/esm/api/resources/links/client/index.d.mts +1 -0
- package/dist/esm/api/resources/links/client/index.mjs +1 -0
- package/dist/esm/api/resources/links/client/requests/CreateLinksRequest.d.mts +39 -0
- package/dist/esm/api/resources/links/client/requests/CreateLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/DeleteLinksRequest.d.mts +10 -0
- package/dist/esm/api/resources/links/client/requests/DeleteLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/GetLinksRequest.d.mts +10 -0
- package/dist/esm/api/resources/links/client/requests/GetLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/ListLinksRequest.d.mts +19 -0
- package/dist/esm/api/resources/links/client/requests/ListLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/UpdateLinksRequest.d.mts +15 -0
- package/dist/esm/api/resources/links/client/requests/UpdateLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/links/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/links/exports.d.mts +2 -0
- package/dist/esm/api/resources/links/exports.mjs +3 -0
- package/dist/esm/api/resources/links/index.d.mts +2 -0
- package/dist/esm/api/resources/links/index.mjs +2 -0
- package/dist/esm/api/resources/links/types/DeleteLinksResponse.d.mts +3 -0
- package/dist/esm/api/resources/links/types/DeleteLinksResponse.mjs +2 -0
- package/dist/esm/api/resources/links/types/GetLinksResponse.d.mts +40 -0
- package/dist/esm/api/resources/links/types/GetLinksResponse.mjs +11 -0
- package/dist/esm/api/resources/links/types/ListLinksRequestSourceType.d.mts +6 -0
- package/dist/esm/api/resources/links/types/ListLinksRequestSourceType.mjs +6 -0
- package/dist/esm/api/resources/links/types/ListLinksResponse.d.mts +6 -0
- package/dist/esm/api/resources/links/types/ListLinksResponse.mjs +2 -0
- package/dist/esm/api/resources/links/types/index.d.mts +4 -0
- package/dist/esm/api/resources/links/types/index.mjs +4 -0
- package/dist/esm/api/resources/media/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/media/client/Client.mjs +188 -0
- package/dist/esm/api/resources/media/client/index.d.mts +1 -0
- package/dist/esm/api/resources/media/client/index.mjs +1 -0
- package/dist/esm/api/resources/media/client/requests/CreateMediaRequest.d.mts +33 -0
- package/dist/esm/api/resources/media/client/requests/CreateMediaRequest.mjs +13 -0
- package/dist/esm/api/resources/media/client/requests/GetMediaRequest.d.mts +10 -0
- package/dist/esm/api/resources/media/client/requests/GetMediaRequest.mjs +2 -0
- package/dist/esm/api/resources/media/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/media/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/media/exports.d.mts +2 -0
- package/dist/esm/api/resources/media/exports.mjs +3 -0
- package/dist/esm/api/resources/media/index.d.mts +2 -0
- package/dist/esm/api/resources/media/index.mjs +2 -0
- package/dist/esm/api/resources/media/types/CreateMediaResponse.d.mts +41 -0
- package/dist/esm/api/resources/media/types/CreateMediaResponse.mjs +22 -0
- package/dist/esm/api/resources/media/types/index.d.mts +1 -0
- package/dist/esm/api/resources/media/types/index.mjs +1 -0
- package/dist/esm/api/resources/members/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/members/client/Client.mjs +83 -0
- package/dist/esm/api/resources/members/client/index.d.mts +1 -0
- package/dist/esm/api/resources/members/client/index.mjs +1 -0
- package/dist/esm/api/resources/members/exports.d.mts +2 -0
- package/dist/esm/api/resources/members/exports.mjs +3 -0
- package/dist/esm/api/resources/members/index.d.mts +2 -0
- package/dist/esm/api/resources/members/index.mjs +2 -0
- package/dist/esm/api/resources/members/types/ListMembersResponse.d.mts +4 -0
- package/dist/esm/api/resources/members/types/ListMembersResponse.mjs +2 -0
- package/dist/esm/api/resources/members/types/index.d.mts +1 -0
- package/dist/esm/api/resources/members/types/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/networkPosts/client/Client.mjs +273 -0
- package/dist/esm/api/resources/networkPosts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/networkPosts/client/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.d.mts +27 -0
- package/dist/esm/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.d.mts +12 -0
- package/dist/esm/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/networkPosts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/exports.d.mts +2 -0
- package/dist/esm/api/resources/networkPosts/exports.mjs +3 -0
- package/dist/esm/api/resources/networkPosts/index.d.mts +2 -0
- package/dist/esm/api/resources/networkPosts/index.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.d.mts +7 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.mjs +7 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.d.mts +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.mjs +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/networkPosts/types/index.mjs +3 -0
- package/dist/esm/api/resources/posts/client/Client.d.mts +308 -0
- package/dist/esm/api/resources/posts/client/Client.mjs +903 -0
- package/dist/esm/api/resources/posts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/posts/client/index.mjs +1 -0
- package/dist/esm/api/resources/posts/client/requests/CreatePostsRequest.d.mts +93 -0
- package/dist/esm/api/resources/posts/client/requests/CreatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.d.mts +31 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/PublishPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/PublishPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/RestorePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/RestorePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/SharePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/SharePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/UnsharePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/UnsharePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/UpdatePostsRequest.d.mts +80 -0
- package/dist/esm/api/resources/posts/client/requests/UpdatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/ValidatePostsRequest.d.mts +88 -0
- package/dist/esm/api/resources/posts/client/requests/ValidatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/index.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/index.mjs +3 -0
- package/dist/esm/api/resources/posts/exports.d.mts +2 -0
- package/dist/esm/api/resources/posts/exports.mjs +3 -0
- package/dist/esm/api/resources/posts/index.d.mts +2 -0
- package/dist/esm/api/resources/posts/index.mjs +2 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestDeleted.d.mts +7 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestDeleted.mjs +7 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestOrder.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestOrder.mjs +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/SharePostsResponse.d.mts +5 -0
- package/dist/esm/api/resources/posts/types/SharePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.d.mts +31 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/ValidatePostsResponse.d.mts +35 -0
- package/dist/esm/api/resources/posts/types/ValidatePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/index.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/index.mjs +6 -0
- package/dist/esm/api/resources/profiles/client/Client.d.mts +175 -0
- package/dist/esm/api/resources/profiles/client/Client.mjs +516 -0
- package/dist/esm/api/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/client/requests/CreateProfilesRequest.d.mts +15 -0
- package/dist/esm/api/resources/profiles/client/requests/CreateProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/DeleteProfilesRequest.d.mts +10 -0
- package/dist/esm/api/resources/profiles/client/requests/DeleteProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/QueueProfilesRequest.d.mts +12 -0
- package/dist/esm/api/resources/profiles/client/requests/QueueProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/SetQueueProfilesRequest.d.mts +23 -0
- package/dist/esm/api/resources/profiles/client/requests/SetQueueProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/UpdateProfilesRequest.d.mts +17 -0
- package/dist/esm/api/resources/profiles/client/requests/UpdateProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/exports.d.mts +2 -0
- package/dist/esm/api/resources/profiles/exports.mjs +3 -0
- package/dist/esm/api/resources/profiles/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/index.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/DeleteProfilesResponse.d.mts +3 -0
- package/dist/esm/api/resources/profiles/types/DeleteProfilesResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ListProfilesResponse.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/ListProfilesResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/types/index.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/Client.d.mts +67 -0
- package/dist/esm/api/resources/uploads/client/Client.mjs +181 -0
- package/dist/esm/api/resources/uploads/client/index.d.mts +1 -0
- package/dist/esm/api/resources/uploads/client/index.mjs +1 -0
- package/dist/esm/api/resources/uploads/client/requests/CreateUploadsRequest.d.mts +16 -0
- package/dist/esm/api/resources/uploads/client/requests/CreateUploadsRequest.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/requests/GetUploadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/uploads/client/requests/GetUploadsRequest.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/uploads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/uploads/exports.d.mts +2 -0
- package/dist/esm/api/resources/uploads/exports.mjs +3 -0
- package/dist/esm/api/resources/uploads/index.d.mts +1 -0
- package/dist/esm/api/resources/uploads/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +246 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +772 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.mts +19 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.d.mts +17 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.d.mts +27 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.mjs +9 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhooksRequest.d.mts +21 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/index.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksResponse.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksResponse.d.mts +6 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +4 -0
- package/dist/esm/api/types/Account.d.mts +31 -0
- package/dist/esm/api/types/Account.mjs +10 -0
- package/dist/esm/api/types/AccountAudience.d.mts +18 -0
- package/dist/esm/api/types/AccountAudience.mjs +2 -0
- package/dist/esm/api/types/AccountBilling.d.mts +7 -0
- package/dist/esm/api/types/AccountBilling.mjs +7 -0
- package/dist/esm/api/types/AccountRemoval.d.mts +45 -0
- package/dist/esm/api/types/AccountRemoval.mjs +2 -0
- package/dist/esm/api/types/AccountRemoved.d.mts +46 -0
- package/dist/esm/api/types/AccountRemoved.mjs +2 -0
- package/dist/esm/api/types/ActiveHours.d.mts +20 -0
- package/dist/esm/api/types/ActiveHours.mjs +2 -0
- package/dist/esm/api/types/Actor.d.mts +51 -0
- package/dist/esm/api/types/Actor.mjs +20 -0
- package/dist/esm/api/types/AnalyticsNote.d.mts +7 -0
- package/dist/esm/api/types/AnalyticsNote.mjs +2 -0
- package/dist/esm/api/types/AnalyticsOverview.d.mts +169 -0
- package/dist/esm/api/types/AnalyticsOverview.mjs +9 -0
- package/dist/esm/api/types/Audience.d.mts +5 -0
- package/dist/esm/api/types/Audience.mjs +2 -0
- package/dist/esm/api/types/AudienceBreakdowns.d.mts +17 -0
- package/dist/esm/api/types/AudienceBreakdowns.mjs +2 -0
- package/dist/esm/api/types/AudienceShare.d.mts +8 -0
- package/dist/esm/api/types/AudienceShare.mjs +2 -0
- package/dist/esm/api/types/Billing.d.mts +72 -0
- package/dist/esm/api/types/Billing.mjs +28 -0
- package/dist/esm/api/types/Capability.d.mts +13 -0
- package/dist/esm/api/types/Capability.mjs +13 -0
- package/dist/esm/api/types/ChainPart.d.mts +6 -0
- package/dist/esm/api/types/ChainPart.mjs +2 -0
- package/dist/esm/api/types/ChainPartResult.d.mts +15 -0
- package/dist/esm/api/types/ChainPartResult.mjs +10 -0
- package/dist/esm/api/types/CommentAutomation.d.mts +150 -0
- package/dist/esm/api/types/CommentAutomation.mjs +32 -0
- package/dist/esm/api/types/CommentAutomationRun.d.mts +59 -0
- package/dist/esm/api/types/CommentAutomationRun.mjs +27 -0
- package/dist/esm/api/types/CommentAutomationTest.d.mts +54 -0
- package/dist/esm/api/types/CommentAutomationTest.mjs +2 -0
- package/dist/esm/api/types/ConnectLink.d.mts +14 -0
- package/dist/esm/api/types/ConnectLink.mjs +2 -0
- package/dist/esm/api/types/Contact.d.mts +8 -0
- package/dist/esm/api/types/Contact.mjs +2 -0
- package/dist/esm/api/types/DetailsAt.d.mts +6 -0
- package/dist/esm/api/types/DetailsAt.mjs +2 -0
- package/dist/esm/api/types/Error_.d.mts +40 -0
- package/dist/esm/api/types/Error_.mjs +28 -0
- package/dist/esm/api/types/Event.d.mts +28 -0
- package/dist/esm/api/types/Event.mjs +13 -0
- package/dist/esm/api/types/EventType.d.mts +25 -0
- package/dist/esm/api/types/EventType.mjs +25 -0
- package/dist/esm/api/types/FieldDefinition.d.mts +24 -0
- package/dist/esm/api/types/FieldDefinition.mjs +16 -0
- package/dist/esm/api/types/InboxPost.d.mts +12 -0
- package/dist/esm/api/types/InboxPost.mjs +2 -0
- package/dist/esm/api/types/Kpi.d.mts +5 -0
- package/dist/esm/api/types/Kpi.mjs +2 -0
- package/dist/esm/api/types/Link.d.mts +39 -0
- package/dist/esm/api/types/Link.mjs +11 -0
- package/dist/esm/api/types/LinkStats.d.mts +22 -0
- package/dist/esm/api/types/LinkStats.mjs +2 -0
- package/dist/esm/api/types/Media.d.mts +38 -0
- package/dist/esm/api/types/Media.mjs +16 -0
- package/dist/esm/api/types/MediaChange.d.mts +21 -0
- package/dist/esm/api/types/MediaChange.mjs +16 -0
- package/dist/esm/api/types/Message.d.mts +35 -0
- package/dist/esm/api/types/Message.mjs +13 -0
- package/dist/esm/api/types/MusicTrack.d.mts +24 -0
- package/dist/esm/api/types/MusicTrack.mjs +9 -0
- package/dist/esm/api/types/Network.d.mts +12 -0
- package/dist/esm/api/types/Network.mjs +12 -0
- package/dist/esm/api/types/NetworkPost.d.mts +47 -0
- package/dist/esm/api/types/NetworkPost.mjs +13 -0
- package/dist/esm/api/types/NetworkPostTimeline.d.mts +45 -0
- package/dist/esm/api/types/NetworkPostTimeline.mjs +15 -0
- package/dist/esm/api/types/Post.d.mts +29 -0
- package/dist/esm/api/types/Post.mjs +2 -0
- package/dist/esm/api/types/PostDetails.d.mts +79 -0
- package/dist/esm/api/types/PostDetails.mjs +25 -0
- package/dist/esm/api/types/PostFormat.d.mts +13 -0
- package/dist/esm/api/types/PostFormat.mjs +13 -0
- package/dist/esm/api/types/PostMetrics.d.mts +25 -0
- package/dist/esm/api/types/PostMetrics.mjs +2 -0
- package/dist/esm/api/types/PostResult.d.mts +35 -0
- package/dist/esm/api/types/PostResult.mjs +2 -0
- package/dist/esm/api/types/PostStatus.d.mts +9 -0
- package/dist/esm/api/types/PostStatus.mjs +9 -0
- package/dist/esm/api/types/PostTarget.d.mts +64 -0
- package/dist/esm/api/types/PostTarget.mjs +30 -0
- package/dist/esm/api/types/Profile.d.mts +8 -0
- package/dist/esm/api/types/Profile.mjs +2 -0
- package/dist/esm/api/types/Queue.d.mts +30 -0
- package/dist/esm/api/types/Queue.mjs +2 -0
- package/dist/esm/api/types/QueueSlot.d.mts +17 -0
- package/dist/esm/api/types/QueueSlot.mjs +13 -0
- package/dist/esm/api/types/TargetEdit.d.mts +19 -0
- package/dist/esm/api/types/TargetEdit.mjs +11 -0
- package/dist/esm/api/types/TargetOptions.d.mts +304 -0
- package/dist/esm/api/types/TargetOptions.mjs +97 -0
- package/dist/esm/api/types/Teammate.d.mts +18 -0
- package/dist/esm/api/types/Teammate.mjs +10 -0
- package/dist/esm/api/types/Thread.d.mts +47 -0
- package/dist/esm/api/types/Thread.mjs +21 -0
- package/dist/esm/api/types/TikTokCreatorInfo.d.mts +29 -0
- package/dist/esm/api/types/TikTokCreatorInfo.mjs +13 -0
- package/dist/esm/api/types/UploadRequest.d.mts +24 -0
- package/dist/esm/api/types/UploadRequest.mjs +10 -0
- package/dist/esm/api/types/WebhookAttempt.d.mts +23 -0
- package/dist/esm/api/types/WebhookAttempt.mjs +14 -0
- package/dist/esm/api/types/WebhookDelivery.d.mts +34 -0
- package/dist/esm/api/types/WebhookDelivery.mjs +11 -0
- package/dist/esm/api/types/WebhookEndpoint.d.mts +55 -0
- package/dist/esm/api/types/WebhookEndpoint.mjs +21 -0
- package/dist/esm/api/types/WebhookEventType.d.mts +25 -0
- package/dist/esm/api/types/WebhookEventType.mjs +25 -0
- package/dist/esm/api/types/WebhookReplay.d.mts +10 -0
- package/dist/esm/api/types/WebhookReplay.mjs +2 -0
- package/dist/esm/api/types/WebhookSecret.d.mts +6 -0
- package/dist/esm/api/types/WebhookSecret.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +59 -0
- package/dist/esm/api/types/index.mjs +59 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +45 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +8 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +4 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +2 -0
- package/dist/esm/core/exports.mjs +2 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +270 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +55 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +17 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +81 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +170 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +11 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +87 -0
- package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +88 -0
- package/dist/esm/core/fetcher/signals.d.mts +6 -0
- package/dist/esm/core/fetcher/signals.mjs +28 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +8 -0
- package/dist/esm/core/index.mjs +8 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/pagination/Page.d.mts +33 -0
- package/dist/esm/core/pagination/Page.mjs +97 -0
- package/dist/esm/core/pagination/exports.d.mts +1 -0
- package/dist/esm/core/pagination/exports.mjs +1 -0
- package/dist/esm/core/pagination/index.d.mts +1 -0
- package/dist/esm/core/pagination/index.mjs +1 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +28 -0
- package/dist/esm/core/runtime/runtime.mjs +172 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/encodePathParam.d.mts +3 -0
- package/dist/esm/core/url/encodePathParam.mjs +24 -0
- package/dist/esm/core/url/index.d.mts +4 -0
- package/dist/esm/core/url/index.mjs +4 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/core/url/qs.mjs +73 -0
- package/dist/esm/core/utils/index.d.mts +1 -0
- package/dist/esm/core/utils/index.mjs +1 -0
- package/dist/esm/core/utils/setObjectProperty.d.mts +12 -0
- package/dist/esm/core/utils/setObjectProperty.mjs +45 -0
- package/dist/esm/environments.d.mts +4 -0
- package/dist/esm/environments.mjs +4 -0
- package/dist/esm/errors/RizamoError.d.mts +15 -0
- package/dist/esm/errors/RizamoError.mjs +49 -0
- package/dist/esm/errors/RizamoTimeoutError.d.mts +6 -0
- package/dist/esm/errors/RizamoTimeoutError.mjs +15 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +6 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +244 -6
- package/reference.md +4821 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The totals of the post's targets on their networks, from each network post's latest numbers (`List posts on the networks` has them one by one): a number is there when at least one network gives a value it does not hide. Null until one of them has numbers. A target whose network post has none adds nothing, and that post's `metricsUnavailable` says why, such as a Facebook story that ended before Rizamo read it.
|
|
3
|
+
*/
|
|
4
|
+
export interface PostMetrics {
|
|
5
|
+
/** Times it was played or shown on its networks, replays included: the main number. Missing where no network gives it, such as a Facebook Page read without insights, or every network hides it (`masked`). */
|
|
6
|
+
views?: number | undefined;
|
|
7
|
+
/** People who saw it, added up per network: one person on two networks counts twice. */
|
|
8
|
+
reach?: number | undefined;
|
|
9
|
+
/** Only from networks that still count impressions (not Instagram or Facebook since 2025). */
|
|
10
|
+
impressions?: number | undefined;
|
|
11
|
+
engagements?: number | undefined;
|
|
12
|
+
likes?: number | undefined;
|
|
13
|
+
comments?: number | undefined;
|
|
14
|
+
shares?: number | undefined;
|
|
15
|
+
saves?: number | undefined;
|
|
16
|
+
clicks?: number | undefined;
|
|
17
|
+
/** Accounts that followed from it: Instagram feed posts and stories, Facebook reels, TikTok posts. Missing unless a target gave a number the network did not hide. */
|
|
18
|
+
follows?: number | undefined;
|
|
19
|
+
/** Visits to the profile from it (`profile_visits` on a network post): Instagram feed posts and stories, TikTok posts. Missing unless a target gave a number the network did not hide. */
|
|
20
|
+
profileVisits?: number | undefined;
|
|
21
|
+
/** Engagements per 100 people reached, to two decimals, over the targets whose reach is above 0 (their engagements over their reach), as Analytics rates each post. A target with no reach, such as Threads or a Facebook reel, is left out. Missing when none has reach. It is not capped at 100: a post with more engagements than people reached, as when one person likes, comments and shares, rates above it. */
|
|
22
|
+
engagementRate?: number | undefined;
|
|
23
|
+
/** The numbers every target that has them hides because they are small (Meta: under 5), by the names above: missing from the totals rather than 0. Missing when none is. */
|
|
24
|
+
masked?: string[] | undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface PostResult {
|
|
3
|
+
/** The post on its network, as `Get a post on a network` returns it. */
|
|
4
|
+
networkPostId: string;
|
|
5
|
+
/** The Rizamo post it went out as. Null when it was made elsewhere. */
|
|
6
|
+
postId: string | null;
|
|
7
|
+
accountId: string;
|
|
8
|
+
network: Rizamo.Network;
|
|
9
|
+
format: Rizamo.PostFormat;
|
|
10
|
+
caption: string | null;
|
|
11
|
+
url: string | null;
|
|
12
|
+
/** A small copy of its picture on Rizamo's media host: the link works for a few hours. */
|
|
13
|
+
thumbnailUrl: string | null;
|
|
14
|
+
publishedAt: string;
|
|
15
|
+
/** When Rizamo found it gone from the network: its numbers are the last read, and it keeps no caption or picture. */
|
|
16
|
+
deletedAt: string | null;
|
|
17
|
+
/** When its numbers were read. Null until the first read, an hour after it went out. */
|
|
18
|
+
metricsAt: string | null;
|
|
19
|
+
/** Its views so far. */
|
|
20
|
+
views?: number | undefined;
|
|
21
|
+
/** People it reached so far. */
|
|
22
|
+
reach?: number | undefined;
|
|
23
|
+
/** Its engagements so far. */
|
|
24
|
+
engagements?: number | undefined;
|
|
25
|
+
/** Engagements per 100 people reached, to two decimals. Missing where the post has no reach, such as a Threads post, a YouTube video or a Facebook reel Meta gave no viewers for, or its reach is 0. It is not capped at 100: a post with more engagements than people reached, as when one person likes, comments and shares, rates above it. */
|
|
26
|
+
engagementRate?: number | undefined;
|
|
27
|
+
/** Every number of its latest read, by the names a network post's `metrics` uses: views, reach and engagements again, and the likes, comments, shares, saves, follows, profile_visits, watch times (watch_time and avg_watch_time, in milliseconds) or a story's replies and taps its network gives. A null value is one the network hides. Null until the first read. */
|
|
28
|
+
metrics: Record<string, number | null> | null;
|
|
29
|
+
/** Its numbers the network hides because they are small (Meta: under 5): they count as nothing. */
|
|
30
|
+
masked: string[];
|
|
31
|
+
/** Why it has no numbers and will get none, as `Get a post on a network` says it: a Facebook story that ended before Rizamo read it, or a post deleted with no numbers kept. Null otherwise. */
|
|
32
|
+
metricsUnavailable: string | null;
|
|
33
|
+
details?: (Rizamo.PostDetails | null) | undefined;
|
|
34
|
+
detailsAt?: (Rizamo.DetailsAt | null) | undefined;
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** partially_published: some targets went out and others failed, or a target's chain stopped partway (its `chainResults` say where); each target has its own status. */
|
|
2
|
+
export declare const PostStatus: {
|
|
3
|
+
readonly Draft: "draft";
|
|
4
|
+
readonly Scheduled: "scheduled";
|
|
5
|
+
readonly Published: "published";
|
|
6
|
+
readonly PartiallyPublished: "partially_published";
|
|
7
|
+
readonly Failed: "failed";
|
|
8
|
+
};
|
|
9
|
+
export type PostStatus = (typeof PostStatus)[keyof typeof PostStatus];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PostStatus = void 0;
|
|
5
|
+
/** partially_published: some targets went out and others failed, or a target's chain stopped partway (its `chainResults` say where); each target has its own status. */
|
|
6
|
+
exports.PostStatus = {
|
|
7
|
+
Draft: "draft",
|
|
8
|
+
Scheduled: "scheduled",
|
|
9
|
+
Published: "published",
|
|
10
|
+
PartiallyPublished: "partially_published",
|
|
11
|
+
Failed: "failed",
|
|
12
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface PostTarget {
|
|
3
|
+
accountId: string;
|
|
4
|
+
network: Rizamo.Network;
|
|
5
|
+
/** The format asked for, or the one its media leads to: one video is a reel or video, several images a carousel, otherwise a feed post. */
|
|
6
|
+
format: PostTarget.Format;
|
|
7
|
+
text: string | null;
|
|
8
|
+
media: Rizamo.Media[] | null;
|
|
9
|
+
options: Rizamo.TargetOptions;
|
|
10
|
+
firstComment: string | null;
|
|
11
|
+
/** Its own chain instead of the post's; null uses the post's. Networks that publish chains only (Threads). */
|
|
12
|
+
chain: Rizamo.ChainPart[] | null;
|
|
13
|
+
/** How each part of its chain went, in order, once the first post is live: a part missing here has not gone out. A part that failed stops the rest, the parts before it stay live, and publishing the post again goes on from the part that failed. Empty without a chain. */
|
|
14
|
+
chainResults: Rizamo.ChainPartResult[];
|
|
15
|
+
/** What Rizamo does to this target's files so the network takes them. Empty when they go as they are. */
|
|
16
|
+
changes: Rizamo.MediaChange[];
|
|
17
|
+
/** When this target goes out. Today it is always the post's `scheduledAt`; a time per target may come later (ADR 0027), so read a target's time here. */
|
|
18
|
+
scheduledAt: string | null;
|
|
19
|
+
/** pending: waiting for its time. publishing: going out now. unknown: the network did not confirm and we could not tell whether it went out; check the account before publishing again. */
|
|
20
|
+
status: PostTarget.Status;
|
|
21
|
+
url: string | null;
|
|
22
|
+
/** Why it failed or is unknown. On a published target, what to know about it: a chain stopped partway, a YouTube video still processing when Rizamo last asked, or a thumbnail YouTube did not take. Null otherwise. */
|
|
23
|
+
error: string | null;
|
|
24
|
+
/** After the post is deleted: removed from the network, not_supported (still live there, analytics keep flowing), failed (the network refused or did not answer: `error` says why, and deleting the post again tries again) or kept (still live there: the post moved to Deleted because its account was removed from Rizamo, which never deletes anything on the network). Null otherwise. */
|
|
25
|
+
removal: PostTarget.Removal | null;
|
|
26
|
+
/** Set when the target's account was removed from Rizamo. A post with other accounts keeps the part that went out, with its `url` and without its numbers, and loses the part that did not; a post that went to it alone moved to Deleted. Such a part is never sent or edited again. Connecting the account again clears it. Null otherwise. */
|
|
27
|
+
accountRemoved: PostTarget.AccountRemoved | null;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace PostTarget {
|
|
30
|
+
/** The format asked for, or the one its media leads to: one video is a reel or video, several images a carousel, otherwise a feed post. */
|
|
31
|
+
const Format: {
|
|
32
|
+
readonly Feed: "feed";
|
|
33
|
+
readonly Carousel: "carousel";
|
|
34
|
+
readonly Reel: "reel";
|
|
35
|
+
readonly Story: "story";
|
|
36
|
+
readonly Video: "video";
|
|
37
|
+
readonly Short: "short";
|
|
38
|
+
readonly Photo: "photo";
|
|
39
|
+
readonly Document: "document";
|
|
40
|
+
readonly Pin: "pin";
|
|
41
|
+
};
|
|
42
|
+
type Format = (typeof Format)[keyof typeof Format];
|
|
43
|
+
/** pending: waiting for its time. publishing: going out now. unknown: the network did not confirm and we could not tell whether it went out; check the account before publishing again. */
|
|
44
|
+
const Status: {
|
|
45
|
+
readonly Pending: "pending";
|
|
46
|
+
readonly Publishing: "publishing";
|
|
47
|
+
readonly Published: "published";
|
|
48
|
+
readonly Failed: "failed";
|
|
49
|
+
readonly Unknown: "unknown";
|
|
50
|
+
};
|
|
51
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
52
|
+
const Removal: {
|
|
53
|
+
readonly Removed: "removed";
|
|
54
|
+
readonly NotSupported: "not_supported";
|
|
55
|
+
readonly Failed: "failed";
|
|
56
|
+
readonly Kept: "kept";
|
|
57
|
+
};
|
|
58
|
+
type Removal = (typeof Removal)[keyof typeof Removal];
|
|
59
|
+
interface AccountRemoved {
|
|
60
|
+
/** The account's handle when it was removed, which names the part for as long as the post exists. */
|
|
61
|
+
handle: string;
|
|
62
|
+
at: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PostTarget = void 0;
|
|
5
|
+
var PostTarget;
|
|
6
|
+
(function (PostTarget) {
|
|
7
|
+
/** The format asked for, or the one its media leads to: one video is a reel or video, several images a carousel, otherwise a feed post. */
|
|
8
|
+
PostTarget.Format = {
|
|
9
|
+
Feed: "feed",
|
|
10
|
+
Carousel: "carousel",
|
|
11
|
+
Reel: "reel",
|
|
12
|
+
Story: "story",
|
|
13
|
+
Video: "video",
|
|
14
|
+
Short: "short",
|
|
15
|
+
Photo: "photo",
|
|
16
|
+
Document: "document",
|
|
17
|
+
Pin: "pin",
|
|
18
|
+
};
|
|
19
|
+
/** pending: waiting for its time. publishing: going out now. unknown: the network did not confirm and we could not tell whether it went out; check the account before publishing again. */
|
|
20
|
+
PostTarget.Status = {
|
|
21
|
+
Pending: "pending",
|
|
22
|
+
Publishing: "publishing",
|
|
23
|
+
Published: "published",
|
|
24
|
+
Failed: "failed",
|
|
25
|
+
Unknown: "unknown",
|
|
26
|
+
};
|
|
27
|
+
PostTarget.Removal = {
|
|
28
|
+
Removed: "removed",
|
|
29
|
+
NotSupported: "not_supported",
|
|
30
|
+
Failed: "failed",
|
|
31
|
+
Kept: "kept",
|
|
32
|
+
};
|
|
33
|
+
})(PostTarget || (exports.PostTarget = PostTarget = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface Queue {
|
|
3
|
+
profileId: string;
|
|
4
|
+
/** The profile's time zone, which the slots are read in. */
|
|
5
|
+
timeZone: string;
|
|
6
|
+
/** Its posting times, Monday first, each day's in order. */
|
|
7
|
+
slots: Rizamo.QueueSlot[];
|
|
8
|
+
/** The next posting times free for at least one of the profile's accounts, to show what is open. Never copy one into `scheduledAt` to take it: two callers would take the same one. Create the post with `queue: true` instead. */
|
|
9
|
+
next: Queue.Next.Item[];
|
|
10
|
+
/** The queued posts still to go out, soonest first, the next 100 at most, with their accounts (`Get a post` has the rest). Left out for a key or agent without `posts:read`: the queue's own read scope is `accounts:read`. */
|
|
11
|
+
posts?: Queue.Posts.Item[] | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Queue {
|
|
14
|
+
type Next = Next.Item[];
|
|
15
|
+
namespace Next {
|
|
16
|
+
interface Item {
|
|
17
|
+
at: string;
|
|
18
|
+
/** The profile's accounts free then: none of them has a post at that minute, and none would pass its network's daily cap. */
|
|
19
|
+
accountIds: string[];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
type Posts = Posts.Item[];
|
|
23
|
+
namespace Posts {
|
|
24
|
+
interface Item {
|
|
25
|
+
id: string;
|
|
26
|
+
scheduledAt: string;
|
|
27
|
+
accountIds: string[];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface QueueSlot {
|
|
2
|
+
weekday: QueueSlot.Weekday;
|
|
3
|
+
/** A local time, HH:mm, in the profile's time zone: the same clock time all year, across summer time. */
|
|
4
|
+
time: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace QueueSlot {
|
|
7
|
+
const Weekday: {
|
|
8
|
+
readonly Mon: "mon";
|
|
9
|
+
readonly Tue: "tue";
|
|
10
|
+
readonly Wed: "wed";
|
|
11
|
+
readonly Thu: "thu";
|
|
12
|
+
readonly Fri: "fri";
|
|
13
|
+
readonly Sat: "sat";
|
|
14
|
+
readonly Sun: "sun";
|
|
15
|
+
};
|
|
16
|
+
type Weekday = (typeof Weekday)[keyof typeof Weekday];
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.QueueSlot = void 0;
|
|
5
|
+
var QueueSlot;
|
|
6
|
+
(function (QueueSlot) {
|
|
7
|
+
QueueSlot.Weekday = {
|
|
8
|
+
Mon: "mon",
|
|
9
|
+
Tue: "tue",
|
|
10
|
+
Wed: "wed",
|
|
11
|
+
Thu: "thu",
|
|
12
|
+
Fri: "fri",
|
|
13
|
+
Sat: "sat",
|
|
14
|
+
Sun: "sun",
|
|
15
|
+
};
|
|
16
|
+
})(QueueSlot || (exports.QueueSlot = QueueSlot = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface TargetEdit {
|
|
3
|
+
accountId: string;
|
|
4
|
+
format: Rizamo.PostFormat;
|
|
5
|
+
/** applied: the target has the new version (on the network too, if it was live). not_supported: the network cannot make this change to a live post (Instagram captions, a Facebook post's link or first comment). skipped: live, and `applyToPublished` was not set. failed: the network refused or did not answer; the network keeps the old version and the same update can be sent again. */
|
|
6
|
+
result: TargetEdit.Result;
|
|
7
|
+
/** Why it failed, from the network. */
|
|
8
|
+
error: string | null;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace TargetEdit {
|
|
11
|
+
/** applied: the target has the new version (on the network too, if it was live). not_supported: the network cannot make this change to a live post (Instagram captions, a Facebook post's link or first comment). skipped: live, and `applyToPublished` was not set. failed: the network refused or did not answer; the network keeps the old version and the same update can be sent again. */
|
|
12
|
+
const Result: {
|
|
13
|
+
readonly Applied: "applied";
|
|
14
|
+
readonly NotSupported: "not_supported";
|
|
15
|
+
readonly Skipped: "skipped";
|
|
16
|
+
readonly Failed: "failed";
|
|
17
|
+
};
|
|
18
|
+
type Result = (typeof Result)[keyof typeof Result];
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TargetEdit = void 0;
|
|
5
|
+
var TargetEdit;
|
|
6
|
+
(function (TargetEdit) {
|
|
7
|
+
/** applied: the target has the new version (on the network too, if it was live). not_supported: the network cannot make this change to a live post (Instagram captions, a Facebook post's link or first comment). skipped: live, and `applyToPublished` was not set. failed: the network refused or did not answer; the network keeps the old version and the same update can be sent again. */
|
|
8
|
+
TargetEdit.Result = {
|
|
9
|
+
Applied: "applied",
|
|
10
|
+
NotSupported: "not_supported",
|
|
11
|
+
Skipped: "skipped",
|
|
12
|
+
Failed: "failed",
|
|
13
|
+
};
|
|
14
|
+
})(TargetEdit || (exports.TargetEdit = TargetEdit = {}));
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network-specific options, under the target's network: for example `{ "tiktok": { "isAiGenerated": true } }`.
|
|
3
|
+
*/
|
|
4
|
+
export interface TargetOptions {
|
|
5
|
+
instagram?: TargetOptions.Instagram | undefined;
|
|
6
|
+
facebook?: TargetOptions.Facebook | undefined;
|
|
7
|
+
tiktok?: TargetOptions.Tiktok | undefined;
|
|
8
|
+
threads?: TargetOptions.Threads | undefined;
|
|
9
|
+
linkedin?: TargetOptions.Linkedin | undefined;
|
|
10
|
+
youtube?: TargetOptions.Youtube | undefined;
|
|
11
|
+
pinterest?: TargetOptions.Pinterest | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace TargetOptions {
|
|
14
|
+
interface Instagram {
|
|
15
|
+
/** Reels: also show in the profile grid. Default true. */
|
|
16
|
+
shareToFeed?: boolean | undefined;
|
|
17
|
+
/** Reels, and a single video sent as a feed post (Instagram makes it a reel): an image as the cover, at a public link Instagram downloads when the post goes out. Not with `coverOffsetMs`. */
|
|
18
|
+
coverUrl?: string | undefined;
|
|
19
|
+
/** Reels, and a single video sent as a feed post: the frame this many milliseconds in becomes the cover. Instagram's default is 0, the first frame. Not with `coverUrl`. */
|
|
20
|
+
coverOffsetMs?: number | undefined;
|
|
21
|
+
/** Feed posts, carousels and reels: up to 3 usernames invited as collaborators. Not sent on stories. */
|
|
22
|
+
collaborators?: string[] | undefined;
|
|
23
|
+
/** Feed posts, carousels and reels: a Facebook Page id used as the location. Not sent on stories. */
|
|
24
|
+
locationId?: string | undefined;
|
|
25
|
+
/** Feed images taller than 9:16 or wider than 1.91:1, which Instagram refuses: fill keeps all of the image over a blurred copy of itself (default), crop cuts it to the nearest shape. */
|
|
26
|
+
fit?: Instagram.Fit | undefined;
|
|
27
|
+
/** Music from Instagram's library, for reels only. Accounts connected through Facebook Login only. */
|
|
28
|
+
music?: Instagram.Music | undefined;
|
|
29
|
+
/** Labels the post as made with AI (Instagram's "AI info"): feed posts, carousels (the label covers the whole carousel), reels and stories. */
|
|
30
|
+
isAiGenerated?: boolean | undefined;
|
|
31
|
+
/** People tagged on the post, up to 20 on each file, public accounts only. Images need `x` and `y` for each tag; videos and reels take the username alone; on stories `x` and `y` are optional. On a carousel, `mediaIndex` picks the file. */
|
|
32
|
+
userTags?: Instagram.UserTags.Item[] | undefined;
|
|
33
|
+
/** Reels: publish it as a trial reel, shown to people who do not follow the account first. manual: someone shares it with followers in the Instagram app. performance: Instagram shares it with followers if it does well. */
|
|
34
|
+
trialReel?: Instagram.TrialReel | undefined;
|
|
35
|
+
}
|
|
36
|
+
namespace Instagram {
|
|
37
|
+
/** Feed images taller than 9:16 or wider than 1.91:1, which Instagram refuses: fill keeps all of the image over a blurred copy of itself (default), crop cuts it to the nearest shape. */
|
|
38
|
+
const Fit: {
|
|
39
|
+
readonly Fill: "fill";
|
|
40
|
+
readonly Crop: "crop";
|
|
41
|
+
};
|
|
42
|
+
type Fit = (typeof Fit)[keyof typeof Fit];
|
|
43
|
+
/**
|
|
44
|
+
* Music from Instagram's library, for reels only. Accounts connected through Facebook Login only.
|
|
45
|
+
*/
|
|
46
|
+
interface Music {
|
|
47
|
+
/** A track's `id` from `Search music` on this account. */
|
|
48
|
+
audioId: string;
|
|
49
|
+
/** The music's volume, 1 to 100. Default 100 (Instagram's). */
|
|
50
|
+
volume?: number | undefined;
|
|
51
|
+
/** The video's own sound under it, 1 to 100. Default 100 (Instagram's): lower it to let the music lead. */
|
|
52
|
+
videoVolume?: number | undefined;
|
|
53
|
+
}
|
|
54
|
+
type UserTags = UserTags.Item[];
|
|
55
|
+
namespace UserTags {
|
|
56
|
+
interface Item {
|
|
57
|
+
/** A public Instagram account's username, with or without the @. */
|
|
58
|
+
username: string;
|
|
59
|
+
/** How far from the left edge, from 0 to 1. Required on images, with `y`; optional on stories; not on videos or reels. */
|
|
60
|
+
x?: number | undefined;
|
|
61
|
+
/** How far from the top edge, from 0 to 1. */
|
|
62
|
+
y?: number | undefined;
|
|
63
|
+
/** Carousels: which file the tag goes on, from 0 (the first, the default). */
|
|
64
|
+
mediaIndex?: number | undefined;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/** Reels: publish it as a trial reel, shown to people who do not follow the account first. manual: someone shares it with followers in the Instagram app. performance: Instagram shares it with followers if it does well. */
|
|
68
|
+
const TrialReel: {
|
|
69
|
+
readonly Manual: "manual";
|
|
70
|
+
readonly Performance: "performance";
|
|
71
|
+
};
|
|
72
|
+
type TrialReel = (typeof TrialReel)[keyof typeof TrialReel];
|
|
73
|
+
}
|
|
74
|
+
interface Facebook {
|
|
75
|
+
/** Feed posts without files: a link shown as a preview card. Not sent with photos or a video. With `callToAction`, a button under it opens it too. */
|
|
76
|
+
link?: string | undefined;
|
|
77
|
+
/** Link posts (a feed post with `link` and no files): a button under the link card that opens the post's `link`, as Meta asks, so its clicks count with the card's. Not on photos, videos, reels or stories. Set before the post goes out: Meta cannot change it on a live post. */
|
|
78
|
+
callToAction?: Facebook.CallToAction | undefined;
|
|
79
|
+
/** A Facebook Page id with a location, tagged as the post's place: feed posts (text, a link or photos) and reels. Not on a feed video or a story. */
|
|
80
|
+
locationId?: string | undefined;
|
|
81
|
+
/** Reels: labels the reel as made or edited with AI. Facebook's API takes the label on reels only. */
|
|
82
|
+
isAiGenerated?: boolean | undefined;
|
|
83
|
+
}
|
|
84
|
+
namespace Facebook {
|
|
85
|
+
/**
|
|
86
|
+
* Link posts (a feed post with `link` and no files): a button under the link card that opens the post's `link`, as Meta asks, so its clicks count with the card's. Not on photos, videos, reels or stories. Set before the post goes out: Meta cannot change it on a live post.
|
|
87
|
+
*/
|
|
88
|
+
interface CallToAction {
|
|
89
|
+
/** What the button says: learn_more (Learn More), sign_up (Sign Up), book_travel (Book Now), download (Download), install_app (Install Now), use_app (Use App), listen_music (Listen Music), watch_more (Watch More), watch_video (Watch Video). Meta keeps its other buttons (Shop Now, Call Now, Send Message, Get Quote...) for ads. */
|
|
90
|
+
type: CallToAction.Type;
|
|
91
|
+
}
|
|
92
|
+
namespace CallToAction {
|
|
93
|
+
/** What the button says: learn_more (Learn More), sign_up (Sign Up), book_travel (Book Now), download (Download), install_app (Install Now), use_app (Use App), listen_music (Listen Music), watch_more (Watch More), watch_video (Watch Video). Meta keeps its other buttons (Shop Now, Call Now, Send Message, Get Quote...) for ads. */
|
|
94
|
+
const Type: {
|
|
95
|
+
readonly LearnMore: "learn_more";
|
|
96
|
+
readonly SignUp: "sign_up";
|
|
97
|
+
readonly BookTravel: "book_travel";
|
|
98
|
+
readonly Download: "download";
|
|
99
|
+
readonly InstallApp: "install_app";
|
|
100
|
+
readonly UseApp: "use_app";
|
|
101
|
+
readonly ListenMusic: "listen_music";
|
|
102
|
+
readonly WatchMore: "watch_more";
|
|
103
|
+
readonly WatchVideo: "watch_video";
|
|
104
|
+
};
|
|
105
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
interface Tiktok {
|
|
109
|
+
/** Required. Turns comments off. Ask the person; true when the account's creator info says comments are off. */
|
|
110
|
+
disableComments?: boolean | undefined;
|
|
111
|
+
/** Required for videos. Turns Duet off. Ask the person; true when the account's creator info says Duet is off. */
|
|
112
|
+
disableDuet?: boolean | undefined;
|
|
113
|
+
/** Required for videos. Turns Stitch off. Ask the person; true when the account's creator info says Stitch is off. */
|
|
114
|
+
disableStitch?: boolean | undefined;
|
|
115
|
+
/** Required. The post promotes the person's own business: TikTok labels it "Promotional content". */
|
|
116
|
+
isYourBrand?: boolean | undefined;
|
|
117
|
+
/** Required. A paid partnership with a third party: TikTok labels it "Paid partnership". It cannot be private (`only_me`). */
|
|
118
|
+
isBrandedContent?: boolean | undefined;
|
|
119
|
+
/** Required for videos. Labels the video as AI-generated. */
|
|
120
|
+
isAiGenerated?: boolean | undefined;
|
|
121
|
+
/** Required for photos (videos are always public): one of the account's `privacyLevels` from its creator info. */
|
|
122
|
+
privacyLevel?: Tiktok.PrivacyLevel | undefined;
|
|
123
|
+
/** Photos: a title shown above the caption, up to 90 characters. */
|
|
124
|
+
title?: string | undefined;
|
|
125
|
+
/** Photos: let TikTok pick the music. Not together with `music`. */
|
|
126
|
+
autoAddMusic?: boolean | undefined;
|
|
127
|
+
/** Music from TikTok's library, for a video or photo post that publishes (not a draft, not with autoAddMusic). Photos take only trackId. */
|
|
128
|
+
music?: Tiktok.Music | undefined;
|
|
129
|
+
/** Videos: the frame this many milliseconds in becomes the cover. It must be within the video: TikTok fails a post whose cover is past its end. TikTok's default is 0, the first frame. Not with `coverMediaId`, nor in a draft, where TikTok ignores it. */
|
|
130
|
+
coverOffsetMs?: number | undefined;
|
|
131
|
+
/** Videos: an image uploaded to Rizamo, by its media id, as the cover: JPG, PNG or WebP, at least 360 by 360 pixels. TikTok downloads covers only from Rizamo's own media links, so a cover is media, not a link. Not with `coverOffsetMs`. */
|
|
132
|
+
coverMediaId?: string | undefined;
|
|
133
|
+
/** Photos: which photo is the cover, from 0 (the first, TikTok's default). */
|
|
134
|
+
coverIndex?: number | undefined;
|
|
135
|
+
/** Send it to the creator's TikTok inbox as a draft instead of publishing. The person finishes it in the TikTok app, where TikTok asks for every other choice; the target is published once it reaches the inbox, with no link. */
|
|
136
|
+
draft?: boolean | undefined;
|
|
137
|
+
/** Required to publish: the person saw the post, the account's name and these choices, and agreed to TikTok's Music Usage Confirmation (and its Branded Content Policy for branded content). Never set it without asking. */
|
|
138
|
+
consent?: boolean | undefined;
|
|
139
|
+
}
|
|
140
|
+
namespace Tiktok {
|
|
141
|
+
/** Required for photos (videos are always public): one of the account's `privacyLevels` from its creator info. */
|
|
142
|
+
const PrivacyLevel: {
|
|
143
|
+
readonly Everyone: "everyone";
|
|
144
|
+
readonly Friends: "friends";
|
|
145
|
+
readonly Followers: "followers";
|
|
146
|
+
readonly OnlyMe: "only_me";
|
|
147
|
+
};
|
|
148
|
+
type PrivacyLevel = (typeof PrivacyLevel)[keyof typeof PrivacyLevel];
|
|
149
|
+
/**
|
|
150
|
+
* Music from TikTok's library, for a video or photo post that publishes (not a draft, not with autoAddMusic). Photos take only trackId.
|
|
151
|
+
*/
|
|
152
|
+
interface Music {
|
|
153
|
+
/** A track's `id` from `Search music` on this account. */
|
|
154
|
+
trackId: string;
|
|
155
|
+
/** Videos, required: the music's volume, 0 to 100. TikTok's app uses 50. */
|
|
156
|
+
volume?: number | undefined;
|
|
157
|
+
/** Videos: the video's own sound under the music, 0 to 100. Default 50, as in TikTok's app; 0 mutes it. */
|
|
158
|
+
videoVolume?: number | undefined;
|
|
159
|
+
/** Videos: where in the track the music starts, in milliseconds. Default 0. */
|
|
160
|
+
startMs?: number | undefined;
|
|
161
|
+
/** Videos: where in the track it ends, in milliseconds, after startMs. Default: startMs plus the video's length. */
|
|
162
|
+
endMs?: number | undefined;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
interface Threads {
|
|
166
|
+
/** Text posts (no image or video) without a poll: a link shown as a preview card. Left out, Threads makes the card from the first link in the text. A post takes at most 5 different links, this one included. */
|
|
167
|
+
linkAttachment?: string | undefined;
|
|
168
|
+
/** Text posts (no image or video) without a link card: a poll. Threads decides when it ends. */
|
|
169
|
+
poll?: Threads.Poll | undefined;
|
|
170
|
+
/** The post's topic, 1 to 50 characters, without periods (.) or ampersands (&). One per post. */
|
|
171
|
+
topicTag?: string | undefined;
|
|
172
|
+
/** Who may reply: everyone (Threads' default), accounts_you_follow, mentioned_only, parent_post_author_only or followers_only. On a chain, every post of it. */
|
|
173
|
+
replyControl?: Threads.ReplyControl | undefined;
|
|
174
|
+
/** Quote another Threads post, by its id on Threads (a network post's `networkPostId`). */
|
|
175
|
+
quotePostId?: string | undefined;
|
|
176
|
+
/** Labels the post as made with AI (Threads' "AI info"): text, image, video and carousel posts, and every post of its chain. */
|
|
177
|
+
isAiGenerated?: boolean | undefined;
|
|
178
|
+
}
|
|
179
|
+
namespace Threads {
|
|
180
|
+
/**
|
|
181
|
+
* Text posts (no image or video) without a link card: a poll. Threads decides when it ends.
|
|
182
|
+
*/
|
|
183
|
+
interface Poll {
|
|
184
|
+
/** 2 to 4 answers, each 1 to 25 characters. */
|
|
185
|
+
options: string[];
|
|
186
|
+
}
|
|
187
|
+
/** Who may reply: everyone (Threads' default), accounts_you_follow, mentioned_only, parent_post_author_only or followers_only. On a chain, every post of it. */
|
|
188
|
+
const ReplyControl: {
|
|
189
|
+
readonly Everyone: "everyone";
|
|
190
|
+
readonly AccountsYouFollow: "accounts_you_follow";
|
|
191
|
+
readonly MentionedOnly: "mentioned_only";
|
|
192
|
+
readonly ParentPostAuthorOnly: "parent_post_author_only";
|
|
193
|
+
readonly FollowersOnly: "followers_only";
|
|
194
|
+
};
|
|
195
|
+
type ReplyControl = (typeof ReplyControl)[keyof typeof ReplyControl];
|
|
196
|
+
}
|
|
197
|
+
interface Linkedin {
|
|
198
|
+
/** Documents (required) and videos: the title LinkedIn shows on the file. Not on other posts. */
|
|
199
|
+
title?: string | undefined;
|
|
200
|
+
/** Feed posts without files: a poll under the text. No link card goes with it, and nothing of it changes once it is live. */
|
|
201
|
+
poll?: Linkedin.Poll | undefined;
|
|
202
|
+
/** Videos: an image uploaded to Rizamo, by its media id, as the video's thumbnail. */
|
|
203
|
+
thumbnailMediaId?: string | undefined;
|
|
204
|
+
/** Profiles only: who sees the post, anyone (public, the default) or the person's connections. */
|
|
205
|
+
visibility?: Linkedin.Visibility | undefined;
|
|
206
|
+
/** Turns comments off, right after the post goes out: LinkedIn takes it as a second call, which deletes any comment made in between, so not with a first comment. If that call fails, the post stays live with comments on and the target's `error` says so. */
|
|
207
|
+
disableComments?: boolean | undefined;
|
|
208
|
+
/** Stops other people from resharing the post. */
|
|
209
|
+
disableReshare?: boolean | undefined;
|
|
210
|
+
/** Reshare a LinkedIn post, by its URN (a network post's `networkId`), with the target's text above it. No files, poll or title. */
|
|
211
|
+
reshareOf?: string | undefined;
|
|
212
|
+
/** Link posts only: a button on the post's link card that opens its link, the first link in the text. Not with files, a poll or a reshare: LinkedIn shows none on images, videos or documents. If Rizamo cannot read the link's page to make the card, the post goes without the button and the target's `error` says so. */
|
|
213
|
+
callToAction?: Linkedin.CallToAction | undefined;
|
|
214
|
+
}
|
|
215
|
+
namespace Linkedin {
|
|
216
|
+
/**
|
|
217
|
+
* Feed posts without files: a poll under the text. No link card goes with it, and nothing of it changes once it is live.
|
|
218
|
+
*/
|
|
219
|
+
interface Poll {
|
|
220
|
+
/** Up to 140 characters. LinkedIn bars questions on political opinions, health and other sensitive data. */
|
|
221
|
+
question: string;
|
|
222
|
+
/** 2 to 4 answers, each up to 30 characters. */
|
|
223
|
+
options: string[];
|
|
224
|
+
/** How long it stays open: 1, 3, 7 or 14 days. Left out: 7. */
|
|
225
|
+
days?: number | undefined;
|
|
226
|
+
}
|
|
227
|
+
/** Profiles only: who sees the post, anyone (public, the default) or the person's connections. */
|
|
228
|
+
const Visibility: {
|
|
229
|
+
readonly Public: "public";
|
|
230
|
+
readonly Connections: "connections";
|
|
231
|
+
};
|
|
232
|
+
type Visibility = (typeof Visibility)[keyof typeof Visibility];
|
|
233
|
+
/**
|
|
234
|
+
* Link posts only: a button on the post's link card that opens its link, the first link in the text. Not with files, a poll or a reshare: LinkedIn shows none on images, videos or documents. If Rizamo cannot read the link's page to make the card, the post goes without the button and the target's `error` says so.
|
|
235
|
+
*/
|
|
236
|
+
interface CallToAction {
|
|
237
|
+
/** What the button says: learn_more (Learn more), sign_up (Sign up), register (Register), and LinkedIn's others. */
|
|
238
|
+
label: CallToAction.Label;
|
|
239
|
+
}
|
|
240
|
+
namespace CallToAction {
|
|
241
|
+
/** What the button says: learn_more (Learn more), sign_up (Sign up), register (Register), and LinkedIn's others. */
|
|
242
|
+
const Label: {
|
|
243
|
+
readonly LearnMore: "learn_more";
|
|
244
|
+
readonly SignUp: "sign_up";
|
|
245
|
+
readonly Register: "register";
|
|
246
|
+
readonly Apply: "apply";
|
|
247
|
+
readonly Download: "download";
|
|
248
|
+
readonly Subscribe: "subscribe";
|
|
249
|
+
readonly Join: "join";
|
|
250
|
+
readonly Attend: "attend";
|
|
251
|
+
readonly RequestDemo: "request_demo";
|
|
252
|
+
readonly SeeMore: "see_more";
|
|
253
|
+
readonly ViewQuote: "view_quote";
|
|
254
|
+
readonly BuyNow: "buy_now";
|
|
255
|
+
readonly ShopNow: "shop_now";
|
|
256
|
+
};
|
|
257
|
+
type Label = (typeof Label)[keyof typeof Label];
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
interface Youtube {
|
|
261
|
+
/** The video's title, 1 to 100 characters, without < or >. Left out: the text's first line, cut at 100 characters. The text is the description. */
|
|
262
|
+
title?: string | undefined;
|
|
263
|
+
/** Who can watch it: public (YouTube's default when left out), unlisted or private. With `publishAt`, private. */
|
|
264
|
+
privacy?: Youtube.Privacy | undefined;
|
|
265
|
+
/** Whether the video is made for kids (YouTube's audience setting, COPPA). Required to schedule or publish, with no default: ask the person. Made for kids turns off comments and personalized ads on YouTube. */
|
|
266
|
+
madeForKids?: boolean | undefined;
|
|
267
|
+
/** Keywords, at most 500 characters in all as YouTube counts them (a comma between tags, quotes around a tag with a space). */
|
|
268
|
+
tags?: string[] | undefined;
|
|
269
|
+
/** YouTube's video category id, such as 22 (People & Blogs) or 28 (Science & Technology). Left out, YouTube picks the channel's default. */
|
|
270
|
+
categoryId?: string | undefined;
|
|
271
|
+
/** When YouTube makes the video public, after Rizamo uploads it as private at the post's time (YouTube's own scheduling). In the future, and with `privacy` private or left out. To have Rizamo upload it later instead, schedule the post. */
|
|
272
|
+
publishAt?: string | undefined;
|
|
273
|
+
/** Discloses realistic altered or synthetic content (YouTube's `containsSyntheticMedia`). */
|
|
274
|
+
isAiGenerated?: boolean | undefined;
|
|
275
|
+
/** An image to use as the thumbnail (JPEG or PNG, up to 2 MB), set once the video is live. YouTube takes custom thumbnails only from channels it has verified. */
|
|
276
|
+
thumbnailMediaId?: string | undefined;
|
|
277
|
+
/** Whether YouTube tells subscribers about the video. Left out: yes, YouTube's default. */
|
|
278
|
+
notifySubscribers?: boolean | undefined;
|
|
279
|
+
/** The video's license: youtube (the standard YouTube license, the default) or creativeCommon. */
|
|
280
|
+
license?: Youtube.License | undefined;
|
|
281
|
+
/** Whether other sites may embed it. Left out: yes, YouTube's default. */
|
|
282
|
+
embeddable?: boolean | undefined;
|
|
283
|
+
}
|
|
284
|
+
namespace Youtube {
|
|
285
|
+
/** Who can watch it: public (YouTube's default when left out), unlisted or private. With `publishAt`, private. */
|
|
286
|
+
const Privacy: {
|
|
287
|
+
readonly Public: "public";
|
|
288
|
+
readonly Unlisted: "unlisted";
|
|
289
|
+
readonly Private: "private";
|
|
290
|
+
};
|
|
291
|
+
type Privacy = (typeof Privacy)[keyof typeof Privacy];
|
|
292
|
+
/** The video's license: youtube (the standard YouTube license, the default) or creativeCommon. */
|
|
293
|
+
const License: {
|
|
294
|
+
readonly Youtube: "youtube";
|
|
295
|
+
readonly CreativeCommon: "creativeCommon";
|
|
296
|
+
};
|
|
297
|
+
type License = (typeof License)[keyof typeof License];
|
|
298
|
+
}
|
|
299
|
+
interface Pinterest {
|
|
300
|
+
boardId?: string | undefined;
|
|
301
|
+
title?: string | undefined;
|
|
302
|
+
link?: string | undefined;
|
|
303
|
+
}
|
|
304
|
+
}
|