rizamo 0.0.0 → 1.0.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 +23 -0
- package/dist/cjs/api/types/Actor.js +3 -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 +23 -0
- package/dist/esm/api/types/Actor.mjs +2 -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
package/reference.md
ADDED
|
@@ -0,0 +1,4821 @@
|
|
|
1
|
+
# Reference
|
|
2
|
+
## Profiles
|
|
3
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">list</a>() -> Rizamo.ListProfilesResponse</code></summary>
|
|
4
|
+
<dl>
|
|
5
|
+
<dd>
|
|
6
|
+
|
|
7
|
+
#### 📝 Description
|
|
8
|
+
|
|
9
|
+
<dl>
|
|
10
|
+
<dd>
|
|
11
|
+
|
|
12
|
+
<dl>
|
|
13
|
+
<dd>
|
|
14
|
+
|
|
15
|
+
The brands or clients the team posts for, each with its colour and time zone. A key or person limited to some profiles gets those only.
|
|
16
|
+
</dd>
|
|
17
|
+
</dl>
|
|
18
|
+
</dd>
|
|
19
|
+
</dl>
|
|
20
|
+
|
|
21
|
+
#### 🔌 Usage
|
|
22
|
+
|
|
23
|
+
<dl>
|
|
24
|
+
<dd>
|
|
25
|
+
|
|
26
|
+
<dl>
|
|
27
|
+
<dd>
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
await client.profiles.list();
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
</dd>
|
|
34
|
+
</dl>
|
|
35
|
+
</dd>
|
|
36
|
+
</dl>
|
|
37
|
+
|
|
38
|
+
#### ⚙️ Parameters
|
|
39
|
+
|
|
40
|
+
<dl>
|
|
41
|
+
<dd>
|
|
42
|
+
|
|
43
|
+
<dl>
|
|
44
|
+
<dd>
|
|
45
|
+
|
|
46
|
+
**requestOptions:** `ProfilesClient.RequestOptions`
|
|
47
|
+
|
|
48
|
+
</dd>
|
|
49
|
+
</dl>
|
|
50
|
+
</dd>
|
|
51
|
+
</dl>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</dd>
|
|
55
|
+
</dl>
|
|
56
|
+
</details>
|
|
57
|
+
|
|
58
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">create</a>({ ...params }) -> Rizamo.Profile</code></summary>
|
|
59
|
+
<dl>
|
|
60
|
+
<dd>
|
|
61
|
+
|
|
62
|
+
#### 📝 Description
|
|
63
|
+
|
|
64
|
+
<dl>
|
|
65
|
+
<dd>
|
|
66
|
+
|
|
67
|
+
<dl>
|
|
68
|
+
<dd>
|
|
69
|
+
|
|
70
|
+
A brand or client of its own, with no accounts yet: connect them with `Get a link to connect an account`, or in the web app. Each profile's name is its own in the team (409 otherwise).
|
|
71
|
+
</dd>
|
|
72
|
+
</dl>
|
|
73
|
+
</dd>
|
|
74
|
+
</dl>
|
|
75
|
+
|
|
76
|
+
#### 🔌 Usage
|
|
77
|
+
|
|
78
|
+
<dl>
|
|
79
|
+
<dd>
|
|
80
|
+
|
|
81
|
+
<dl>
|
|
82
|
+
<dd>
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
await client.profiles.create({
|
|
86
|
+
name: "Bloom Studio",
|
|
87
|
+
timeZone: "Europe/Lisbon"
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
</dd>
|
|
92
|
+
</dl>
|
|
93
|
+
</dd>
|
|
94
|
+
</dl>
|
|
95
|
+
|
|
96
|
+
#### ⚙️ Parameters
|
|
97
|
+
|
|
98
|
+
<dl>
|
|
99
|
+
<dd>
|
|
100
|
+
|
|
101
|
+
<dl>
|
|
102
|
+
<dd>
|
|
103
|
+
|
|
104
|
+
**request:** `Rizamo.CreateProfilesRequest`
|
|
105
|
+
|
|
106
|
+
</dd>
|
|
107
|
+
</dl>
|
|
108
|
+
|
|
109
|
+
<dl>
|
|
110
|
+
<dd>
|
|
111
|
+
|
|
112
|
+
**requestOptions:** `ProfilesClient.IdempotentRequestOptions`
|
|
113
|
+
|
|
114
|
+
</dd>
|
|
115
|
+
</dl>
|
|
116
|
+
</dd>
|
|
117
|
+
</dl>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</dd>
|
|
121
|
+
</dl>
|
|
122
|
+
</details>
|
|
123
|
+
|
|
124
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">delete</a>({ ...params }) -> Rizamo.DeleteProfilesResponse</code></summary>
|
|
125
|
+
<dl>
|
|
126
|
+
<dd>
|
|
127
|
+
|
|
128
|
+
#### 📝 Description
|
|
129
|
+
|
|
130
|
+
<dl>
|
|
131
|
+
<dd>
|
|
132
|
+
|
|
133
|
+
<dl>
|
|
134
|
+
<dd>
|
|
135
|
+
|
|
136
|
+
For good: what is in it cannot be restored. Its posts go, deleted ones included, with their history and preview links (posts already published stay on the networks), and so do its posting times, its upload requests and connect links, its other events, and its media that no post of another profile uses. Its short links stay and keep working, with no profile. People and invitations limited to some profiles, API keys, agents and webhook endpoints lose it from their profiles: a key or agent that reached only this profile is revoked, and an endpoint that took only its events is disabled (`disabledReason` `profile_deleted`). Refused (409) while it has accounts (move each to another profile, or remove it, first), when it is the team's only profile, while one of its posts is going out, and while a person or an open invitation reaches no other profile, naming them. Only an owner deletes a profile, signed in as themselves within the last 15 minutes (with their session, as the web app does), or an API key an owner let remove accounts and delete profiles when making it (Developers in the web app). Other API keys and agents are refused (403), and a key reaches only its own profiles.
|
|
137
|
+
</dd>
|
|
138
|
+
</dl>
|
|
139
|
+
</dd>
|
|
140
|
+
</dl>
|
|
141
|
+
|
|
142
|
+
#### 🔌 Usage
|
|
143
|
+
|
|
144
|
+
<dl>
|
|
145
|
+
<dd>
|
|
146
|
+
|
|
147
|
+
<dl>
|
|
148
|
+
<dd>
|
|
149
|
+
|
|
150
|
+
```typescript
|
|
151
|
+
await client.profiles.delete({
|
|
152
|
+
id: "prof_01m41bamm0f3a8mr2eek4wdq39"
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
</dd>
|
|
157
|
+
</dl>
|
|
158
|
+
</dd>
|
|
159
|
+
</dl>
|
|
160
|
+
|
|
161
|
+
#### ⚙️ Parameters
|
|
162
|
+
|
|
163
|
+
<dl>
|
|
164
|
+
<dd>
|
|
165
|
+
|
|
166
|
+
<dl>
|
|
167
|
+
<dd>
|
|
168
|
+
|
|
169
|
+
**request:** `Rizamo.DeleteProfilesRequest`
|
|
170
|
+
|
|
171
|
+
</dd>
|
|
172
|
+
</dl>
|
|
173
|
+
|
|
174
|
+
<dl>
|
|
175
|
+
<dd>
|
|
176
|
+
|
|
177
|
+
**requestOptions:** `ProfilesClient.RequestOptions`
|
|
178
|
+
|
|
179
|
+
</dd>
|
|
180
|
+
</dl>
|
|
181
|
+
</dd>
|
|
182
|
+
</dl>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</dd>
|
|
186
|
+
</dl>
|
|
187
|
+
</details>
|
|
188
|
+
|
|
189
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">update</a>({ ...params }) -> Rizamo.Profile</code></summary>
|
|
190
|
+
<dl>
|
|
191
|
+
<dd>
|
|
192
|
+
|
|
193
|
+
#### 📝 Description
|
|
194
|
+
|
|
195
|
+
<dl>
|
|
196
|
+
<dd>
|
|
197
|
+
|
|
198
|
+
<dl>
|
|
199
|
+
<dd>
|
|
200
|
+
|
|
201
|
+
Its name, colour or time zone; what is left out stays as it is. A new time zone reads posting times and local `scheduledAt` from then on: posts already scheduled keep their time.
|
|
202
|
+
</dd>
|
|
203
|
+
</dl>
|
|
204
|
+
</dd>
|
|
205
|
+
</dl>
|
|
206
|
+
|
|
207
|
+
#### 🔌 Usage
|
|
208
|
+
|
|
209
|
+
<dl>
|
|
210
|
+
<dd>
|
|
211
|
+
|
|
212
|
+
<dl>
|
|
213
|
+
<dd>
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
await client.profiles.update({
|
|
217
|
+
id: "prof_01m40k9k80fxd8cvng8derm7g9",
|
|
218
|
+
color: "#3CCF96"
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
</dd>
|
|
223
|
+
</dl>
|
|
224
|
+
</dd>
|
|
225
|
+
</dl>
|
|
226
|
+
|
|
227
|
+
#### ⚙️ Parameters
|
|
228
|
+
|
|
229
|
+
<dl>
|
|
230
|
+
<dd>
|
|
231
|
+
|
|
232
|
+
<dl>
|
|
233
|
+
<dd>
|
|
234
|
+
|
|
235
|
+
**request:** `Rizamo.UpdateProfilesRequest`
|
|
236
|
+
|
|
237
|
+
</dd>
|
|
238
|
+
</dl>
|
|
239
|
+
|
|
240
|
+
<dl>
|
|
241
|
+
<dd>
|
|
242
|
+
|
|
243
|
+
**requestOptions:** `ProfilesClient.RequestOptions`
|
|
244
|
+
|
|
245
|
+
</dd>
|
|
246
|
+
</dl>
|
|
247
|
+
</dd>
|
|
248
|
+
</dl>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</dd>
|
|
252
|
+
</dl>
|
|
253
|
+
</details>
|
|
254
|
+
|
|
255
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">queue</a>({ ...params }) -> Rizamo.Queue</code></summary>
|
|
256
|
+
<dl>
|
|
257
|
+
<dd>
|
|
258
|
+
|
|
259
|
+
#### 📝 Description
|
|
260
|
+
|
|
261
|
+
<dl>
|
|
262
|
+
<dd>
|
|
263
|
+
|
|
264
|
+
<dl>
|
|
265
|
+
<dd>
|
|
266
|
+
|
|
267
|
+
Its posting times, read in its time zone; the next `count` times free for at least one of its accounts, with which ones (none of them has a post at that minute, scheduled or queued, and none would pass its network's daily cap); and its queued posts still to go out.
|
|
268
|
+
</dd>
|
|
269
|
+
</dl>
|
|
270
|
+
</dd>
|
|
271
|
+
</dl>
|
|
272
|
+
|
|
273
|
+
#### 🔌 Usage
|
|
274
|
+
|
|
275
|
+
<dl>
|
|
276
|
+
<dd>
|
|
277
|
+
|
|
278
|
+
<dl>
|
|
279
|
+
<dd>
|
|
280
|
+
|
|
281
|
+
```typescript
|
|
282
|
+
await client.profiles.queue({
|
|
283
|
+
id: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
</dd>
|
|
288
|
+
</dl>
|
|
289
|
+
</dd>
|
|
290
|
+
</dl>
|
|
291
|
+
|
|
292
|
+
#### ⚙️ Parameters
|
|
293
|
+
|
|
294
|
+
<dl>
|
|
295
|
+
<dd>
|
|
296
|
+
|
|
297
|
+
<dl>
|
|
298
|
+
<dd>
|
|
299
|
+
|
|
300
|
+
**request:** `Rizamo.QueueProfilesRequest`
|
|
301
|
+
|
|
302
|
+
</dd>
|
|
303
|
+
</dl>
|
|
304
|
+
|
|
305
|
+
<dl>
|
|
306
|
+
<dd>
|
|
307
|
+
|
|
308
|
+
**requestOptions:** `ProfilesClient.RequestOptions`
|
|
309
|
+
|
|
310
|
+
</dd>
|
|
311
|
+
</dl>
|
|
312
|
+
</dd>
|
|
313
|
+
</dl>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
</dd>
|
|
317
|
+
</dl>
|
|
318
|
+
</details>
|
|
319
|
+
|
|
320
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">setQueue</a>({ ...params }) -> Rizamo.Queue</code></summary>
|
|
321
|
+
<dl>
|
|
322
|
+
<dd>
|
|
323
|
+
|
|
324
|
+
#### 📝 Description
|
|
325
|
+
|
|
326
|
+
<dl>
|
|
327
|
+
<dd>
|
|
328
|
+
|
|
329
|
+
<dl>
|
|
330
|
+
<dd>
|
|
331
|
+
|
|
332
|
+
Replaces the profile's posting times with these, the whole week in one call; an empty list empties it. At most 24 a day, each once. Each is a local time in the profile's time zone, the same clock time all year. Posts already queued keep their times; only new ones take the new week.
|
|
333
|
+
</dd>
|
|
334
|
+
</dl>
|
|
335
|
+
</dd>
|
|
336
|
+
</dl>
|
|
337
|
+
|
|
338
|
+
#### 🔌 Usage
|
|
339
|
+
|
|
340
|
+
<dl>
|
|
341
|
+
<dd>
|
|
342
|
+
|
|
343
|
+
<dl>
|
|
344
|
+
<dd>
|
|
345
|
+
|
|
346
|
+
```typescript
|
|
347
|
+
await client.profiles.setQueue({
|
|
348
|
+
id: "prof_01m40k9k80fxd8cvng8derm7g9",
|
|
349
|
+
slots: [{
|
|
350
|
+
weekday: "mon",
|
|
351
|
+
time: "09:00"
|
|
352
|
+
}, {
|
|
353
|
+
weekday: "wed",
|
|
354
|
+
time: "12:30"
|
|
355
|
+
}, {
|
|
356
|
+
weekday: "fri",
|
|
357
|
+
time: "18:00"
|
|
358
|
+
}]
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
```
|
|
362
|
+
</dd>
|
|
363
|
+
</dl>
|
|
364
|
+
</dd>
|
|
365
|
+
</dl>
|
|
366
|
+
|
|
367
|
+
#### ⚙️ Parameters
|
|
368
|
+
|
|
369
|
+
<dl>
|
|
370
|
+
<dd>
|
|
371
|
+
|
|
372
|
+
<dl>
|
|
373
|
+
<dd>
|
|
374
|
+
|
|
375
|
+
**request:** `Rizamo.SetQueueProfilesRequest`
|
|
376
|
+
|
|
377
|
+
</dd>
|
|
378
|
+
</dl>
|
|
379
|
+
|
|
380
|
+
<dl>
|
|
381
|
+
<dd>
|
|
382
|
+
|
|
383
|
+
**requestOptions:** `ProfilesClient.RequestOptions`
|
|
384
|
+
|
|
385
|
+
</dd>
|
|
386
|
+
</dl>
|
|
387
|
+
</dd>
|
|
388
|
+
</dl>
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
</dd>
|
|
392
|
+
</dl>
|
|
393
|
+
</details>
|
|
394
|
+
|
|
395
|
+
## Accounts
|
|
396
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.Account, Rizamo.ListAccountsResponse></code></summary>
|
|
397
|
+
<dl>
|
|
398
|
+
<dd>
|
|
399
|
+
|
|
400
|
+
#### 📝 Description
|
|
401
|
+
|
|
402
|
+
<dl>
|
|
403
|
+
<dd>
|
|
404
|
+
|
|
405
|
+
<dl>
|
|
406
|
+
<dd>
|
|
407
|
+
|
|
408
|
+
Every account without `limit`; with it, a page at a time: pass `nextCursor` as `cursor` for the next one, with the same filters.
|
|
409
|
+
</dd>
|
|
410
|
+
</dl>
|
|
411
|
+
</dd>
|
|
412
|
+
</dl>
|
|
413
|
+
|
|
414
|
+
#### 🔌 Usage
|
|
415
|
+
|
|
416
|
+
<dl>
|
|
417
|
+
<dd>
|
|
418
|
+
|
|
419
|
+
<dl>
|
|
420
|
+
<dd>
|
|
421
|
+
|
|
422
|
+
```typescript
|
|
423
|
+
const pageableResponse = await client.accounts.list({
|
|
424
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
425
|
+
});
|
|
426
|
+
for await (const item of pageableResponse) {
|
|
427
|
+
console.log(item);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
// Or you can manually iterate page-by-page
|
|
431
|
+
let page = await client.accounts.list({
|
|
432
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
433
|
+
});
|
|
434
|
+
while (page.hasNextPage()) {
|
|
435
|
+
page = await page.getNextPage();
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// You can also access the underlying response
|
|
439
|
+
const response = page.response;
|
|
440
|
+
|
|
441
|
+
```
|
|
442
|
+
</dd>
|
|
443
|
+
</dl>
|
|
444
|
+
</dd>
|
|
445
|
+
</dl>
|
|
446
|
+
|
|
447
|
+
#### ⚙️ Parameters
|
|
448
|
+
|
|
449
|
+
<dl>
|
|
450
|
+
<dd>
|
|
451
|
+
|
|
452
|
+
<dl>
|
|
453
|
+
<dd>
|
|
454
|
+
|
|
455
|
+
**request:** `Rizamo.ListAccountsRequest`
|
|
456
|
+
|
|
457
|
+
</dd>
|
|
458
|
+
</dl>
|
|
459
|
+
|
|
460
|
+
<dl>
|
|
461
|
+
<dd>
|
|
462
|
+
|
|
463
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
464
|
+
|
|
465
|
+
</dd>
|
|
466
|
+
</dl>
|
|
467
|
+
</dd>
|
|
468
|
+
</dl>
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
</dd>
|
|
472
|
+
</dl>
|
|
473
|
+
</details>
|
|
474
|
+
|
|
475
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">get</a>({ ...params }) -> Rizamo.Account</code></summary>
|
|
476
|
+
<dl>
|
|
477
|
+
<dd>
|
|
478
|
+
|
|
479
|
+
#### 📝 Description
|
|
480
|
+
|
|
481
|
+
<dl>
|
|
482
|
+
<dd>
|
|
483
|
+
|
|
484
|
+
<dl>
|
|
485
|
+
<dd>
|
|
486
|
+
|
|
487
|
+
One connected account: its network, handle, profile, status, billing, what it can do (`capabilities`) and the formats it publishes.
|
|
488
|
+
</dd>
|
|
489
|
+
</dl>
|
|
490
|
+
</dd>
|
|
491
|
+
</dl>
|
|
492
|
+
|
|
493
|
+
#### 🔌 Usage
|
|
494
|
+
|
|
495
|
+
<dl>
|
|
496
|
+
<dd>
|
|
497
|
+
|
|
498
|
+
<dl>
|
|
499
|
+
<dd>
|
|
500
|
+
|
|
501
|
+
```typescript
|
|
502
|
+
await client.accounts.get({
|
|
503
|
+
id: "acc_01m423bp00fz39kp5pc7m42tsw"
|
|
504
|
+
});
|
|
505
|
+
|
|
506
|
+
```
|
|
507
|
+
</dd>
|
|
508
|
+
</dl>
|
|
509
|
+
</dd>
|
|
510
|
+
</dl>
|
|
511
|
+
|
|
512
|
+
#### ⚙️ Parameters
|
|
513
|
+
|
|
514
|
+
<dl>
|
|
515
|
+
<dd>
|
|
516
|
+
|
|
517
|
+
<dl>
|
|
518
|
+
<dd>
|
|
519
|
+
|
|
520
|
+
**request:** `Rizamo.GetAccountsRequest`
|
|
521
|
+
|
|
522
|
+
</dd>
|
|
523
|
+
</dl>
|
|
524
|
+
|
|
525
|
+
<dl>
|
|
526
|
+
<dd>
|
|
527
|
+
|
|
528
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
529
|
+
|
|
530
|
+
</dd>
|
|
531
|
+
</dl>
|
|
532
|
+
</dd>
|
|
533
|
+
</dl>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
</dd>
|
|
537
|
+
</dl>
|
|
538
|
+
</details>
|
|
539
|
+
|
|
540
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">remove</a>({ ...params }) -> Rizamo.AccountRemoved</code></summary>
|
|
541
|
+
<dl>
|
|
542
|
+
<dd>
|
|
543
|
+
|
|
544
|
+
#### 📝 Description
|
|
545
|
+
|
|
546
|
+
<dl>
|
|
547
|
+
<dd>
|
|
548
|
+
|
|
549
|
+
<dl>
|
|
550
|
+
<dd>
|
|
551
|
+
|
|
552
|
+
It stops publishing and is no longer billed, and nothing changes on its network. Its posts: one that goes to it alone moves to Deleted (`post.deleted`), scheduled, draft or published, and can be restored for 30 days; one with other accounts keeps them, loses this account's part that never went out (`post.updated`) and keeps the part that did, with its `url` and without its numbers (`accountRemoved` on the target). The answer counts them by status (`Preview removing an account` counts them before). Its name, picture and followers go at once; its handle stays to name those parts, with their links, for as long as their posts exist. What Rizamo read from the network about its posts there is deleted, and so are its comments and messages in the inbox, with the events that carry them (`comment.received`, `message.received`, `message.sent`, `comment_automation.*`) and their webhook deliveries. Its comment automations are paused (each with a `comment_automation.paused` event) and their runs deleted with the comments, so their numbers start again from zero and people they answered may be answered once more. It is told as `account.removed` with `reason` `removed_by_team`, never `account.disconnected`, which is a lost login. Connecting it again brings back the same account, its automations paused, to resume; posts in Deleted are restored by hand. Removing an account changes the bill, so only owners remove one, or an API key an owner let remove accounts and delete profiles when making it (Developers in the web app); other API keys are refused (403).
|
|
553
|
+
</dd>
|
|
554
|
+
</dl>
|
|
555
|
+
</dd>
|
|
556
|
+
</dl>
|
|
557
|
+
|
|
558
|
+
#### 🔌 Usage
|
|
559
|
+
|
|
560
|
+
<dl>
|
|
561
|
+
<dd>
|
|
562
|
+
|
|
563
|
+
<dl>
|
|
564
|
+
<dd>
|
|
565
|
+
|
|
566
|
+
```typescript
|
|
567
|
+
await client.accounts.remove({
|
|
568
|
+
id: "acc_01m44bet40enpr62nh6w01e67r"
|
|
569
|
+
});
|
|
570
|
+
|
|
571
|
+
```
|
|
572
|
+
</dd>
|
|
573
|
+
</dl>
|
|
574
|
+
</dd>
|
|
575
|
+
</dl>
|
|
576
|
+
|
|
577
|
+
#### ⚙️ Parameters
|
|
578
|
+
|
|
579
|
+
<dl>
|
|
580
|
+
<dd>
|
|
581
|
+
|
|
582
|
+
<dl>
|
|
583
|
+
<dd>
|
|
584
|
+
|
|
585
|
+
**request:** `Rizamo.RemoveAccountsRequest`
|
|
586
|
+
|
|
587
|
+
</dd>
|
|
588
|
+
</dl>
|
|
589
|
+
|
|
590
|
+
<dl>
|
|
591
|
+
<dd>
|
|
592
|
+
|
|
593
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
594
|
+
|
|
595
|
+
</dd>
|
|
596
|
+
</dl>
|
|
597
|
+
</dd>
|
|
598
|
+
</dl>
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
</dd>
|
|
602
|
+
</dl>
|
|
603
|
+
</details>
|
|
604
|
+
|
|
605
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">update</a>({ ...params }) -> Rizamo.Account</code></summary>
|
|
606
|
+
<dl>
|
|
607
|
+
<dd>
|
|
608
|
+
|
|
609
|
+
#### 📝 Description
|
|
610
|
+
|
|
611
|
+
<dl>
|
|
612
|
+
<dd>
|
|
613
|
+
|
|
614
|
+
<dl>
|
|
615
|
+
<dd>
|
|
616
|
+
|
|
617
|
+
Moves the account to another profile you reach: from then on it is that profile's, for the people, keys and agents who reach it, and its old profile's stop seeing it. Events already written stay in the profile they happened in.
|
|
618
|
+
</dd>
|
|
619
|
+
</dl>
|
|
620
|
+
</dd>
|
|
621
|
+
</dl>
|
|
622
|
+
|
|
623
|
+
#### 🔌 Usage
|
|
624
|
+
|
|
625
|
+
<dl>
|
|
626
|
+
<dd>
|
|
627
|
+
|
|
628
|
+
<dl>
|
|
629
|
+
<dd>
|
|
630
|
+
|
|
631
|
+
```typescript
|
|
632
|
+
await client.accounts.update({
|
|
633
|
+
id: "acc_01m423bp00fz39kp5pc7m42tsw",
|
|
634
|
+
profileId: "prof_01m41bamm0f3a8mr2eek4wdq39"
|
|
635
|
+
});
|
|
636
|
+
|
|
637
|
+
```
|
|
638
|
+
</dd>
|
|
639
|
+
</dl>
|
|
640
|
+
</dd>
|
|
641
|
+
</dl>
|
|
642
|
+
|
|
643
|
+
#### ⚙️ Parameters
|
|
644
|
+
|
|
645
|
+
<dl>
|
|
646
|
+
<dd>
|
|
647
|
+
|
|
648
|
+
<dl>
|
|
649
|
+
<dd>
|
|
650
|
+
|
|
651
|
+
**request:** `Rizamo.UpdateAccountsRequest`
|
|
652
|
+
|
|
653
|
+
</dd>
|
|
654
|
+
</dl>
|
|
655
|
+
|
|
656
|
+
<dl>
|
|
657
|
+
<dd>
|
|
658
|
+
|
|
659
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
660
|
+
|
|
661
|
+
</dd>
|
|
662
|
+
</dl>
|
|
663
|
+
</dd>
|
|
664
|
+
</dl>
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
</dd>
|
|
668
|
+
</dl>
|
|
669
|
+
</details>
|
|
670
|
+
|
|
671
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">tiktokCreatorInfo</a>({ ...params }) -> Rizamo.TikTokCreatorInfo</code></summary>
|
|
672
|
+
<dl>
|
|
673
|
+
<dd>
|
|
674
|
+
|
|
675
|
+
#### 📝 Description
|
|
676
|
+
|
|
677
|
+
<dl>
|
|
678
|
+
<dd>
|
|
679
|
+
|
|
680
|
+
<dl>
|
|
681
|
+
<dd>
|
|
682
|
+
|
|
683
|
+
What TikTok's posting screen needs, read from TikTok now: the creator's name and picture, who can see a photo post, whether the account turned comments, Duet or Stitch off, and the longest video it may post. TikTok asks apps to show the creator's name and these choices before every post.
|
|
684
|
+
</dd>
|
|
685
|
+
</dl>
|
|
686
|
+
</dd>
|
|
687
|
+
</dl>
|
|
688
|
+
|
|
689
|
+
#### 🔌 Usage
|
|
690
|
+
|
|
691
|
+
<dl>
|
|
692
|
+
<dd>
|
|
693
|
+
|
|
694
|
+
<dl>
|
|
695
|
+
<dd>
|
|
696
|
+
|
|
697
|
+
```typescript
|
|
698
|
+
await client.accounts.tiktokCreatorInfo({
|
|
699
|
+
id: "acc_01m43kdrr0ebxa6wpz9f3zmaqa"
|
|
700
|
+
});
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
</dd>
|
|
704
|
+
</dl>
|
|
705
|
+
</dd>
|
|
706
|
+
</dl>
|
|
707
|
+
|
|
708
|
+
#### ⚙️ Parameters
|
|
709
|
+
|
|
710
|
+
<dl>
|
|
711
|
+
<dd>
|
|
712
|
+
|
|
713
|
+
<dl>
|
|
714
|
+
<dd>
|
|
715
|
+
|
|
716
|
+
**request:** `Rizamo.TiktokCreatorInfoAccountsRequest`
|
|
717
|
+
|
|
718
|
+
</dd>
|
|
719
|
+
</dl>
|
|
720
|
+
|
|
721
|
+
<dl>
|
|
722
|
+
<dd>
|
|
723
|
+
|
|
724
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
725
|
+
|
|
726
|
+
</dd>
|
|
727
|
+
</dl>
|
|
728
|
+
</dd>
|
|
729
|
+
</dl>
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
</dd>
|
|
733
|
+
</dl>
|
|
734
|
+
</details>
|
|
735
|
+
|
|
736
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">searchMusic</a>({ ...params }) -> Rizamo.SearchMusicAccountsResponse</code></summary>
|
|
737
|
+
<dl>
|
|
738
|
+
<dd>
|
|
739
|
+
|
|
740
|
+
#### 📝 Description
|
|
741
|
+
|
|
742
|
+
<dl>
|
|
743
|
+
<dd>
|
|
744
|
+
|
|
745
|
+
<dl>
|
|
746
|
+
<dd>
|
|
747
|
+
|
|
748
|
+
Tracks the account may put on a post, from its network's library. TikTok: its Commercial Music Library's trending list (up to 100), filtered by genre, country and period; there is no search. The same filters answer the same list for 30 minutes, and searches beyond Rizamo's limits on TikTok answer 429 with when to try again. Instagram (accounts connected through Facebook Login): a search with `q`, or what is trending without it, up to 25, music or original sounds. Facebook adds no music through its API. A filter of the other network is refused. Attach a track's `id` in the target's `music` option.
|
|
749
|
+
</dd>
|
|
750
|
+
</dl>
|
|
751
|
+
</dd>
|
|
752
|
+
</dl>
|
|
753
|
+
|
|
754
|
+
#### 🔌 Usage
|
|
755
|
+
|
|
756
|
+
<dl>
|
|
757
|
+
<dd>
|
|
758
|
+
|
|
759
|
+
<dl>
|
|
760
|
+
<dd>
|
|
761
|
+
|
|
762
|
+
```typescript
|
|
763
|
+
await client.accounts.searchMusic({
|
|
764
|
+
id: "acc_01m43kdrr0ebxa6wpz9f3zmaqa",
|
|
765
|
+
country: "PT"
|
|
766
|
+
});
|
|
767
|
+
|
|
768
|
+
```
|
|
769
|
+
</dd>
|
|
770
|
+
</dl>
|
|
771
|
+
</dd>
|
|
772
|
+
</dl>
|
|
773
|
+
|
|
774
|
+
#### ⚙️ Parameters
|
|
775
|
+
|
|
776
|
+
<dl>
|
|
777
|
+
<dd>
|
|
778
|
+
|
|
779
|
+
<dl>
|
|
780
|
+
<dd>
|
|
781
|
+
|
|
782
|
+
**request:** `Rizamo.SearchMusicAccountsRequest`
|
|
783
|
+
|
|
784
|
+
</dd>
|
|
785
|
+
</dl>
|
|
786
|
+
|
|
787
|
+
<dl>
|
|
788
|
+
<dd>
|
|
789
|
+
|
|
790
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
791
|
+
|
|
792
|
+
</dd>
|
|
793
|
+
</dl>
|
|
794
|
+
</dd>
|
|
795
|
+
</dl>
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
</dd>
|
|
799
|
+
</dl>
|
|
800
|
+
</details>
|
|
801
|
+
|
|
802
|
+
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">removal</a>({ ...params }) -> Rizamo.AccountRemoval</code></summary>
|
|
803
|
+
<dl>
|
|
804
|
+
<dd>
|
|
805
|
+
|
|
806
|
+
#### 📝 Description
|
|
807
|
+
|
|
808
|
+
<dl>
|
|
809
|
+
<dd>
|
|
810
|
+
|
|
811
|
+
<dl>
|
|
812
|
+
<dd>
|
|
813
|
+
|
|
814
|
+
What removing the account would do to the posts that use it, counted now, with nothing changed: show it to the person before they confirm. `Remove an account` answers the same counts once it is done.
|
|
815
|
+
</dd>
|
|
816
|
+
</dl>
|
|
817
|
+
</dd>
|
|
818
|
+
</dl>
|
|
819
|
+
|
|
820
|
+
#### 🔌 Usage
|
|
821
|
+
|
|
822
|
+
<dl>
|
|
823
|
+
<dd>
|
|
824
|
+
|
|
825
|
+
<dl>
|
|
826
|
+
<dd>
|
|
827
|
+
|
|
828
|
+
```typescript
|
|
829
|
+
await client.accounts.removal({
|
|
830
|
+
id: "acc_01m44bet40enpr62nh6w01e67r"
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
```
|
|
834
|
+
</dd>
|
|
835
|
+
</dl>
|
|
836
|
+
</dd>
|
|
837
|
+
</dl>
|
|
838
|
+
|
|
839
|
+
#### ⚙️ Parameters
|
|
840
|
+
|
|
841
|
+
<dl>
|
|
842
|
+
<dd>
|
|
843
|
+
|
|
844
|
+
<dl>
|
|
845
|
+
<dd>
|
|
846
|
+
|
|
847
|
+
**request:** `Rizamo.RemovalAccountsRequest`
|
|
848
|
+
|
|
849
|
+
</dd>
|
|
850
|
+
</dl>
|
|
851
|
+
|
|
852
|
+
<dl>
|
|
853
|
+
<dd>
|
|
854
|
+
|
|
855
|
+
**requestOptions:** `AccountsClient.RequestOptions`
|
|
856
|
+
|
|
857
|
+
</dd>
|
|
858
|
+
</dl>
|
|
859
|
+
</dd>
|
|
860
|
+
</dl>
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
</dd>
|
|
864
|
+
</dl>
|
|
865
|
+
</details>
|
|
866
|
+
|
|
867
|
+
## Connect
|
|
868
|
+
<details><summary><code>client.connect.<a href="/src/api/resources/connect/client/Client.ts">link</a>({ ...params }) -> Rizamo.ConnectLink</code></summary>
|
|
869
|
+
<dl>
|
|
870
|
+
<dd>
|
|
871
|
+
|
|
872
|
+
#### 📝 Description
|
|
873
|
+
|
|
874
|
+
<dl>
|
|
875
|
+
<dd>
|
|
876
|
+
|
|
877
|
+
<dl>
|
|
878
|
+
<dd>
|
|
879
|
+
|
|
880
|
+
A link to send a person to within 30 minutes: it goes straight to the network, and connects accounts once (a preview or a second browser that opens it uses nothing up). They log in on the network, with no Rizamo account, and come back to `redirectUrl`, or, without one, land on a Rizamo page that says what was connected (for a chat agent, a script or n8n). `instagram` is Instagram Login, for an Instagram professional account on its own; `facebook` is Facebook Login, its Pages and the Instagram accounts linked to them, which can also add music to reels and get each story's final numbers when it ends (deleting Instagram posts will need it too, once Meta reviews Rizamo's access). LinkedIn connects in the web app only, as LinkedIn's terms ask: no connect link offers it. Once connected there, LinkedIn accounts publish and report through the API and MCP.
|
|
881
|
+
|
|
882
|
+
A login that reaches one new account the key may add connects it at once; one that reaches several (Pages, YouTube channels), or an account already in the team, shows the person a page to pick them, with only new accounts ticked. An account already in the team in a profile the key does not reach is never added. With `connectionId`, only that login's accounts are renewed.
|
|
883
|
+
|
|
884
|
+
Back at `redirectUrl`, Rizamo adds `status` (connected or error), `network`, `profileId`, and either `accountIds` with each one's `billing` in the same order, comma-separated, or `error` (cancelled, refused, no_accounts, expired, used, unavailable, forbidden, gone, failed) and `message`. Nothing in it works without your key: read the accounts with `GET /accounts/{id}`. A return can arrive more than once (a reload): take `GET /accounts` (`list_accounts`) as the truth. A link opened once it is used or expired, or after your key lost access, stays on a Rizamo page that says why: only a person back from the network comes to `redirectUrl`.
|
|
885
|
+
|
|
886
|
+
Accounts are billed as in the web app: the first 2 free. On the free plan the rest arrive `awaiting_payment` until an owner starts a plan. On a paid plan they are charged at once to the card on file: your call is the consent. A charge that needs the card holder, or more accounts than the owner lets the API add this period, leaves them `awaiting_payment` until an owner pays in the web app. The person connecting never sees prices.
|
|
887
|
+
|
|
888
|
+
With `connectionId`, the person logs in again for that login's accounts (an expired login): only accounts already in the team are updated, and `network` must be the login's.
|
|
889
|
+
</dd>
|
|
890
|
+
</dl>
|
|
891
|
+
</dd>
|
|
892
|
+
</dl>
|
|
893
|
+
|
|
894
|
+
#### 🔌 Usage
|
|
895
|
+
|
|
896
|
+
<dl>
|
|
897
|
+
<dd>
|
|
898
|
+
|
|
899
|
+
<dl>
|
|
900
|
+
<dd>
|
|
901
|
+
|
|
902
|
+
```typescript
|
|
903
|
+
await client.connect.link({
|
|
904
|
+
network: "facebook",
|
|
905
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9",
|
|
906
|
+
redirectUrl: "https://example.com/rizamo/connected"
|
|
907
|
+
});
|
|
908
|
+
|
|
909
|
+
```
|
|
910
|
+
</dd>
|
|
911
|
+
</dl>
|
|
912
|
+
</dd>
|
|
913
|
+
</dl>
|
|
914
|
+
|
|
915
|
+
#### ⚙️ Parameters
|
|
916
|
+
|
|
917
|
+
<dl>
|
|
918
|
+
<dd>
|
|
919
|
+
|
|
920
|
+
<dl>
|
|
921
|
+
<dd>
|
|
922
|
+
|
|
923
|
+
**request:** `Rizamo.LinkConnectRequest`
|
|
924
|
+
|
|
925
|
+
</dd>
|
|
926
|
+
</dl>
|
|
927
|
+
|
|
928
|
+
<dl>
|
|
929
|
+
<dd>
|
|
930
|
+
|
|
931
|
+
**requestOptions:** `ConnectClient.RequestOptions`
|
|
932
|
+
|
|
933
|
+
</dd>
|
|
934
|
+
</dl>
|
|
935
|
+
</dd>
|
|
936
|
+
</dl>
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
</dd>
|
|
940
|
+
</dl>
|
|
941
|
+
</details>
|
|
942
|
+
|
|
943
|
+
## Fields
|
|
944
|
+
<details><summary><code>client.fields.<a href="/src/api/resources/fields/client/Client.ts">list</a>({ ...params }) -> Rizamo.ListFieldsResponse</code></summary>
|
|
945
|
+
<dl>
|
|
946
|
+
<dd>
|
|
947
|
+
|
|
948
|
+
#### 📝 Description
|
|
949
|
+
|
|
950
|
+
<dl>
|
|
951
|
+
<dd>
|
|
952
|
+
|
|
953
|
+
<dl>
|
|
954
|
+
<dd>
|
|
955
|
+
|
|
956
|
+
The team's custom fields, with their keys, types and choices: set them on posts with `fields`, and filter posts and analytics by them.
|
|
957
|
+
</dd>
|
|
958
|
+
</dl>
|
|
959
|
+
</dd>
|
|
960
|
+
</dl>
|
|
961
|
+
|
|
962
|
+
#### 🔌 Usage
|
|
963
|
+
|
|
964
|
+
<dl>
|
|
965
|
+
<dd>
|
|
966
|
+
|
|
967
|
+
<dl>
|
|
968
|
+
<dd>
|
|
969
|
+
|
|
970
|
+
```typescript
|
|
971
|
+
await client.fields.list();
|
|
972
|
+
|
|
973
|
+
```
|
|
974
|
+
</dd>
|
|
975
|
+
</dl>
|
|
976
|
+
</dd>
|
|
977
|
+
</dl>
|
|
978
|
+
|
|
979
|
+
#### ⚙️ Parameters
|
|
980
|
+
|
|
981
|
+
<dl>
|
|
982
|
+
<dd>
|
|
983
|
+
|
|
984
|
+
<dl>
|
|
985
|
+
<dd>
|
|
986
|
+
|
|
987
|
+
**request:** `Rizamo.ListFieldsRequest`
|
|
988
|
+
|
|
989
|
+
</dd>
|
|
990
|
+
</dl>
|
|
991
|
+
|
|
992
|
+
<dl>
|
|
993
|
+
<dd>
|
|
994
|
+
|
|
995
|
+
**requestOptions:** `FieldsClient.RequestOptions`
|
|
996
|
+
|
|
997
|
+
</dd>
|
|
998
|
+
</dl>
|
|
999
|
+
</dd>
|
|
1000
|
+
</dl>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
</dd>
|
|
1004
|
+
</dl>
|
|
1005
|
+
</details>
|
|
1006
|
+
|
|
1007
|
+
<details><summary><code>client.fields.<a href="/src/api/resources/fields/client/Client.ts">create</a>({ ...params }) -> Rizamo.FieldDefinition</code></summary>
|
|
1008
|
+
<dl>
|
|
1009
|
+
<dd>
|
|
1010
|
+
|
|
1011
|
+
#### 📝 Description
|
|
1012
|
+
|
|
1013
|
+
<dl>
|
|
1014
|
+
<dd>
|
|
1015
|
+
|
|
1016
|
+
<dl>
|
|
1017
|
+
<dd>
|
|
1018
|
+
|
|
1019
|
+
A field every post can carry, such as a campaign. Its key and type cannot change, and a key is used once per team (409 otherwise).
|
|
1020
|
+
</dd>
|
|
1021
|
+
</dl>
|
|
1022
|
+
</dd>
|
|
1023
|
+
</dl>
|
|
1024
|
+
|
|
1025
|
+
#### 🔌 Usage
|
|
1026
|
+
|
|
1027
|
+
<dl>
|
|
1028
|
+
<dd>
|
|
1029
|
+
|
|
1030
|
+
<dl>
|
|
1031
|
+
<dd>
|
|
1032
|
+
|
|
1033
|
+
```typescript
|
|
1034
|
+
await client.fields.create({
|
|
1035
|
+
key: "campaign",
|
|
1036
|
+
label: "Campaign",
|
|
1037
|
+
type: "select",
|
|
1038
|
+
options: ["Winter menu", "Brunch"],
|
|
1039
|
+
description: "The campaign a post belongs to."
|
|
1040
|
+
});
|
|
1041
|
+
|
|
1042
|
+
```
|
|
1043
|
+
</dd>
|
|
1044
|
+
</dl>
|
|
1045
|
+
</dd>
|
|
1046
|
+
</dl>
|
|
1047
|
+
|
|
1048
|
+
#### ⚙️ Parameters
|
|
1049
|
+
|
|
1050
|
+
<dl>
|
|
1051
|
+
<dd>
|
|
1052
|
+
|
|
1053
|
+
<dl>
|
|
1054
|
+
<dd>
|
|
1055
|
+
|
|
1056
|
+
**request:** `Rizamo.CreateFieldsRequest`
|
|
1057
|
+
|
|
1058
|
+
</dd>
|
|
1059
|
+
</dl>
|
|
1060
|
+
|
|
1061
|
+
<dl>
|
|
1062
|
+
<dd>
|
|
1063
|
+
|
|
1064
|
+
**requestOptions:** `FieldsClient.IdempotentRequestOptions`
|
|
1065
|
+
|
|
1066
|
+
</dd>
|
|
1067
|
+
</dl>
|
|
1068
|
+
</dd>
|
|
1069
|
+
</dl>
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
</dd>
|
|
1073
|
+
</dl>
|
|
1074
|
+
</details>
|
|
1075
|
+
|
|
1076
|
+
<details><summary><code>client.fields.<a href="/src/api/resources/fields/client/Client.ts">delete</a>({ ...params }) -> Rizamo.DeleteFieldsResponse</code></summary>
|
|
1077
|
+
<dl>
|
|
1078
|
+
<dd>
|
|
1079
|
+
|
|
1080
|
+
#### 📝 Description
|
|
1081
|
+
|
|
1082
|
+
<dl>
|
|
1083
|
+
<dd>
|
|
1084
|
+
|
|
1085
|
+
<dl>
|
|
1086
|
+
<dd>
|
|
1087
|
+
|
|
1088
|
+
The field goes from the team, and its values are removed from every post.
|
|
1089
|
+
</dd>
|
|
1090
|
+
</dl>
|
|
1091
|
+
</dd>
|
|
1092
|
+
</dl>
|
|
1093
|
+
|
|
1094
|
+
#### 🔌 Usage
|
|
1095
|
+
|
|
1096
|
+
<dl>
|
|
1097
|
+
<dd>
|
|
1098
|
+
|
|
1099
|
+
<dl>
|
|
1100
|
+
<dd>
|
|
1101
|
+
|
|
1102
|
+
```typescript
|
|
1103
|
+
await client.fields.delete({
|
|
1104
|
+
key: "campaign"
|
|
1105
|
+
});
|
|
1106
|
+
|
|
1107
|
+
```
|
|
1108
|
+
</dd>
|
|
1109
|
+
</dl>
|
|
1110
|
+
</dd>
|
|
1111
|
+
</dl>
|
|
1112
|
+
|
|
1113
|
+
#### ⚙️ Parameters
|
|
1114
|
+
|
|
1115
|
+
<dl>
|
|
1116
|
+
<dd>
|
|
1117
|
+
|
|
1118
|
+
<dl>
|
|
1119
|
+
<dd>
|
|
1120
|
+
|
|
1121
|
+
**request:** `Rizamo.DeleteFieldsRequest`
|
|
1122
|
+
|
|
1123
|
+
</dd>
|
|
1124
|
+
</dl>
|
|
1125
|
+
|
|
1126
|
+
<dl>
|
|
1127
|
+
<dd>
|
|
1128
|
+
|
|
1129
|
+
**requestOptions:** `FieldsClient.RequestOptions`
|
|
1130
|
+
|
|
1131
|
+
</dd>
|
|
1132
|
+
</dl>
|
|
1133
|
+
</dd>
|
|
1134
|
+
</dl>
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
</dd>
|
|
1138
|
+
</dl>
|
|
1139
|
+
</details>
|
|
1140
|
+
|
|
1141
|
+
<details><summary><code>client.fields.<a href="/src/api/resources/fields/client/Client.ts">update</a>({ ...params }) -> Rizamo.FieldDefinition</code></summary>
|
|
1142
|
+
<dl>
|
|
1143
|
+
<dd>
|
|
1144
|
+
|
|
1145
|
+
#### 📝 Description
|
|
1146
|
+
|
|
1147
|
+
<dl>
|
|
1148
|
+
<dd>
|
|
1149
|
+
|
|
1150
|
+
<dl>
|
|
1151
|
+
<dd>
|
|
1152
|
+
|
|
1153
|
+
The key and type cannot change. Removing an option leaves the value on posts that have it.
|
|
1154
|
+
</dd>
|
|
1155
|
+
</dl>
|
|
1156
|
+
</dd>
|
|
1157
|
+
</dl>
|
|
1158
|
+
|
|
1159
|
+
#### 🔌 Usage
|
|
1160
|
+
|
|
1161
|
+
<dl>
|
|
1162
|
+
<dd>
|
|
1163
|
+
|
|
1164
|
+
<dl>
|
|
1165
|
+
<dd>
|
|
1166
|
+
|
|
1167
|
+
```typescript
|
|
1168
|
+
await client.fields.update({
|
|
1169
|
+
key: "campaign",
|
|
1170
|
+
options: ["Winter menu", "Brunch", "Pastry week"]
|
|
1171
|
+
});
|
|
1172
|
+
|
|
1173
|
+
```
|
|
1174
|
+
</dd>
|
|
1175
|
+
</dl>
|
|
1176
|
+
</dd>
|
|
1177
|
+
</dl>
|
|
1178
|
+
|
|
1179
|
+
#### ⚙️ Parameters
|
|
1180
|
+
|
|
1181
|
+
<dl>
|
|
1182
|
+
<dd>
|
|
1183
|
+
|
|
1184
|
+
<dl>
|
|
1185
|
+
<dd>
|
|
1186
|
+
|
|
1187
|
+
**request:** `Rizamo.UpdateFieldsRequest`
|
|
1188
|
+
|
|
1189
|
+
</dd>
|
|
1190
|
+
</dl>
|
|
1191
|
+
|
|
1192
|
+
<dl>
|
|
1193
|
+
<dd>
|
|
1194
|
+
|
|
1195
|
+
**requestOptions:** `FieldsClient.RequestOptions`
|
|
1196
|
+
|
|
1197
|
+
</dd>
|
|
1198
|
+
</dl>
|
|
1199
|
+
</dd>
|
|
1200
|
+
</dl>
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
</dd>
|
|
1204
|
+
</dl>
|
|
1205
|
+
</details>
|
|
1206
|
+
|
|
1207
|
+
## Posts
|
|
1208
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.Post, Rizamo.ListPostsResponse></code></summary>
|
|
1209
|
+
<dl>
|
|
1210
|
+
<dd>
|
|
1211
|
+
|
|
1212
|
+
#### 📝 Description
|
|
1213
|
+
|
|
1214
|
+
<dl>
|
|
1215
|
+
<dd>
|
|
1216
|
+
|
|
1217
|
+
<dl>
|
|
1218
|
+
<dd>
|
|
1219
|
+
|
|
1220
|
+
The team's posts, ordered by when they go out: their `scheduledAt`, or when they were created if they have none. The latest first, or the earliest first with `order` asc. A page at a time: pass `nextCursor` as `cursor` for the next one, with the same filters and `order`.
|
|
1221
|
+
</dd>
|
|
1222
|
+
</dl>
|
|
1223
|
+
</dd>
|
|
1224
|
+
</dl>
|
|
1225
|
+
|
|
1226
|
+
#### 🔌 Usage
|
|
1227
|
+
|
|
1228
|
+
<dl>
|
|
1229
|
+
<dd>
|
|
1230
|
+
|
|
1231
|
+
<dl>
|
|
1232
|
+
<dd>
|
|
1233
|
+
|
|
1234
|
+
```typescript
|
|
1235
|
+
const pageableResponse = await client.posts.list({
|
|
1236
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
1237
|
+
});
|
|
1238
|
+
for await (const item of pageableResponse) {
|
|
1239
|
+
console.log(item);
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
// Or you can manually iterate page-by-page
|
|
1243
|
+
let page = await client.posts.list({
|
|
1244
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
1245
|
+
});
|
|
1246
|
+
while (page.hasNextPage()) {
|
|
1247
|
+
page = await page.getNextPage();
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// You can also access the underlying response
|
|
1251
|
+
const response = page.response;
|
|
1252
|
+
|
|
1253
|
+
```
|
|
1254
|
+
</dd>
|
|
1255
|
+
</dl>
|
|
1256
|
+
</dd>
|
|
1257
|
+
</dl>
|
|
1258
|
+
|
|
1259
|
+
#### ⚙️ Parameters
|
|
1260
|
+
|
|
1261
|
+
<dl>
|
|
1262
|
+
<dd>
|
|
1263
|
+
|
|
1264
|
+
<dl>
|
|
1265
|
+
<dd>
|
|
1266
|
+
|
|
1267
|
+
**request:** `Rizamo.ListPostsRequest`
|
|
1268
|
+
|
|
1269
|
+
</dd>
|
|
1270
|
+
</dl>
|
|
1271
|
+
|
|
1272
|
+
<dl>
|
|
1273
|
+
<dd>
|
|
1274
|
+
|
|
1275
|
+
**requestOptions:** `PostsClient.RequestOptions`
|
|
1276
|
+
|
|
1277
|
+
</dd>
|
|
1278
|
+
</dl>
|
|
1279
|
+
</dd>
|
|
1280
|
+
</dl>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
</dd>
|
|
1284
|
+
</dl>
|
|
1285
|
+
</details>
|
|
1286
|
+
|
|
1287
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">create</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1288
|
+
<dl>
|
|
1289
|
+
<dd>
|
|
1290
|
+
|
|
1291
|
+
#### 📝 Description
|
|
1292
|
+
|
|
1293
|
+
<dl>
|
|
1294
|
+
<dd>
|
|
1295
|
+
|
|
1296
|
+
<dl>
|
|
1297
|
+
<dd>
|
|
1298
|
+
|
|
1299
|
+
A draft (the default), a post scheduled at `scheduledAt`, or one queued at its profile's next free posting time (`queue: true`), to one or more accounts of one profile. Each target is an account and a format, with its own text, files, options and first comment when it needs them. What a network would refuse is refused now with the reason, such as a first comment where the network takes none, or a story's own text on Instagram or Facebook; what only stops a post from going out, such as TikTok's choices on a draft, waits until it is scheduled. `Check a post without creating it` lists every problem at once. To publish now, create it, then `Publish a post now`.
|
|
1300
|
+
</dd>
|
|
1301
|
+
</dl>
|
|
1302
|
+
</dd>
|
|
1303
|
+
</dl>
|
|
1304
|
+
|
|
1305
|
+
#### 🔌 Usage
|
|
1306
|
+
|
|
1307
|
+
<dl>
|
|
1308
|
+
<dd>
|
|
1309
|
+
|
|
1310
|
+
<dl>
|
|
1311
|
+
<dd>
|
|
1312
|
+
|
|
1313
|
+
```typescript
|
|
1314
|
+
await client.posts.create({
|
|
1315
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9",
|
|
1316
|
+
text: "Winter menu is here: spiced orange latte and our first pastel de nata of the season. Open from 8 tomorrow.",
|
|
1317
|
+
targets: [{
|
|
1318
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw",
|
|
1319
|
+
format: "feed",
|
|
1320
|
+
firstComment: "Full menu: go.rizamo.com/k7Qm2p"
|
|
1321
|
+
}, {
|
|
1322
|
+
accountId: "acc_01m42vcqc0e15apwrdjth3v2q5"
|
|
1323
|
+
}, {
|
|
1324
|
+
accountId: "acc_01m44bet40enpr62nh6w01e67r",
|
|
1325
|
+
text: "Winter menu is here: spiced orange latte and our first pastel de nata of the season."
|
|
1326
|
+
}],
|
|
1327
|
+
mediaIds: ["med_01m48vn2c0emgvm8bkwtj1hayp"],
|
|
1328
|
+
scheduledAt: "2026-11-06T09:00:00Z",
|
|
1329
|
+
fields: {
|
|
1330
|
+
"campaign": "Winter menu"
|
|
1331
|
+
},
|
|
1332
|
+
status: "scheduled"
|
|
1333
|
+
});
|
|
1334
|
+
|
|
1335
|
+
```
|
|
1336
|
+
</dd>
|
|
1337
|
+
</dl>
|
|
1338
|
+
</dd>
|
|
1339
|
+
</dl>
|
|
1340
|
+
|
|
1341
|
+
#### ⚙️ Parameters
|
|
1342
|
+
|
|
1343
|
+
<dl>
|
|
1344
|
+
<dd>
|
|
1345
|
+
|
|
1346
|
+
<dl>
|
|
1347
|
+
<dd>
|
|
1348
|
+
|
|
1349
|
+
**request:** `Rizamo.CreatePostsRequest`
|
|
1350
|
+
|
|
1351
|
+
</dd>
|
|
1352
|
+
</dl>
|
|
1353
|
+
|
|
1354
|
+
<dl>
|
|
1355
|
+
<dd>
|
|
1356
|
+
|
|
1357
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1358
|
+
|
|
1359
|
+
</dd>
|
|
1360
|
+
</dl>
|
|
1361
|
+
</dd>
|
|
1362
|
+
</dl>
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
</dd>
|
|
1366
|
+
</dl>
|
|
1367
|
+
</details>
|
|
1368
|
+
|
|
1369
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">get</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1370
|
+
<dl>
|
|
1371
|
+
<dd>
|
|
1372
|
+
|
|
1373
|
+
#### 📝 Description
|
|
1374
|
+
|
|
1375
|
+
<dl>
|
|
1376
|
+
<dd>
|
|
1377
|
+
|
|
1378
|
+
<dl>
|
|
1379
|
+
<dd>
|
|
1380
|
+
|
|
1381
|
+
One post with each target's status, link and error, and what Rizamo does to its files (`changes`). `List events` with its id has its history: why a target failed is in its `post.target.failed` event too.
|
|
1382
|
+
</dd>
|
|
1383
|
+
</dl>
|
|
1384
|
+
</dd>
|
|
1385
|
+
</dl>
|
|
1386
|
+
|
|
1387
|
+
#### 🔌 Usage
|
|
1388
|
+
|
|
1389
|
+
<dl>
|
|
1390
|
+
<dd>
|
|
1391
|
+
|
|
1392
|
+
<dl>
|
|
1393
|
+
<dd>
|
|
1394
|
+
|
|
1395
|
+
```typescript
|
|
1396
|
+
await client.posts.get({
|
|
1397
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1398
|
+
});
|
|
1399
|
+
|
|
1400
|
+
```
|
|
1401
|
+
</dd>
|
|
1402
|
+
</dl>
|
|
1403
|
+
</dd>
|
|
1404
|
+
</dl>
|
|
1405
|
+
|
|
1406
|
+
#### ⚙️ Parameters
|
|
1407
|
+
|
|
1408
|
+
<dl>
|
|
1409
|
+
<dd>
|
|
1410
|
+
|
|
1411
|
+
<dl>
|
|
1412
|
+
<dd>
|
|
1413
|
+
|
|
1414
|
+
**request:** `Rizamo.GetPostsRequest`
|
|
1415
|
+
|
|
1416
|
+
</dd>
|
|
1417
|
+
</dl>
|
|
1418
|
+
|
|
1419
|
+
<dl>
|
|
1420
|
+
<dd>
|
|
1421
|
+
|
|
1422
|
+
**requestOptions:** `PostsClient.RequestOptions`
|
|
1423
|
+
|
|
1424
|
+
</dd>
|
|
1425
|
+
</dl>
|
|
1426
|
+
</dd>
|
|
1427
|
+
</dl>
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
</dd>
|
|
1431
|
+
</dl>
|
|
1432
|
+
</details>
|
|
1433
|
+
|
|
1434
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">delete</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1435
|
+
<dl>
|
|
1436
|
+
<dd>
|
|
1437
|
+
|
|
1438
|
+
#### 📝 Description
|
|
1439
|
+
|
|
1440
|
+
<dl>
|
|
1441
|
+
<dd>
|
|
1442
|
+
|
|
1443
|
+
<dl>
|
|
1444
|
+
<dd>
|
|
1445
|
+
|
|
1446
|
+
The post is kept, marked deleted, and can be restored for 30 days, then goes for good unless a target is still live on its network. Live targets are removed from their networks where they allow it: each target's `removal` says what happened. Deleting it again retries the ones that failed.
|
|
1447
|
+
</dd>
|
|
1448
|
+
</dl>
|
|
1449
|
+
</dd>
|
|
1450
|
+
</dl>
|
|
1451
|
+
|
|
1452
|
+
#### 🔌 Usage
|
|
1453
|
+
|
|
1454
|
+
<dl>
|
|
1455
|
+
<dd>
|
|
1456
|
+
|
|
1457
|
+
<dl>
|
|
1458
|
+
<dd>
|
|
1459
|
+
|
|
1460
|
+
```typescript
|
|
1461
|
+
await client.posts.delete({
|
|
1462
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1463
|
+
});
|
|
1464
|
+
|
|
1465
|
+
```
|
|
1466
|
+
</dd>
|
|
1467
|
+
</dl>
|
|
1468
|
+
</dd>
|
|
1469
|
+
</dl>
|
|
1470
|
+
|
|
1471
|
+
#### ⚙️ Parameters
|
|
1472
|
+
|
|
1473
|
+
<dl>
|
|
1474
|
+
<dd>
|
|
1475
|
+
|
|
1476
|
+
<dl>
|
|
1477
|
+
<dd>
|
|
1478
|
+
|
|
1479
|
+
**request:** `Rizamo.DeletePostsRequest`
|
|
1480
|
+
|
|
1481
|
+
</dd>
|
|
1482
|
+
</dl>
|
|
1483
|
+
|
|
1484
|
+
<dl>
|
|
1485
|
+
<dd>
|
|
1486
|
+
|
|
1487
|
+
**requestOptions:** `PostsClient.RequestOptions`
|
|
1488
|
+
|
|
1489
|
+
</dd>
|
|
1490
|
+
</dl>
|
|
1491
|
+
</dd>
|
|
1492
|
+
</dl>
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
</dd>
|
|
1496
|
+
</dl>
|
|
1497
|
+
</details>
|
|
1498
|
+
|
|
1499
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">update</a>({ ...params }) -> Rizamo.UpdatePostsResponse</code></summary>
|
|
1500
|
+
<dl>
|
|
1501
|
+
<dd>
|
|
1502
|
+
|
|
1503
|
+
#### 📝 Description
|
|
1504
|
+
|
|
1505
|
+
<dl>
|
|
1506
|
+
<dd>
|
|
1507
|
+
|
|
1508
|
+
<dl>
|
|
1509
|
+
<dd>
|
|
1510
|
+
|
|
1511
|
+
Changes its text, files, chain, time, targets or fields, schedules a draft (`status` scheduled with a future `scheduledAt`, or `queue: true`), or moves a scheduled post back to draft; what is left out stays as it is. Targets already live change on their network only with `applyToPublished`, where the network allows it, and `edits` says what happened to each.
|
|
1512
|
+
</dd>
|
|
1513
|
+
</dl>
|
|
1514
|
+
</dd>
|
|
1515
|
+
</dl>
|
|
1516
|
+
|
|
1517
|
+
#### 🔌 Usage
|
|
1518
|
+
|
|
1519
|
+
<dl>
|
|
1520
|
+
<dd>
|
|
1521
|
+
|
|
1522
|
+
<dl>
|
|
1523
|
+
<dd>
|
|
1524
|
+
|
|
1525
|
+
```typescript
|
|
1526
|
+
await client.posts.update({
|
|
1527
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v",
|
|
1528
|
+
scheduledAt: "2026-11-06T10:30:00Z",
|
|
1529
|
+
timeZone: "Europe/Lisbon"
|
|
1530
|
+
});
|
|
1531
|
+
|
|
1532
|
+
```
|
|
1533
|
+
</dd>
|
|
1534
|
+
</dl>
|
|
1535
|
+
</dd>
|
|
1536
|
+
</dl>
|
|
1537
|
+
|
|
1538
|
+
#### ⚙️ Parameters
|
|
1539
|
+
|
|
1540
|
+
<dl>
|
|
1541
|
+
<dd>
|
|
1542
|
+
|
|
1543
|
+
<dl>
|
|
1544
|
+
<dd>
|
|
1545
|
+
|
|
1546
|
+
**request:** `Rizamo.UpdatePostsRequest`
|
|
1547
|
+
|
|
1548
|
+
</dd>
|
|
1549
|
+
</dl>
|
|
1550
|
+
|
|
1551
|
+
<dl>
|
|
1552
|
+
<dd>
|
|
1553
|
+
|
|
1554
|
+
**requestOptions:** `PostsClient.RequestOptions`
|
|
1555
|
+
|
|
1556
|
+
</dd>
|
|
1557
|
+
</dl>
|
|
1558
|
+
</dd>
|
|
1559
|
+
</dl>
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
</dd>
|
|
1563
|
+
</dl>
|
|
1564
|
+
</details>
|
|
1565
|
+
|
|
1566
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">validate</a>({ ...params }) -> Rizamo.ValidatePostsResponse</code></summary>
|
|
1567
|
+
<dl>
|
|
1568
|
+
<dd>
|
|
1569
|
+
|
|
1570
|
+
#### 📝 Description
|
|
1571
|
+
|
|
1572
|
+
<dl>
|
|
1573
|
+
<dd>
|
|
1574
|
+
|
|
1575
|
+
<dl>
|
|
1576
|
+
<dd>
|
|
1577
|
+
|
|
1578
|
+
Takes what Create a post takes and creates nothing. `problems` are what would stop it now; `warnings` are what would stop it from being scheduled or published later, such as Instagram without an image or a video. Each target says what Rizamo would do to its files, and `scheduledAt` when it would go out (with `queue: true`, the queue's next time free for all of its accounts).
|
|
1579
|
+
</dd>
|
|
1580
|
+
</dl>
|
|
1581
|
+
</dd>
|
|
1582
|
+
</dl>
|
|
1583
|
+
|
|
1584
|
+
#### 🔌 Usage
|
|
1585
|
+
|
|
1586
|
+
<dl>
|
|
1587
|
+
<dd>
|
|
1588
|
+
|
|
1589
|
+
<dl>
|
|
1590
|
+
<dd>
|
|
1591
|
+
|
|
1592
|
+
```typescript
|
|
1593
|
+
await client.posts.validate({
|
|
1594
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9",
|
|
1595
|
+
text: "Winter menu is here: spiced orange latte and our first pastel de nata of the season. Open from 8 tomorrow.",
|
|
1596
|
+
targets: [{
|
|
1597
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw",
|
|
1598
|
+
format: "reel"
|
|
1599
|
+
}, {
|
|
1600
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw",
|
|
1601
|
+
format: "story"
|
|
1602
|
+
}, {
|
|
1603
|
+
accountId: "acc_01m43kdrr0ebxa6wpz9f3zmaqa"
|
|
1604
|
+
}],
|
|
1605
|
+
mediaIds: ["med_01m49kp3r0ed9szw9jcadbjdp1"],
|
|
1606
|
+
status: "draft"
|
|
1607
|
+
});
|
|
1608
|
+
|
|
1609
|
+
```
|
|
1610
|
+
</dd>
|
|
1611
|
+
</dl>
|
|
1612
|
+
</dd>
|
|
1613
|
+
</dl>
|
|
1614
|
+
|
|
1615
|
+
#### ⚙️ Parameters
|
|
1616
|
+
|
|
1617
|
+
<dl>
|
|
1618
|
+
<dd>
|
|
1619
|
+
|
|
1620
|
+
<dl>
|
|
1621
|
+
<dd>
|
|
1622
|
+
|
|
1623
|
+
**request:** `Rizamo.ValidatePostsRequest`
|
|
1624
|
+
|
|
1625
|
+
</dd>
|
|
1626
|
+
</dl>
|
|
1627
|
+
|
|
1628
|
+
<dl>
|
|
1629
|
+
<dd>
|
|
1630
|
+
|
|
1631
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1632
|
+
|
|
1633
|
+
</dd>
|
|
1634
|
+
</dl>
|
|
1635
|
+
</dd>
|
|
1636
|
+
</dl>
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
</dd>
|
|
1640
|
+
</dl>
|
|
1641
|
+
</details>
|
|
1642
|
+
|
|
1643
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">publish</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1644
|
+
<dl>
|
|
1645
|
+
<dd>
|
|
1646
|
+
|
|
1647
|
+
#### 📝 Description
|
|
1648
|
+
|
|
1649
|
+
<dl>
|
|
1650
|
+
<dd>
|
|
1651
|
+
|
|
1652
|
+
<dl>
|
|
1653
|
+
<dd>
|
|
1654
|
+
|
|
1655
|
+
Every target that is not live goes out now, failed ones included. A draft or scheduled post becomes scheduled for now; follow each target's `status` until it is `published` or `failed`. Targets whose result is `unknown` are left alone: check the network first.
|
|
1656
|
+
</dd>
|
|
1657
|
+
</dl>
|
|
1658
|
+
</dd>
|
|
1659
|
+
</dl>
|
|
1660
|
+
|
|
1661
|
+
#### 🔌 Usage
|
|
1662
|
+
|
|
1663
|
+
<dl>
|
|
1664
|
+
<dd>
|
|
1665
|
+
|
|
1666
|
+
<dl>
|
|
1667
|
+
<dd>
|
|
1668
|
+
|
|
1669
|
+
```typescript
|
|
1670
|
+
await client.posts.publish({
|
|
1671
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1672
|
+
});
|
|
1673
|
+
|
|
1674
|
+
```
|
|
1675
|
+
</dd>
|
|
1676
|
+
</dl>
|
|
1677
|
+
</dd>
|
|
1678
|
+
</dl>
|
|
1679
|
+
|
|
1680
|
+
#### ⚙️ Parameters
|
|
1681
|
+
|
|
1682
|
+
<dl>
|
|
1683
|
+
<dd>
|
|
1684
|
+
|
|
1685
|
+
<dl>
|
|
1686
|
+
<dd>
|
|
1687
|
+
|
|
1688
|
+
**request:** `Rizamo.PublishPostsRequest`
|
|
1689
|
+
|
|
1690
|
+
</dd>
|
|
1691
|
+
</dl>
|
|
1692
|
+
|
|
1693
|
+
<dl>
|
|
1694
|
+
<dd>
|
|
1695
|
+
|
|
1696
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1697
|
+
|
|
1698
|
+
</dd>
|
|
1699
|
+
</dl>
|
|
1700
|
+
</dd>
|
|
1701
|
+
</dl>
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
</dd>
|
|
1705
|
+
</dl>
|
|
1706
|
+
</details>
|
|
1707
|
+
|
|
1708
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">restore</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1709
|
+
<dl>
|
|
1710
|
+
<dd>
|
|
1711
|
+
|
|
1712
|
+
#### 📝 Description
|
|
1713
|
+
|
|
1714
|
+
<dl>
|
|
1715
|
+
<dd>
|
|
1716
|
+
|
|
1717
|
+
<dl>
|
|
1718
|
+
<dd>
|
|
1719
|
+
|
|
1720
|
+
Within 30 days of deleting it. A scheduled post whose time has passed, or with a target whose account is no longer in its profile (moved to another), comes back as a draft. A post moved to Deleted because its account was removed comes back as it was: its parts on that account (`accountRemoved`) go out only once the account is connected again. Until then they fail at their time, saying why, and scheduling or publishing the post is refused.
|
|
1721
|
+
</dd>
|
|
1722
|
+
</dl>
|
|
1723
|
+
</dd>
|
|
1724
|
+
</dl>
|
|
1725
|
+
|
|
1726
|
+
#### 🔌 Usage
|
|
1727
|
+
|
|
1728
|
+
<dl>
|
|
1729
|
+
<dd>
|
|
1730
|
+
|
|
1731
|
+
<dl>
|
|
1732
|
+
<dd>
|
|
1733
|
+
|
|
1734
|
+
```typescript
|
|
1735
|
+
await client.posts.restore({
|
|
1736
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1737
|
+
});
|
|
1738
|
+
|
|
1739
|
+
```
|
|
1740
|
+
</dd>
|
|
1741
|
+
</dl>
|
|
1742
|
+
</dd>
|
|
1743
|
+
</dl>
|
|
1744
|
+
|
|
1745
|
+
#### ⚙️ Parameters
|
|
1746
|
+
|
|
1747
|
+
<dl>
|
|
1748
|
+
<dd>
|
|
1749
|
+
|
|
1750
|
+
<dl>
|
|
1751
|
+
<dd>
|
|
1752
|
+
|
|
1753
|
+
**request:** `Rizamo.RestorePostsRequest`
|
|
1754
|
+
|
|
1755
|
+
</dd>
|
|
1756
|
+
</dl>
|
|
1757
|
+
|
|
1758
|
+
<dl>
|
|
1759
|
+
<dd>
|
|
1760
|
+
|
|
1761
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1762
|
+
|
|
1763
|
+
</dd>
|
|
1764
|
+
</dl>
|
|
1765
|
+
</dd>
|
|
1766
|
+
</dl>
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
</dd>
|
|
1770
|
+
</dl>
|
|
1771
|
+
</details>
|
|
1772
|
+
|
|
1773
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">share</a>({ ...params }) -> Rizamo.SharePostsResponse</code></summary>
|
|
1774
|
+
<dl>
|
|
1775
|
+
<dd>
|
|
1776
|
+
|
|
1777
|
+
#### 📝 Description
|
|
1778
|
+
|
|
1779
|
+
<dl>
|
|
1780
|
+
<dd>
|
|
1781
|
+
|
|
1782
|
+
<dl>
|
|
1783
|
+
<dd>
|
|
1784
|
+
|
|
1785
|
+
Returns a page anyone with the link can open without signing in: the post as it will look on each of its accounts, and nothing else about it. The link works for 30 days. Sharing again makes a new link and gives every link of the post that still works 30 more days. Stopping the share or deleting the post turns them all off.
|
|
1786
|
+
</dd>
|
|
1787
|
+
</dl>
|
|
1788
|
+
</dd>
|
|
1789
|
+
</dl>
|
|
1790
|
+
|
|
1791
|
+
#### 🔌 Usage
|
|
1792
|
+
|
|
1793
|
+
<dl>
|
|
1794
|
+
<dd>
|
|
1795
|
+
|
|
1796
|
+
<dl>
|
|
1797
|
+
<dd>
|
|
1798
|
+
|
|
1799
|
+
```typescript
|
|
1800
|
+
await client.posts.share({
|
|
1801
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1802
|
+
});
|
|
1803
|
+
|
|
1804
|
+
```
|
|
1805
|
+
</dd>
|
|
1806
|
+
</dl>
|
|
1807
|
+
</dd>
|
|
1808
|
+
</dl>
|
|
1809
|
+
|
|
1810
|
+
#### ⚙️ Parameters
|
|
1811
|
+
|
|
1812
|
+
<dl>
|
|
1813
|
+
<dd>
|
|
1814
|
+
|
|
1815
|
+
<dl>
|
|
1816
|
+
<dd>
|
|
1817
|
+
|
|
1818
|
+
**request:** `Rizamo.SharePostsRequest`
|
|
1819
|
+
|
|
1820
|
+
</dd>
|
|
1821
|
+
</dl>
|
|
1822
|
+
|
|
1823
|
+
<dl>
|
|
1824
|
+
<dd>
|
|
1825
|
+
|
|
1826
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1827
|
+
|
|
1828
|
+
</dd>
|
|
1829
|
+
</dl>
|
|
1830
|
+
</dd>
|
|
1831
|
+
</dl>
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
</dd>
|
|
1835
|
+
</dl>
|
|
1836
|
+
</details>
|
|
1837
|
+
|
|
1838
|
+
<details><summary><code>client.posts.<a href="/src/api/resources/posts/client/Client.ts">unshare</a>({ ...params }) -> Rizamo.Post</code></summary>
|
|
1839
|
+
<dl>
|
|
1840
|
+
<dd>
|
|
1841
|
+
|
|
1842
|
+
#### 📝 Description
|
|
1843
|
+
|
|
1844
|
+
<dl>
|
|
1845
|
+
<dd>
|
|
1846
|
+
|
|
1847
|
+
<dl>
|
|
1848
|
+
<dd>
|
|
1849
|
+
|
|
1850
|
+
Every preview link of the post stops working at once. `sharedUntil` becomes null.
|
|
1851
|
+
</dd>
|
|
1852
|
+
</dl>
|
|
1853
|
+
</dd>
|
|
1854
|
+
</dl>
|
|
1855
|
+
|
|
1856
|
+
#### 🔌 Usage
|
|
1857
|
+
|
|
1858
|
+
<dl>
|
|
1859
|
+
<dd>
|
|
1860
|
+
|
|
1861
|
+
<dl>
|
|
1862
|
+
<dd>
|
|
1863
|
+
|
|
1864
|
+
```typescript
|
|
1865
|
+
await client.posts.unshare({
|
|
1866
|
+
id: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
1867
|
+
});
|
|
1868
|
+
|
|
1869
|
+
```
|
|
1870
|
+
</dd>
|
|
1871
|
+
</dl>
|
|
1872
|
+
</dd>
|
|
1873
|
+
</dl>
|
|
1874
|
+
|
|
1875
|
+
#### ⚙️ Parameters
|
|
1876
|
+
|
|
1877
|
+
<dl>
|
|
1878
|
+
<dd>
|
|
1879
|
+
|
|
1880
|
+
<dl>
|
|
1881
|
+
<dd>
|
|
1882
|
+
|
|
1883
|
+
**request:** `Rizamo.UnsharePostsRequest`
|
|
1884
|
+
|
|
1885
|
+
</dd>
|
|
1886
|
+
</dl>
|
|
1887
|
+
|
|
1888
|
+
<dl>
|
|
1889
|
+
<dd>
|
|
1890
|
+
|
|
1891
|
+
**requestOptions:** `PostsClient.IdempotentRequestOptions`
|
|
1892
|
+
|
|
1893
|
+
</dd>
|
|
1894
|
+
</dl>
|
|
1895
|
+
</dd>
|
|
1896
|
+
</dl>
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
</dd>
|
|
1900
|
+
</dl>
|
|
1901
|
+
</details>
|
|
1902
|
+
|
|
1903
|
+
## Network posts
|
|
1904
|
+
<details><summary><code>client.networkPosts.<a href="/src/api/resources/networkPosts/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.NetworkPost, Rizamo.ListNetworkPostsResponse></code></summary>
|
|
1905
|
+
<dl>
|
|
1906
|
+
<dd>
|
|
1907
|
+
|
|
1908
|
+
#### 📝 Description
|
|
1909
|
+
|
|
1910
|
+
<dl>
|
|
1911
|
+
<dd>
|
|
1912
|
+
|
|
1913
|
+
<dl>
|
|
1914
|
+
<dd>
|
|
1915
|
+
|
|
1916
|
+
Every post on the team's connected accounts, whoever made it: published through Rizamo (`origin` rizamo, with its `postId`) or in the network's own apps (`external`). Newest first, a page at a time: pass `nextCursor` as `cursor` for the next one. Rizamo finds new posts within the hour; when an account is connected it reads back 12 months. A LinkedIn profile's posts made outside Rizamo are not listed, as LinkedIn lists them to select developers only. Each post has its latest metrics, read 1 hour and 6 hours after it went out (TikTok's and YouTube's from 24 hours, as their numbers come a day or more late), then daily to day 90 and every 30 days after (YouTube every 28).
|
|
1917
|
+
</dd>
|
|
1918
|
+
</dl>
|
|
1919
|
+
</dd>
|
|
1920
|
+
</dl>
|
|
1921
|
+
|
|
1922
|
+
#### 🔌 Usage
|
|
1923
|
+
|
|
1924
|
+
<dl>
|
|
1925
|
+
<dd>
|
|
1926
|
+
|
|
1927
|
+
<dl>
|
|
1928
|
+
<dd>
|
|
1929
|
+
|
|
1930
|
+
```typescript
|
|
1931
|
+
const pageableResponse = await client.networkPosts.list({
|
|
1932
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw"
|
|
1933
|
+
});
|
|
1934
|
+
for await (const item of pageableResponse) {
|
|
1935
|
+
console.log(item);
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
// Or you can manually iterate page-by-page
|
|
1939
|
+
let page = await client.networkPosts.list({
|
|
1940
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw"
|
|
1941
|
+
});
|
|
1942
|
+
while (page.hasNextPage()) {
|
|
1943
|
+
page = await page.getNextPage();
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
// You can also access the underlying response
|
|
1947
|
+
const response = page.response;
|
|
1948
|
+
|
|
1949
|
+
```
|
|
1950
|
+
</dd>
|
|
1951
|
+
</dl>
|
|
1952
|
+
</dd>
|
|
1953
|
+
</dl>
|
|
1954
|
+
|
|
1955
|
+
#### ⚙️ Parameters
|
|
1956
|
+
|
|
1957
|
+
<dl>
|
|
1958
|
+
<dd>
|
|
1959
|
+
|
|
1960
|
+
<dl>
|
|
1961
|
+
<dd>
|
|
1962
|
+
|
|
1963
|
+
**request:** `Rizamo.ListNetworkPostsRequest`
|
|
1964
|
+
|
|
1965
|
+
</dd>
|
|
1966
|
+
</dl>
|
|
1967
|
+
|
|
1968
|
+
<dl>
|
|
1969
|
+
<dd>
|
|
1970
|
+
|
|
1971
|
+
**requestOptions:** `NetworkPostsClient.RequestOptions`
|
|
1972
|
+
|
|
1973
|
+
</dd>
|
|
1974
|
+
</dl>
|
|
1975
|
+
</dd>
|
|
1976
|
+
</dl>
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
</dd>
|
|
1980
|
+
</dl>
|
|
1981
|
+
</details>
|
|
1982
|
+
|
|
1983
|
+
<details><summary><code>client.networkPosts.<a href="/src/api/resources/networkPosts/client/Client.ts">get</a>({ ...params }) -> Rizamo.NetworkPost</code></summary>
|
|
1984
|
+
<dl>
|
|
1985
|
+
<dd>
|
|
1986
|
+
|
|
1987
|
+
#### 📝 Description
|
|
1988
|
+
|
|
1989
|
+
<dl>
|
|
1990
|
+
<dd>
|
|
1991
|
+
|
|
1992
|
+
<dl>
|
|
1993
|
+
<dd>
|
|
1994
|
+
|
|
1995
|
+
One post on a network, made through Rizamo or anywhere else: its caption, link and format, the Rizamo post it went out as, whether it is still on the network, its latest numbers with when they were read, and its `details` (rates, traffic sources, viewer types, retention, viewers) where its network gives them.
|
|
1996
|
+
</dd>
|
|
1997
|
+
</dl>
|
|
1998
|
+
</dd>
|
|
1999
|
+
</dl>
|
|
2000
|
+
|
|
2001
|
+
#### 🔌 Usage
|
|
2002
|
+
|
|
2003
|
+
<dl>
|
|
2004
|
+
<dd>
|
|
2005
|
+
|
|
2006
|
+
<dl>
|
|
2007
|
+
<dd>
|
|
2008
|
+
|
|
2009
|
+
```typescript
|
|
2010
|
+
await client.networkPosts.get({
|
|
2011
|
+
id: "npost_01m4fkyer0em9939e5rz4f89v7"
|
|
2012
|
+
});
|
|
2013
|
+
|
|
2014
|
+
```
|
|
2015
|
+
</dd>
|
|
2016
|
+
</dl>
|
|
2017
|
+
</dd>
|
|
2018
|
+
</dl>
|
|
2019
|
+
|
|
2020
|
+
#### ⚙️ Parameters
|
|
2021
|
+
|
|
2022
|
+
<dl>
|
|
2023
|
+
<dd>
|
|
2024
|
+
|
|
2025
|
+
<dl>
|
|
2026
|
+
<dd>
|
|
2027
|
+
|
|
2028
|
+
**request:** `Rizamo.GetNetworkPostsRequest`
|
|
2029
|
+
|
|
2030
|
+
</dd>
|
|
2031
|
+
</dl>
|
|
2032
|
+
|
|
2033
|
+
<dl>
|
|
2034
|
+
<dd>
|
|
2035
|
+
|
|
2036
|
+
**requestOptions:** `NetworkPostsClient.RequestOptions`
|
|
2037
|
+
|
|
2038
|
+
</dd>
|
|
2039
|
+
</dl>
|
|
2040
|
+
</dd>
|
|
2041
|
+
</dl>
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
</dd>
|
|
2045
|
+
</dl>
|
|
2046
|
+
</details>
|
|
2047
|
+
|
|
2048
|
+
<details><summary><code>client.networkPosts.<a href="/src/api/resources/networkPosts/client/Client.ts">timeline</a>({ ...params }) -> Rizamo.NetworkPostTimeline</code></summary>
|
|
2049
|
+
<dl>
|
|
2050
|
+
<dd>
|
|
2051
|
+
|
|
2052
|
+
#### 📝 Description
|
|
2053
|
+
|
|
2054
|
+
<dl>
|
|
2055
|
+
<dd>
|
|
2056
|
+
|
|
2057
|
+
<dl>
|
|
2058
|
+
<dd>
|
|
2059
|
+
|
|
2060
|
+
What each day added to the post's numbers, and the totals after it, from Rizamo's reads: 1 hour and 6 hours after it went out (TikTok's and YouTube's from 24 hours), then daily to day 90 and every 30 days after (YouTube every 28). A day with no point had no change. A change between two reads several days apart is one point over those days, never split, and `gaps` says why, as it does for days Rizamo could not read. Days are the profile's.
|
|
2061
|
+
</dd>
|
|
2062
|
+
</dl>
|
|
2063
|
+
</dd>
|
|
2064
|
+
</dl>
|
|
2065
|
+
|
|
2066
|
+
#### 🔌 Usage
|
|
2067
|
+
|
|
2068
|
+
<dl>
|
|
2069
|
+
<dd>
|
|
2070
|
+
|
|
2071
|
+
<dl>
|
|
2072
|
+
<dd>
|
|
2073
|
+
|
|
2074
|
+
```typescript
|
|
2075
|
+
await client.networkPosts.timeline({
|
|
2076
|
+
id: "npost_01m4fkyer0em9939e5rz4f89v7"
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
```
|
|
2080
|
+
</dd>
|
|
2081
|
+
</dl>
|
|
2082
|
+
</dd>
|
|
2083
|
+
</dl>
|
|
2084
|
+
|
|
2085
|
+
#### ⚙️ Parameters
|
|
2086
|
+
|
|
2087
|
+
<dl>
|
|
2088
|
+
<dd>
|
|
2089
|
+
|
|
2090
|
+
<dl>
|
|
2091
|
+
<dd>
|
|
2092
|
+
|
|
2093
|
+
**request:** `Rizamo.TimelineNetworkPostsRequest`
|
|
2094
|
+
|
|
2095
|
+
</dd>
|
|
2096
|
+
</dl>
|
|
2097
|
+
|
|
2098
|
+
<dl>
|
|
2099
|
+
<dd>
|
|
2100
|
+
|
|
2101
|
+
**requestOptions:** `NetworkPostsClient.RequestOptions`
|
|
2102
|
+
|
|
2103
|
+
</dd>
|
|
2104
|
+
</dl>
|
|
2105
|
+
</dd>
|
|
2106
|
+
</dl>
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
</dd>
|
|
2110
|
+
</dl>
|
|
2111
|
+
</details>
|
|
2112
|
+
|
|
2113
|
+
## Media
|
|
2114
|
+
<details><summary><code>client.media.<a href="/src/api/resources/media/client/Client.ts">create</a>({ ...params }) -> Rizamo.CreateMediaResponse</code></summary>
|
|
2115
|
+
<dl>
|
|
2116
|
+
<dd>
|
|
2117
|
+
|
|
2118
|
+
#### 📝 Description
|
|
2119
|
+
|
|
2120
|
+
<dl>
|
|
2121
|
+
<dd>
|
|
2122
|
+
|
|
2123
|
+
<dl>
|
|
2124
|
+
<dd>
|
|
2125
|
+
|
|
2126
|
+
With `contentType` and `size` (up to 4 GB), the answer says where to send the file: PUT each part, then call `complete` if there is one, and the media is `ready`. With `url`, Rizamo downloads the file and the media is ready in the answer. Media is yours until a post uses it, and then belongs to that post's profile (or to `profileId` at once): keys and people limited to some profiles reach their own media and their profiles'. Media not used by a post within 7 days is deleted.
|
|
2127
|
+
</dd>
|
|
2128
|
+
</dl>
|
|
2129
|
+
</dd>
|
|
2130
|
+
</dl>
|
|
2131
|
+
|
|
2132
|
+
#### 🔌 Usage
|
|
2133
|
+
|
|
2134
|
+
<dl>
|
|
2135
|
+
<dd>
|
|
2136
|
+
|
|
2137
|
+
<dl>
|
|
2138
|
+
<dd>
|
|
2139
|
+
|
|
2140
|
+
```typescript
|
|
2141
|
+
await client.media.create({
|
|
2142
|
+
contentType: "video/mp4",
|
|
2143
|
+
size: 48211334,
|
|
2144
|
+
alt: "Pouring latte art in slow motion",
|
|
2145
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2146
|
+
});
|
|
2147
|
+
|
|
2148
|
+
```
|
|
2149
|
+
</dd>
|
|
2150
|
+
</dl>
|
|
2151
|
+
</dd>
|
|
2152
|
+
</dl>
|
|
2153
|
+
|
|
2154
|
+
#### ⚙️ Parameters
|
|
2155
|
+
|
|
2156
|
+
<dl>
|
|
2157
|
+
<dd>
|
|
2158
|
+
|
|
2159
|
+
<dl>
|
|
2160
|
+
<dd>
|
|
2161
|
+
|
|
2162
|
+
**request:** `Rizamo.CreateMediaRequest`
|
|
2163
|
+
|
|
2164
|
+
</dd>
|
|
2165
|
+
</dl>
|
|
2166
|
+
|
|
2167
|
+
<dl>
|
|
2168
|
+
<dd>
|
|
2169
|
+
|
|
2170
|
+
**requestOptions:** `MediaClient.IdempotentRequestOptions`
|
|
2171
|
+
|
|
2172
|
+
</dd>
|
|
2173
|
+
</dl>
|
|
2174
|
+
</dd>
|
|
2175
|
+
</dl>
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
</dd>
|
|
2179
|
+
</dl>
|
|
2180
|
+
</details>
|
|
2181
|
+
|
|
2182
|
+
<details><summary><code>client.media.<a href="/src/api/resources/media/client/Client.ts">get</a>({ ...params }) -> Rizamo.Media</code></summary>
|
|
2183
|
+
<dl>
|
|
2184
|
+
<dd>
|
|
2185
|
+
|
|
2186
|
+
#### 📝 Description
|
|
2187
|
+
|
|
2188
|
+
<dl>
|
|
2189
|
+
<dd>
|
|
2190
|
+
|
|
2191
|
+
<dl>
|
|
2192
|
+
<dd>
|
|
2193
|
+
|
|
2194
|
+
One image or video: `ready` once its file arrived, with its size, dimensions and length, and a link to view it that works for a few hours.
|
|
2195
|
+
</dd>
|
|
2196
|
+
</dl>
|
|
2197
|
+
</dd>
|
|
2198
|
+
</dl>
|
|
2199
|
+
|
|
2200
|
+
#### 🔌 Usage
|
|
2201
|
+
|
|
2202
|
+
<dl>
|
|
2203
|
+
<dd>
|
|
2204
|
+
|
|
2205
|
+
<dl>
|
|
2206
|
+
<dd>
|
|
2207
|
+
|
|
2208
|
+
```typescript
|
|
2209
|
+
await client.media.get({
|
|
2210
|
+
id: "med_01m48vn2c0emgvm8bkwtj1hayp"
|
|
2211
|
+
});
|
|
2212
|
+
|
|
2213
|
+
```
|
|
2214
|
+
</dd>
|
|
2215
|
+
</dl>
|
|
2216
|
+
</dd>
|
|
2217
|
+
</dl>
|
|
2218
|
+
|
|
2219
|
+
#### ⚙️ Parameters
|
|
2220
|
+
|
|
2221
|
+
<dl>
|
|
2222
|
+
<dd>
|
|
2223
|
+
|
|
2224
|
+
<dl>
|
|
2225
|
+
<dd>
|
|
2226
|
+
|
|
2227
|
+
**request:** `Rizamo.GetMediaRequest`
|
|
2228
|
+
|
|
2229
|
+
</dd>
|
|
2230
|
+
</dl>
|
|
2231
|
+
|
|
2232
|
+
<dl>
|
|
2233
|
+
<dd>
|
|
2234
|
+
|
|
2235
|
+
**requestOptions:** `MediaClient.RequestOptions`
|
|
2236
|
+
|
|
2237
|
+
</dd>
|
|
2238
|
+
</dl>
|
|
2239
|
+
</dd>
|
|
2240
|
+
</dl>
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
</dd>
|
|
2244
|
+
</dl>
|
|
2245
|
+
</details>
|
|
2246
|
+
|
|
2247
|
+
## Uploads
|
|
2248
|
+
<details><summary><code>client.uploads.<a href="/src/api/resources/uploads/client/Client.ts">create</a>({ ...params }) -> Rizamo.UploadRequest</code></summary>
|
|
2249
|
+
<dl>
|
|
2250
|
+
<dd>
|
|
2251
|
+
|
|
2252
|
+
#### 📝 Description
|
|
2253
|
+
|
|
2254
|
+
<dl>
|
|
2255
|
+
<dd>
|
|
2256
|
+
|
|
2257
|
+
<dl>
|
|
2258
|
+
<dd>
|
|
2259
|
+
|
|
2260
|
+
Returns a page to give a person. They add images or videos there, no sign-in needed, and send them. Follow `status` with Get an upload request; its `media` are ready to use on a post. The page works for 24 hours.
|
|
2261
|
+
</dd>
|
|
2262
|
+
</dl>
|
|
2263
|
+
</dd>
|
|
2264
|
+
</dl>
|
|
2265
|
+
|
|
2266
|
+
#### 🔌 Usage
|
|
2267
|
+
|
|
2268
|
+
<dl>
|
|
2269
|
+
<dd>
|
|
2270
|
+
|
|
2271
|
+
<dl>
|
|
2272
|
+
<dd>
|
|
2273
|
+
|
|
2274
|
+
```typescript
|
|
2275
|
+
await client.uploads.create({
|
|
2276
|
+
note: "The photos from Saturday's tasting",
|
|
2277
|
+
maxFiles: 10,
|
|
2278
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2279
|
+
});
|
|
2280
|
+
|
|
2281
|
+
```
|
|
2282
|
+
</dd>
|
|
2283
|
+
</dl>
|
|
2284
|
+
</dd>
|
|
2285
|
+
</dl>
|
|
2286
|
+
|
|
2287
|
+
#### ⚙️ Parameters
|
|
2288
|
+
|
|
2289
|
+
<dl>
|
|
2290
|
+
<dd>
|
|
2291
|
+
|
|
2292
|
+
<dl>
|
|
2293
|
+
<dd>
|
|
2294
|
+
|
|
2295
|
+
**request:** `Rizamo.CreateUploadsRequest`
|
|
2296
|
+
|
|
2297
|
+
</dd>
|
|
2298
|
+
</dl>
|
|
2299
|
+
|
|
2300
|
+
<dl>
|
|
2301
|
+
<dd>
|
|
2302
|
+
|
|
2303
|
+
**requestOptions:** `UploadsClient.IdempotentRequestOptions`
|
|
2304
|
+
|
|
2305
|
+
</dd>
|
|
2306
|
+
</dl>
|
|
2307
|
+
</dd>
|
|
2308
|
+
</dl>
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
</dd>
|
|
2312
|
+
</dl>
|
|
2313
|
+
</details>
|
|
2314
|
+
|
|
2315
|
+
<details><summary><code>client.uploads.<a href="/src/api/resources/uploads/client/Client.ts">get</a>({ ...params }) -> Rizamo.UploadRequest</code></summary>
|
|
2316
|
+
<dl>
|
|
2317
|
+
<dd>
|
|
2318
|
+
|
|
2319
|
+
#### 📝 Description
|
|
2320
|
+
|
|
2321
|
+
<dl>
|
|
2322
|
+
<dd>
|
|
2323
|
+
|
|
2324
|
+
<dl>
|
|
2325
|
+
<dd>
|
|
2326
|
+
|
|
2327
|
+
Whether the person sent their files: `done` once they did, with `media` ready to put on a post. Its page's address is only in the answer that created it.
|
|
2328
|
+
</dd>
|
|
2329
|
+
</dl>
|
|
2330
|
+
</dd>
|
|
2331
|
+
</dl>
|
|
2332
|
+
|
|
2333
|
+
#### 🔌 Usage
|
|
2334
|
+
|
|
2335
|
+
<dl>
|
|
2336
|
+
<dd>
|
|
2337
|
+
|
|
2338
|
+
<dl>
|
|
2339
|
+
<dd>
|
|
2340
|
+
|
|
2341
|
+
```typescript
|
|
2342
|
+
await client.uploads.get({
|
|
2343
|
+
id: "upr_01m4abq540fy78hvv8x8xs62tm"
|
|
2344
|
+
});
|
|
2345
|
+
|
|
2346
|
+
```
|
|
2347
|
+
</dd>
|
|
2348
|
+
</dl>
|
|
2349
|
+
</dd>
|
|
2350
|
+
</dl>
|
|
2351
|
+
|
|
2352
|
+
#### ⚙️ Parameters
|
|
2353
|
+
|
|
2354
|
+
<dl>
|
|
2355
|
+
<dd>
|
|
2356
|
+
|
|
2357
|
+
<dl>
|
|
2358
|
+
<dd>
|
|
2359
|
+
|
|
2360
|
+
**request:** `Rizamo.GetUploadsRequest`
|
|
2361
|
+
|
|
2362
|
+
</dd>
|
|
2363
|
+
</dl>
|
|
2364
|
+
|
|
2365
|
+
<dl>
|
|
2366
|
+
<dd>
|
|
2367
|
+
|
|
2368
|
+
**requestOptions:** `UploadsClient.RequestOptions`
|
|
2369
|
+
|
|
2370
|
+
</dd>
|
|
2371
|
+
</dl>
|
|
2372
|
+
</dd>
|
|
2373
|
+
</dl>
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
</dd>
|
|
2377
|
+
</dl>
|
|
2378
|
+
</details>
|
|
2379
|
+
|
|
2380
|
+
## Links
|
|
2381
|
+
<details><summary><code>client.links.<a href="/src/api/resources/links/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.Link, Rizamo.ListLinksResponse></code></summary>
|
|
2382
|
+
<dl>
|
|
2383
|
+
<dd>
|
|
2384
|
+
|
|
2385
|
+
#### 📝 Description
|
|
2386
|
+
|
|
2387
|
+
<dl>
|
|
2388
|
+
<dd>
|
|
2389
|
+
|
|
2390
|
+
<dl>
|
|
2391
|
+
<dd>
|
|
2392
|
+
|
|
2393
|
+
Newest first, a page at a time: pass `nextCursor` as `cursor` for the next one.
|
|
2394
|
+
</dd>
|
|
2395
|
+
</dl>
|
|
2396
|
+
</dd>
|
|
2397
|
+
</dl>
|
|
2398
|
+
|
|
2399
|
+
#### 🔌 Usage
|
|
2400
|
+
|
|
2401
|
+
<dl>
|
|
2402
|
+
<dd>
|
|
2403
|
+
|
|
2404
|
+
<dl>
|
|
2405
|
+
<dd>
|
|
2406
|
+
|
|
2407
|
+
```typescript
|
|
2408
|
+
const pageableResponse = await client.links.list({
|
|
2409
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2410
|
+
});
|
|
2411
|
+
for await (const item of pageableResponse) {
|
|
2412
|
+
console.log(item);
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
// Or you can manually iterate page-by-page
|
|
2416
|
+
let page = await client.links.list({
|
|
2417
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2418
|
+
});
|
|
2419
|
+
while (page.hasNextPage()) {
|
|
2420
|
+
page = await page.getNextPage();
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
// You can also access the underlying response
|
|
2424
|
+
const response = page.response;
|
|
2425
|
+
|
|
2426
|
+
```
|
|
2427
|
+
</dd>
|
|
2428
|
+
</dl>
|
|
2429
|
+
</dd>
|
|
2430
|
+
</dl>
|
|
2431
|
+
|
|
2432
|
+
#### ⚙️ Parameters
|
|
2433
|
+
|
|
2434
|
+
<dl>
|
|
2435
|
+
<dd>
|
|
2436
|
+
|
|
2437
|
+
<dl>
|
|
2438
|
+
<dd>
|
|
2439
|
+
|
|
2440
|
+
**request:** `Rizamo.ListLinksRequest`
|
|
2441
|
+
|
|
2442
|
+
</dd>
|
|
2443
|
+
</dl>
|
|
2444
|
+
|
|
2445
|
+
<dl>
|
|
2446
|
+
<dd>
|
|
2447
|
+
|
|
2448
|
+
**requestOptions:** `LinksClient.RequestOptions`
|
|
2449
|
+
|
|
2450
|
+
</dd>
|
|
2451
|
+
</dl>
|
|
2452
|
+
</dd>
|
|
2453
|
+
</dl>
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
</dd>
|
|
2457
|
+
</dl>
|
|
2458
|
+
</details>
|
|
2459
|
+
|
|
2460
|
+
<details><summary><code>client.links.<a href="/src/api/resources/links/client/Client.ts">create</a>({ ...params }) -> Rizamo.Link</code></summary>
|
|
2461
|
+
<dl>
|
|
2462
|
+
<dd>
|
|
2463
|
+
|
|
2464
|
+
#### 📝 Description
|
|
2465
|
+
|
|
2466
|
+
<dl>
|
|
2467
|
+
<dd>
|
|
2468
|
+
|
|
2469
|
+
<dl>
|
|
2470
|
+
<dd>
|
|
2471
|
+
|
|
2472
|
+
A short address on Rizamo's link host that sends people on to `url` and counts each click, by day and country. Nothing about the person who clicks is kept: no IP address, cookie or device. Link previews (Instagram, Facebook, WhatsApp, Slack, X and others) and bots are not counted. Without `profileId`, the link is yours (the person, key or agent that made it) and people limited to some profiles do not see it. A team makes up to 1,000 links in 24 hours, and only once it has a connected account or a paid plan (403 until then).
|
|
2473
|
+
</dd>
|
|
2474
|
+
</dl>
|
|
2475
|
+
</dd>
|
|
2476
|
+
</dl>
|
|
2477
|
+
|
|
2478
|
+
#### 🔌 Usage
|
|
2479
|
+
|
|
2480
|
+
<dl>
|
|
2481
|
+
<dd>
|
|
2482
|
+
|
|
2483
|
+
<dl>
|
|
2484
|
+
<dd>
|
|
2485
|
+
|
|
2486
|
+
```typescript
|
|
2487
|
+
await client.links.create({
|
|
2488
|
+
url: "https://cafelumen.pt/menu",
|
|
2489
|
+
utm: {
|
|
2490
|
+
source: "instagram",
|
|
2491
|
+
medium: "social",
|
|
2492
|
+
campaign: "winter-menu"
|
|
2493
|
+
},
|
|
2494
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2495
|
+
});
|
|
2496
|
+
|
|
2497
|
+
```
|
|
2498
|
+
</dd>
|
|
2499
|
+
</dl>
|
|
2500
|
+
</dd>
|
|
2501
|
+
</dl>
|
|
2502
|
+
|
|
2503
|
+
#### ⚙️ Parameters
|
|
2504
|
+
|
|
2505
|
+
<dl>
|
|
2506
|
+
<dd>
|
|
2507
|
+
|
|
2508
|
+
<dl>
|
|
2509
|
+
<dd>
|
|
2510
|
+
|
|
2511
|
+
**request:** `Rizamo.CreateLinksRequest`
|
|
2512
|
+
|
|
2513
|
+
</dd>
|
|
2514
|
+
</dl>
|
|
2515
|
+
|
|
2516
|
+
<dl>
|
|
2517
|
+
<dd>
|
|
2518
|
+
|
|
2519
|
+
**requestOptions:** `LinksClient.IdempotentRequestOptions`
|
|
2520
|
+
|
|
2521
|
+
</dd>
|
|
2522
|
+
</dl>
|
|
2523
|
+
</dd>
|
|
2524
|
+
</dl>
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
</dd>
|
|
2528
|
+
</dl>
|
|
2529
|
+
</details>
|
|
2530
|
+
|
|
2531
|
+
<details><summary><code>client.links.<a href="/src/api/resources/links/client/Client.ts">get</a>({ ...params }) -> Rizamo.GetLinksResponse</code></summary>
|
|
2532
|
+
<dl>
|
|
2533
|
+
<dd>
|
|
2534
|
+
|
|
2535
|
+
#### 📝 Description
|
|
2536
|
+
|
|
2537
|
+
<dl>
|
|
2538
|
+
<dd>
|
|
2539
|
+
|
|
2540
|
+
<dl>
|
|
2541
|
+
<dd>
|
|
2542
|
+
|
|
2543
|
+
One short link, with its clicks so far, per day (UTC) and per country.
|
|
2544
|
+
</dd>
|
|
2545
|
+
</dl>
|
|
2546
|
+
</dd>
|
|
2547
|
+
</dl>
|
|
2548
|
+
|
|
2549
|
+
#### 🔌 Usage
|
|
2550
|
+
|
|
2551
|
+
<dl>
|
|
2552
|
+
<dd>
|
|
2553
|
+
|
|
2554
|
+
<dl>
|
|
2555
|
+
<dd>
|
|
2556
|
+
|
|
2557
|
+
```typescript
|
|
2558
|
+
await client.links.get({
|
|
2559
|
+
id: "lnk_01m4b3r6g0e48txnypr2tcytdp"
|
|
2560
|
+
});
|
|
2561
|
+
|
|
2562
|
+
```
|
|
2563
|
+
</dd>
|
|
2564
|
+
</dl>
|
|
2565
|
+
</dd>
|
|
2566
|
+
</dl>
|
|
2567
|
+
|
|
2568
|
+
#### ⚙️ Parameters
|
|
2569
|
+
|
|
2570
|
+
<dl>
|
|
2571
|
+
<dd>
|
|
2572
|
+
|
|
2573
|
+
<dl>
|
|
2574
|
+
<dd>
|
|
2575
|
+
|
|
2576
|
+
**request:** `Rizamo.GetLinksRequest`
|
|
2577
|
+
|
|
2578
|
+
</dd>
|
|
2579
|
+
</dl>
|
|
2580
|
+
|
|
2581
|
+
<dl>
|
|
2582
|
+
<dd>
|
|
2583
|
+
|
|
2584
|
+
**requestOptions:** `LinksClient.RequestOptions`
|
|
2585
|
+
|
|
2586
|
+
</dd>
|
|
2587
|
+
</dl>
|
|
2588
|
+
</dd>
|
|
2589
|
+
</dl>
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
</dd>
|
|
2593
|
+
</dl>
|
|
2594
|
+
</details>
|
|
2595
|
+
|
|
2596
|
+
<details><summary><code>client.links.<a href="/src/api/resources/links/client/Client.ts">delete</a>({ ...params }) -> Rizamo.DeleteLinksResponse</code></summary>
|
|
2597
|
+
<dl>
|
|
2598
|
+
<dd>
|
|
2599
|
+
|
|
2600
|
+
#### 📝 Description
|
|
2601
|
+
|
|
2602
|
+
<dl>
|
|
2603
|
+
<dd>
|
|
2604
|
+
|
|
2605
|
+
<dl>
|
|
2606
|
+
<dd>
|
|
2607
|
+
|
|
2608
|
+
It stops working within a minute everywhere it was shared (at most 11 minutes in a place under heavy load), and its click counts are deleted.
|
|
2609
|
+
</dd>
|
|
2610
|
+
</dl>
|
|
2611
|
+
</dd>
|
|
2612
|
+
</dl>
|
|
2613
|
+
|
|
2614
|
+
#### 🔌 Usage
|
|
2615
|
+
|
|
2616
|
+
<dl>
|
|
2617
|
+
<dd>
|
|
2618
|
+
|
|
2619
|
+
<dl>
|
|
2620
|
+
<dd>
|
|
2621
|
+
|
|
2622
|
+
```typescript
|
|
2623
|
+
await client.links.delete({
|
|
2624
|
+
id: "lnk_01m4b3r6g0e48txnypr2tcytdp"
|
|
2625
|
+
});
|
|
2626
|
+
|
|
2627
|
+
```
|
|
2628
|
+
</dd>
|
|
2629
|
+
</dl>
|
|
2630
|
+
</dd>
|
|
2631
|
+
</dl>
|
|
2632
|
+
|
|
2633
|
+
#### ⚙️ Parameters
|
|
2634
|
+
|
|
2635
|
+
<dl>
|
|
2636
|
+
<dd>
|
|
2637
|
+
|
|
2638
|
+
<dl>
|
|
2639
|
+
<dd>
|
|
2640
|
+
|
|
2641
|
+
**request:** `Rizamo.DeleteLinksRequest`
|
|
2642
|
+
|
|
2643
|
+
</dd>
|
|
2644
|
+
</dl>
|
|
2645
|
+
|
|
2646
|
+
<dl>
|
|
2647
|
+
<dd>
|
|
2648
|
+
|
|
2649
|
+
**requestOptions:** `LinksClient.RequestOptions`
|
|
2650
|
+
|
|
2651
|
+
</dd>
|
|
2652
|
+
</dl>
|
|
2653
|
+
</dd>
|
|
2654
|
+
</dl>
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
</dd>
|
|
2658
|
+
</dl>
|
|
2659
|
+
</details>
|
|
2660
|
+
|
|
2661
|
+
<details><summary><code>client.links.<a href="/src/api/resources/links/client/Client.ts">update</a>({ ...params }) -> Rizamo.Link</code></summary>
|
|
2662
|
+
<dl>
|
|
2663
|
+
<dd>
|
|
2664
|
+
|
|
2665
|
+
#### 📝 Description
|
|
2666
|
+
|
|
2667
|
+
<dl>
|
|
2668
|
+
<dd>
|
|
2669
|
+
|
|
2670
|
+
<dl>
|
|
2671
|
+
<dd>
|
|
2672
|
+
|
|
2673
|
+
A new `url` applies to every click from now on, wherever the link was shared; it can take a minute to reach every place, at most 11 minutes in one under heavy load. `expiresAt` null makes it never expire. A new `url` needs the team to have a connected account or a paid plan, as making a link does.
|
|
2674
|
+
</dd>
|
|
2675
|
+
</dl>
|
|
2676
|
+
</dd>
|
|
2677
|
+
</dl>
|
|
2678
|
+
|
|
2679
|
+
#### 🔌 Usage
|
|
2680
|
+
|
|
2681
|
+
<dl>
|
|
2682
|
+
<dd>
|
|
2683
|
+
|
|
2684
|
+
<dl>
|
|
2685
|
+
<dd>
|
|
2686
|
+
|
|
2687
|
+
```typescript
|
|
2688
|
+
await client.links.update({
|
|
2689
|
+
id: "lnk_01m4b3r6g0e48txnypr2tcytdp",
|
|
2690
|
+
expiresAt: "2026-12-31T23:59:59Z"
|
|
2691
|
+
});
|
|
2692
|
+
|
|
2693
|
+
```
|
|
2694
|
+
</dd>
|
|
2695
|
+
</dl>
|
|
2696
|
+
</dd>
|
|
2697
|
+
</dl>
|
|
2698
|
+
|
|
2699
|
+
#### ⚙️ Parameters
|
|
2700
|
+
|
|
2701
|
+
<dl>
|
|
2702
|
+
<dd>
|
|
2703
|
+
|
|
2704
|
+
<dl>
|
|
2705
|
+
<dd>
|
|
2706
|
+
|
|
2707
|
+
**request:** `Rizamo.UpdateLinksRequest`
|
|
2708
|
+
|
|
2709
|
+
</dd>
|
|
2710
|
+
</dl>
|
|
2711
|
+
|
|
2712
|
+
<dl>
|
|
2713
|
+
<dd>
|
|
2714
|
+
|
|
2715
|
+
**requestOptions:** `LinksClient.RequestOptions`
|
|
2716
|
+
|
|
2717
|
+
</dd>
|
|
2718
|
+
</dl>
|
|
2719
|
+
</dd>
|
|
2720
|
+
</dl>
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
</dd>
|
|
2724
|
+
</dl>
|
|
2725
|
+
</details>
|
|
2726
|
+
|
|
2727
|
+
## Inbox
|
|
2728
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.Thread, Rizamo.ListInboxResponse></code></summary>
|
|
2729
|
+
<dl>
|
|
2730
|
+
<dd>
|
|
2731
|
+
|
|
2732
|
+
#### 📝 Description
|
|
2733
|
+
|
|
2734
|
+
<dl>
|
|
2735
|
+
<dd>
|
|
2736
|
+
|
|
2737
|
+
<dl>
|
|
2738
|
+
<dd>
|
|
2739
|
+
|
|
2740
|
+
One thread per first comment, with the replies under it, and one per person for messages. Those with the newest messages first, 200 at a time unless `limit` says fewer: pass `nextCursor` as `cursor` for the next page, with the same filters.
|
|
2741
|
+
</dd>
|
|
2742
|
+
</dl>
|
|
2743
|
+
</dd>
|
|
2744
|
+
</dl>
|
|
2745
|
+
|
|
2746
|
+
#### 🔌 Usage
|
|
2747
|
+
|
|
2748
|
+
<dl>
|
|
2749
|
+
<dd>
|
|
2750
|
+
|
|
2751
|
+
<dl>
|
|
2752
|
+
<dd>
|
|
2753
|
+
|
|
2754
|
+
```typescript
|
|
2755
|
+
const pageableResponse = await client.inbox.list();
|
|
2756
|
+
for await (const item of pageableResponse) {
|
|
2757
|
+
console.log(item);
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
// Or you can manually iterate page-by-page
|
|
2761
|
+
let page = await client.inbox.list();
|
|
2762
|
+
while (page.hasNextPage()) {
|
|
2763
|
+
page = await page.getNextPage();
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
// You can also access the underlying response
|
|
2767
|
+
const response = page.response;
|
|
2768
|
+
|
|
2769
|
+
```
|
|
2770
|
+
</dd>
|
|
2771
|
+
</dl>
|
|
2772
|
+
</dd>
|
|
2773
|
+
</dl>
|
|
2774
|
+
|
|
2775
|
+
#### ⚙️ Parameters
|
|
2776
|
+
|
|
2777
|
+
<dl>
|
|
2778
|
+
<dd>
|
|
2779
|
+
|
|
2780
|
+
<dl>
|
|
2781
|
+
<dd>
|
|
2782
|
+
|
|
2783
|
+
**request:** `Rizamo.ListInboxRequest`
|
|
2784
|
+
|
|
2785
|
+
</dd>
|
|
2786
|
+
</dl>
|
|
2787
|
+
|
|
2788
|
+
<dl>
|
|
2789
|
+
<dd>
|
|
2790
|
+
|
|
2791
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
2792
|
+
|
|
2793
|
+
</dd>
|
|
2794
|
+
</dl>
|
|
2795
|
+
</dd>
|
|
2796
|
+
</dl>
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
</dd>
|
|
2800
|
+
</dl>
|
|
2801
|
+
</details>
|
|
2802
|
+
|
|
2803
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">posts</a>({ ...params }) -> core.Page<Rizamo.InboxPost, Rizamo.PostsInboxResponse></code></summary>
|
|
2804
|
+
<dl>
|
|
2805
|
+
<dd>
|
|
2806
|
+
|
|
2807
|
+
#### 📝 Description
|
|
2808
|
+
|
|
2809
|
+
<dl>
|
|
2810
|
+
<dd>
|
|
2811
|
+
|
|
2812
|
+
<dl>
|
|
2813
|
+
<dd>
|
|
2814
|
+
|
|
2815
|
+
The posts on the team's accounts that have comment threads, the most recently commented first, each with its threads counted. A page at a time, 100 unless `limit` says fewer: pass `nextCursor` as `cursor` for the next one, with the same filters.
|
|
2816
|
+
</dd>
|
|
2817
|
+
</dl>
|
|
2818
|
+
</dd>
|
|
2819
|
+
</dl>
|
|
2820
|
+
|
|
2821
|
+
#### 🔌 Usage
|
|
2822
|
+
|
|
2823
|
+
<dl>
|
|
2824
|
+
<dd>
|
|
2825
|
+
|
|
2826
|
+
<dl>
|
|
2827
|
+
<dd>
|
|
2828
|
+
|
|
2829
|
+
```typescript
|
|
2830
|
+
const pageableResponse = await client.inbox.posts({
|
|
2831
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2832
|
+
});
|
|
2833
|
+
for await (const item of pageableResponse) {
|
|
2834
|
+
console.log(item);
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
// Or you can manually iterate page-by-page
|
|
2838
|
+
let page = await client.inbox.posts({
|
|
2839
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
2840
|
+
});
|
|
2841
|
+
while (page.hasNextPage()) {
|
|
2842
|
+
page = await page.getNextPage();
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
// You can also access the underlying response
|
|
2846
|
+
const response = page.response;
|
|
2847
|
+
|
|
2848
|
+
```
|
|
2849
|
+
</dd>
|
|
2850
|
+
</dl>
|
|
2851
|
+
</dd>
|
|
2852
|
+
</dl>
|
|
2853
|
+
|
|
2854
|
+
#### ⚙️ Parameters
|
|
2855
|
+
|
|
2856
|
+
<dl>
|
|
2857
|
+
<dd>
|
|
2858
|
+
|
|
2859
|
+
<dl>
|
|
2860
|
+
<dd>
|
|
2861
|
+
|
|
2862
|
+
**request:** `Rizamo.PostsInboxRequest`
|
|
2863
|
+
|
|
2864
|
+
</dd>
|
|
2865
|
+
</dl>
|
|
2866
|
+
|
|
2867
|
+
<dl>
|
|
2868
|
+
<dd>
|
|
2869
|
+
|
|
2870
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
2871
|
+
|
|
2872
|
+
</dd>
|
|
2873
|
+
</dl>
|
|
2874
|
+
</dd>
|
|
2875
|
+
</dl>
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
</dd>
|
|
2879
|
+
</dl>
|
|
2880
|
+
</details>
|
|
2881
|
+
|
|
2882
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">get</a>({ ...params }) -> Rizamo.GetInboxResponse</code></summary>
|
|
2883
|
+
<dl>
|
|
2884
|
+
<dd>
|
|
2885
|
+
|
|
2886
|
+
#### 📝 Description
|
|
2887
|
+
|
|
2888
|
+
<dl>
|
|
2889
|
+
<dd>
|
|
2890
|
+
|
|
2891
|
+
<dl>
|
|
2892
|
+
<dd>
|
|
2893
|
+
|
|
2894
|
+
Its messages oldest first: every one without `limit`; with it, the newest `limit`, and `nextCursor`, passed as `before`, gives the ones before them.
|
|
2895
|
+
</dd>
|
|
2896
|
+
</dl>
|
|
2897
|
+
</dd>
|
|
2898
|
+
</dl>
|
|
2899
|
+
|
|
2900
|
+
#### 🔌 Usage
|
|
2901
|
+
|
|
2902
|
+
<dl>
|
|
2903
|
+
<dd>
|
|
2904
|
+
|
|
2905
|
+
<dl>
|
|
2906
|
+
<dd>
|
|
2907
|
+
|
|
2908
|
+
```typescript
|
|
2909
|
+
await client.inbox.get({
|
|
2910
|
+
id: "thr_01m4bvs7w0fmf9g0mrdy7j6bc5"
|
|
2911
|
+
});
|
|
2912
|
+
|
|
2913
|
+
```
|
|
2914
|
+
</dd>
|
|
2915
|
+
</dl>
|
|
2916
|
+
</dd>
|
|
2917
|
+
</dl>
|
|
2918
|
+
|
|
2919
|
+
#### ⚙️ Parameters
|
|
2920
|
+
|
|
2921
|
+
<dl>
|
|
2922
|
+
<dd>
|
|
2923
|
+
|
|
2924
|
+
<dl>
|
|
2925
|
+
<dd>
|
|
2926
|
+
|
|
2927
|
+
**request:** `Rizamo.GetInboxRequest`
|
|
2928
|
+
|
|
2929
|
+
</dd>
|
|
2930
|
+
</dl>
|
|
2931
|
+
|
|
2932
|
+
<dl>
|
|
2933
|
+
<dd>
|
|
2934
|
+
|
|
2935
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
2936
|
+
|
|
2937
|
+
</dd>
|
|
2938
|
+
</dl>
|
|
2939
|
+
</dd>
|
|
2940
|
+
</dl>
|
|
2941
|
+
|
|
2942
|
+
|
|
2943
|
+
</dd>
|
|
2944
|
+
</dl>
|
|
2945
|
+
</details>
|
|
2946
|
+
|
|
2947
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">update</a>({ ...params }) -> Rizamo.Thread</code></summary>
|
|
2948
|
+
<dl>
|
|
2949
|
+
<dd>
|
|
2950
|
+
|
|
2951
|
+
#### 📝 Description
|
|
2952
|
+
|
|
2953
|
+
<dl>
|
|
2954
|
+
<dd>
|
|
2955
|
+
|
|
2956
|
+
<dl>
|
|
2957
|
+
<dd>
|
|
2958
|
+
|
|
2959
|
+
Marks it done or open, read or unread, or hands it to a teammate who reaches its profile (`assigneeId`). Nothing is sent to the network.
|
|
2960
|
+
</dd>
|
|
2961
|
+
</dl>
|
|
2962
|
+
</dd>
|
|
2963
|
+
</dl>
|
|
2964
|
+
|
|
2965
|
+
#### 🔌 Usage
|
|
2966
|
+
|
|
2967
|
+
<dl>
|
|
2968
|
+
<dd>
|
|
2969
|
+
|
|
2970
|
+
<dl>
|
|
2971
|
+
<dd>
|
|
2972
|
+
|
|
2973
|
+
```typescript
|
|
2974
|
+
await client.inbox.update({
|
|
2975
|
+
id: "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",
|
|
2976
|
+
status: "done"
|
|
2977
|
+
});
|
|
2978
|
+
|
|
2979
|
+
```
|
|
2980
|
+
</dd>
|
|
2981
|
+
</dl>
|
|
2982
|
+
</dd>
|
|
2983
|
+
</dl>
|
|
2984
|
+
|
|
2985
|
+
#### ⚙️ Parameters
|
|
2986
|
+
|
|
2987
|
+
<dl>
|
|
2988
|
+
<dd>
|
|
2989
|
+
|
|
2990
|
+
<dl>
|
|
2991
|
+
<dd>
|
|
2992
|
+
|
|
2993
|
+
**request:** `Rizamo.UpdateInboxRequest`
|
|
2994
|
+
|
|
2995
|
+
</dd>
|
|
2996
|
+
</dl>
|
|
2997
|
+
|
|
2998
|
+
<dl>
|
|
2999
|
+
<dd>
|
|
3000
|
+
|
|
3001
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
3002
|
+
|
|
3003
|
+
</dd>
|
|
3004
|
+
</dl>
|
|
3005
|
+
</dd>
|
|
3006
|
+
</dl>
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
</dd>
|
|
3010
|
+
</dl>
|
|
3011
|
+
</details>
|
|
3012
|
+
|
|
3013
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">reply</a>({ ...params }) -> Rizamo.Message</code></summary>
|
|
3014
|
+
<dl>
|
|
3015
|
+
<dd>
|
|
3016
|
+
|
|
3017
|
+
#### 📝 Description
|
|
3018
|
+
|
|
3019
|
+
<dl>
|
|
3020
|
+
<dd>
|
|
3021
|
+
|
|
3022
|
+
<dl>
|
|
3023
|
+
<dd>
|
|
3024
|
+
|
|
3025
|
+
Answers as the account: publicly under the comment, or in a private message within 24 hours of the person's last one (`replyWindowEndsAt`). A Threads, LinkedIn or YouTube reply comes back `sending` and goes out within a minute: read the thread to follow it. One that failed says why in `deliveryError`; `retryOf` tries it once more, never sending it twice.
|
|
3026
|
+
</dd>
|
|
3027
|
+
</dl>
|
|
3028
|
+
</dd>
|
|
3029
|
+
</dl>
|
|
3030
|
+
|
|
3031
|
+
#### 🔌 Usage
|
|
3032
|
+
|
|
3033
|
+
<dl>
|
|
3034
|
+
<dd>
|
|
3035
|
+
|
|
3036
|
+
<dl>
|
|
3037
|
+
<dd>
|
|
3038
|
+
|
|
3039
|
+
```typescript
|
|
3040
|
+
await client.inbox.reply({
|
|
3041
|
+
id: "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",
|
|
3042
|
+
text: "It is, Marta! Oat, almond or soy, at no extra cost."
|
|
3043
|
+
});
|
|
3044
|
+
|
|
3045
|
+
```
|
|
3046
|
+
</dd>
|
|
3047
|
+
</dl>
|
|
3048
|
+
</dd>
|
|
3049
|
+
</dl>
|
|
3050
|
+
|
|
3051
|
+
#### ⚙️ Parameters
|
|
3052
|
+
|
|
3053
|
+
<dl>
|
|
3054
|
+
<dd>
|
|
3055
|
+
|
|
3056
|
+
<dl>
|
|
3057
|
+
<dd>
|
|
3058
|
+
|
|
3059
|
+
**request:** `Rizamo.ReplyInboxRequest`
|
|
3060
|
+
|
|
3061
|
+
</dd>
|
|
3062
|
+
</dl>
|
|
3063
|
+
|
|
3064
|
+
<dl>
|
|
3065
|
+
<dd>
|
|
3066
|
+
|
|
3067
|
+
**requestOptions:** `InboxClient.IdempotentRequestOptions`
|
|
3068
|
+
|
|
3069
|
+
</dd>
|
|
3070
|
+
</dl>
|
|
3071
|
+
</dd>
|
|
3072
|
+
</dl>
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
</dd>
|
|
3076
|
+
</dl>
|
|
3077
|
+
</details>
|
|
3078
|
+
|
|
3079
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">markPostDone</a>({ ...params }) -> Rizamo.MarkPostDoneInboxResponse</code></summary>
|
|
3080
|
+
<dl>
|
|
3081
|
+
<dd>
|
|
3082
|
+
|
|
3083
|
+
#### 📝 Description
|
|
3084
|
+
|
|
3085
|
+
<dl>
|
|
3086
|
+
<dd>
|
|
3087
|
+
|
|
3088
|
+
<dl>
|
|
3089
|
+
<dd>
|
|
3090
|
+
|
|
3091
|
+
Every comment thread on the post that is open or unread, and whose newest message is no later than `before`, becomes done and read, as Update a thread would one by one. A thread with something newer stays as it is, and a comment that arrives later opens its thread again.
|
|
3092
|
+
</dd>
|
|
3093
|
+
</dl>
|
|
3094
|
+
</dd>
|
|
3095
|
+
</dl>
|
|
3096
|
+
|
|
3097
|
+
#### 🔌 Usage
|
|
3098
|
+
|
|
3099
|
+
<dl>
|
|
3100
|
+
<dd>
|
|
3101
|
+
|
|
3102
|
+
<dl>
|
|
3103
|
+
<dd>
|
|
3104
|
+
|
|
3105
|
+
```typescript
|
|
3106
|
+
await client.inbox.markPostDone({
|
|
3107
|
+
id: "npost_01m4fkyer0em9939e5rz4f89v7",
|
|
3108
|
+
before: "2026-11-06T10:14:00Z"
|
|
3109
|
+
});
|
|
3110
|
+
|
|
3111
|
+
```
|
|
3112
|
+
</dd>
|
|
3113
|
+
</dl>
|
|
3114
|
+
</dd>
|
|
3115
|
+
</dl>
|
|
3116
|
+
|
|
3117
|
+
#### ⚙️ Parameters
|
|
3118
|
+
|
|
3119
|
+
<dl>
|
|
3120
|
+
<dd>
|
|
3121
|
+
|
|
3122
|
+
<dl>
|
|
3123
|
+
<dd>
|
|
3124
|
+
|
|
3125
|
+
**request:** `Rizamo.MarkPostDoneInboxRequest`
|
|
3126
|
+
|
|
3127
|
+
</dd>
|
|
3128
|
+
</dl>
|
|
3129
|
+
|
|
3130
|
+
<dl>
|
|
3131
|
+
<dd>
|
|
3132
|
+
|
|
3133
|
+
**requestOptions:** `InboxClient.IdempotentRequestOptions`
|
|
3134
|
+
|
|
3135
|
+
</dd>
|
|
3136
|
+
</dl>
|
|
3137
|
+
</dd>
|
|
3138
|
+
</dl>
|
|
3139
|
+
|
|
3140
|
+
|
|
3141
|
+
</dd>
|
|
3142
|
+
</dl>
|
|
3143
|
+
</details>
|
|
3144
|
+
|
|
3145
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">deleteComment</a>({ ...params }) -> Rizamo.DeleteCommentInboxResponse</code></summary>
|
|
3146
|
+
<dl>
|
|
3147
|
+
<dd>
|
|
3148
|
+
|
|
3149
|
+
#### 📝 Description
|
|
3150
|
+
|
|
3151
|
+
<dl>
|
|
3152
|
+
<dd>
|
|
3153
|
+
|
|
3154
|
+
<dl>
|
|
3155
|
+
<dd>
|
|
3156
|
+
|
|
3157
|
+
Deletes the comment from its network, as the account, with the replies under it, and from the thread: it no longer shows in `Get a thread`. When it is the thread's first comment (`first`), the thread goes too, and leaves every list and count. One already gone from the network counts as deleted, so a delete that failed can be asked again. Errors: 400, before any call, when it is not a comment (a message) or its network does not allow it for this comment, with why (`moderationProblem`); 422 `capability_missing` when the account's login does not allow managing comments (on Threads, until Meta approves Rizamo's access to replies); 409 when the account needs a new login or is not active, the reply is still sending, or the network refused, with its reason; 404 for a thread or comment the caller does not reach. On Threads, 422 too for the profile's own reply until Meta approves Rizamo's access to deletes.
|
|
3158
|
+
</dd>
|
|
3159
|
+
</dl>
|
|
3160
|
+
</dd>
|
|
3161
|
+
</dl>
|
|
3162
|
+
|
|
3163
|
+
#### 🔌 Usage
|
|
3164
|
+
|
|
3165
|
+
<dl>
|
|
3166
|
+
<dd>
|
|
3167
|
+
|
|
3168
|
+
<dl>
|
|
3169
|
+
<dd>
|
|
3170
|
+
|
|
3171
|
+
```typescript
|
|
3172
|
+
await client.inbox.deleteComment({
|
|
3173
|
+
id: "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",
|
|
3174
|
+
messageId: "msg_01m4e3wc00ecj9ez6jrr2c6eaj"
|
|
3175
|
+
});
|
|
3176
|
+
|
|
3177
|
+
```
|
|
3178
|
+
</dd>
|
|
3179
|
+
</dl>
|
|
3180
|
+
</dd>
|
|
3181
|
+
</dl>
|
|
3182
|
+
|
|
3183
|
+
#### ⚙️ Parameters
|
|
3184
|
+
|
|
3185
|
+
<dl>
|
|
3186
|
+
<dd>
|
|
3187
|
+
|
|
3188
|
+
<dl>
|
|
3189
|
+
<dd>
|
|
3190
|
+
|
|
3191
|
+
**request:** `Rizamo.DeleteCommentInboxRequest`
|
|
3192
|
+
|
|
3193
|
+
</dd>
|
|
3194
|
+
</dl>
|
|
3195
|
+
|
|
3196
|
+
<dl>
|
|
3197
|
+
<dd>
|
|
3198
|
+
|
|
3199
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
3200
|
+
|
|
3201
|
+
</dd>
|
|
3202
|
+
</dl>
|
|
3203
|
+
</dd>
|
|
3204
|
+
</dl>
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
</dd>
|
|
3208
|
+
</dl>
|
|
3209
|
+
</details>
|
|
3210
|
+
|
|
3211
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">hideComment</a>({ ...params }) -> Rizamo.Message</code></summary>
|
|
3212
|
+
<dl>
|
|
3213
|
+
<dd>
|
|
3214
|
+
|
|
3215
|
+
#### 📝 Description
|
|
3216
|
+
|
|
3217
|
+
<dl>
|
|
3218
|
+
<dd>
|
|
3219
|
+
|
|
3220
|
+
<dl>
|
|
3221
|
+
<dd>
|
|
3222
|
+
|
|
3223
|
+
Hides the comment on its network, as the account, or shows it again (`hidden: false`), then records it on the message. The account's own comments are never hidden, and on Threads only first-level replies (`first`), which hide the replies under them too. Errors: 400, before any call, when it is not a comment (a message) or its network does not allow it for this comment, with why (`moderationProblem`); 422 `capability_missing` when the account's login does not allow managing comments (on Threads, until Meta approves Rizamo's access to replies); 409 when the account needs a new login or is not active, the reply is still sending, or the network refused, with its reason; 404 for a thread or comment the caller does not reach.
|
|
3224
|
+
</dd>
|
|
3225
|
+
</dl>
|
|
3226
|
+
</dd>
|
|
3227
|
+
</dl>
|
|
3228
|
+
|
|
3229
|
+
#### 🔌 Usage
|
|
3230
|
+
|
|
3231
|
+
<dl>
|
|
3232
|
+
<dd>
|
|
3233
|
+
|
|
3234
|
+
<dl>
|
|
3235
|
+
<dd>
|
|
3236
|
+
|
|
3237
|
+
```typescript
|
|
3238
|
+
await client.inbox.hideComment({
|
|
3239
|
+
id: "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",
|
|
3240
|
+
messageId: "msg_01m4dbvam0e87bh8nfk28wrqne",
|
|
3241
|
+
hidden: true
|
|
3242
|
+
});
|
|
3243
|
+
|
|
3244
|
+
```
|
|
3245
|
+
</dd>
|
|
3246
|
+
</dl>
|
|
3247
|
+
</dd>
|
|
3248
|
+
</dl>
|
|
3249
|
+
|
|
3250
|
+
#### ⚙️ Parameters
|
|
3251
|
+
|
|
3252
|
+
<dl>
|
|
3253
|
+
<dd>
|
|
3254
|
+
|
|
3255
|
+
<dl>
|
|
3256
|
+
<dd>
|
|
3257
|
+
|
|
3258
|
+
**request:** `Rizamo.HideCommentInboxRequest`
|
|
3259
|
+
|
|
3260
|
+
</dd>
|
|
3261
|
+
</dl>
|
|
3262
|
+
|
|
3263
|
+
<dl>
|
|
3264
|
+
<dd>
|
|
3265
|
+
|
|
3266
|
+
**requestOptions:** `InboxClient.RequestOptions`
|
|
3267
|
+
|
|
3268
|
+
</dd>
|
|
3269
|
+
</dl>
|
|
3270
|
+
</dd>
|
|
3271
|
+
</dl>
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
</dd>
|
|
3275
|
+
</dl>
|
|
3276
|
+
</details>
|
|
3277
|
+
|
|
3278
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">likeComment</a>({ ...params }) -> Rizamo.Message</code></summary>
|
|
3279
|
+
<dl>
|
|
3280
|
+
<dd>
|
|
3281
|
+
|
|
3282
|
+
#### 📝 Description
|
|
3283
|
+
|
|
3284
|
+
<dl>
|
|
3285
|
+
<dd>
|
|
3286
|
+
|
|
3287
|
+
<dl>
|
|
3288
|
+
<dd>
|
|
3289
|
+
|
|
3290
|
+
Likes the comment as the Facebook or LinkedIn Page, or takes the like back (`liked: false`), then records it on the message. Comments on Facebook or LinkedIn Pages only, by others than the Page. Errors: 400, before any call, when it is not a comment (a message) or its network does not allow it for this comment, with why (`moderationProblem`); 422 `capability_missing` when the account's login does not allow managing comments (on Threads, until Meta approves Rizamo's access to replies); 409 when the account needs a new login or is not active, the reply is still sending, or the network refused, with its reason; 404 for a thread or comment the caller does not reach.
|
|
3291
|
+
</dd>
|
|
3292
|
+
</dl>
|
|
3293
|
+
</dd>
|
|
3294
|
+
</dl>
|
|
3295
|
+
|
|
3296
|
+
#### 🔌 Usage
|
|
3297
|
+
|
|
3298
|
+
<dl>
|
|
3299
|
+
<dd>
|
|
3300
|
+
|
|
3301
|
+
<dl>
|
|
3302
|
+
<dd>
|
|
3303
|
+
|
|
3304
|
+
```typescript
|
|
3305
|
+
await client.inbox.likeComment({
|
|
3306
|
+
id: "thr_01m4ckt980em09vyrhvr9tf4am",
|
|
3307
|
+
messageId: "msg_01m4evxdc0fbt8xh2rc4hhptg1",
|
|
3308
|
+
liked: true
|
|
3309
|
+
});
|
|
3310
|
+
|
|
3311
|
+
```
|
|
3312
|
+
</dd>
|
|
3313
|
+
</dl>
|
|
3314
|
+
</dd>
|
|
3315
|
+
</dl>
|
|
3316
|
+
|
|
3317
|
+
#### ⚙️ Parameters
|
|
3318
|
+
|
|
3319
|
+
<dl>
|
|
3320
|
+
<dd>
|
|
3321
|
+
|
|
3322
|
+
<dl>
|
|
3323
|
+
<dd>
|
|
3324
|
+
|
|
3325
|
+
**request:** `Rizamo.LikeCommentInboxRequest`
|
|
3326
|
+
|
|
3327
|
+
</dd>
|
|
3328
|
+
</dl>
|
|
3329
|
+
|
|
3330
|
+
<dl>
|
|
3331
|
+
<dd>
|
|
3332
|
+
|
|
3333
|
+
**requestOptions:** `InboxClient.IdempotentRequestOptions`
|
|
3334
|
+
|
|
3335
|
+
</dd>
|
|
3336
|
+
</dl>
|
|
3337
|
+
</dd>
|
|
3338
|
+
</dl>
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
</dd>
|
|
3342
|
+
</dl>
|
|
3343
|
+
</details>
|
|
3344
|
+
|
|
3345
|
+
## Members
|
|
3346
|
+
<details><summary><code>client.members.<a href="/src/api/resources/members/client/Client.ts">list</a>() -> Rizamo.ListMembersResponse</code></summary>
|
|
3347
|
+
<dl>
|
|
3348
|
+
<dd>
|
|
3349
|
+
|
|
3350
|
+
#### 📝 Description
|
|
3351
|
+
|
|
3352
|
+
<dl>
|
|
3353
|
+
<dd>
|
|
3354
|
+
|
|
3355
|
+
<dl>
|
|
3356
|
+
<dd>
|
|
3357
|
+
|
|
3358
|
+
The team's people who share a profile with you, or reach every profile, with their profiles narrowed to yours: whom to assign an inbox thread to. No emails. People are invited, changed and removed by owners in the web app.
|
|
3359
|
+
</dd>
|
|
3360
|
+
</dl>
|
|
3361
|
+
</dd>
|
|
3362
|
+
</dl>
|
|
3363
|
+
|
|
3364
|
+
#### 🔌 Usage
|
|
3365
|
+
|
|
3366
|
+
<dl>
|
|
3367
|
+
<dd>
|
|
3368
|
+
|
|
3369
|
+
<dl>
|
|
3370
|
+
<dd>
|
|
3371
|
+
|
|
3372
|
+
```typescript
|
|
3373
|
+
await client.members.list();
|
|
3374
|
+
|
|
3375
|
+
```
|
|
3376
|
+
</dd>
|
|
3377
|
+
</dl>
|
|
3378
|
+
</dd>
|
|
3379
|
+
</dl>
|
|
3380
|
+
|
|
3381
|
+
#### ⚙️ Parameters
|
|
3382
|
+
|
|
3383
|
+
<dl>
|
|
3384
|
+
<dd>
|
|
3385
|
+
|
|
3386
|
+
<dl>
|
|
3387
|
+
<dd>
|
|
3388
|
+
|
|
3389
|
+
**requestOptions:** `MembersClient.RequestOptions`
|
|
3390
|
+
|
|
3391
|
+
</dd>
|
|
3392
|
+
</dl>
|
|
3393
|
+
</dd>
|
|
3394
|
+
</dl>
|
|
3395
|
+
|
|
3396
|
+
|
|
3397
|
+
</dd>
|
|
3398
|
+
</dl>
|
|
3399
|
+
</details>
|
|
3400
|
+
|
|
3401
|
+
## Comment automations
|
|
3402
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.CommentAutomation, Rizamo.ListCommentAutomationsResponse></code></summary>
|
|
3403
|
+
<dl>
|
|
3404
|
+
<dd>
|
|
3405
|
+
|
|
3406
|
+
#### 📝 Description
|
|
3407
|
+
|
|
3408
|
+
<dl>
|
|
3409
|
+
<dd>
|
|
3410
|
+
|
|
3411
|
+
<dl>
|
|
3412
|
+
<dd>
|
|
3413
|
+
|
|
3414
|
+
Newest first, with their numbers so far. Every one without `limit`; with it, a page at a time: pass `nextCursor` as `cursor` for the next one, with the same filters.
|
|
3415
|
+
</dd>
|
|
3416
|
+
</dl>
|
|
3417
|
+
</dd>
|
|
3418
|
+
</dl>
|
|
3419
|
+
|
|
3420
|
+
#### 🔌 Usage
|
|
3421
|
+
|
|
3422
|
+
<dl>
|
|
3423
|
+
<dd>
|
|
3424
|
+
|
|
3425
|
+
<dl>
|
|
3426
|
+
<dd>
|
|
3427
|
+
|
|
3428
|
+
```typescript
|
|
3429
|
+
const pageableResponse = await client.commentAutomations.list({
|
|
3430
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
3431
|
+
});
|
|
3432
|
+
for await (const item of pageableResponse) {
|
|
3433
|
+
console.log(item);
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
// Or you can manually iterate page-by-page
|
|
3437
|
+
let page = await client.commentAutomations.list({
|
|
3438
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
3439
|
+
});
|
|
3440
|
+
while (page.hasNextPage()) {
|
|
3441
|
+
page = await page.getNextPage();
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
// You can also access the underlying response
|
|
3445
|
+
const response = page.response;
|
|
3446
|
+
|
|
3447
|
+
```
|
|
3448
|
+
</dd>
|
|
3449
|
+
</dl>
|
|
3450
|
+
</dd>
|
|
3451
|
+
</dl>
|
|
3452
|
+
|
|
3453
|
+
#### ⚙️ Parameters
|
|
3454
|
+
|
|
3455
|
+
<dl>
|
|
3456
|
+
<dd>
|
|
3457
|
+
|
|
3458
|
+
<dl>
|
|
3459
|
+
<dd>
|
|
3460
|
+
|
|
3461
|
+
**request:** `Rizamo.ListCommentAutomationsRequest`
|
|
3462
|
+
|
|
3463
|
+
</dd>
|
|
3464
|
+
</dl>
|
|
3465
|
+
|
|
3466
|
+
<dl>
|
|
3467
|
+
<dd>
|
|
3468
|
+
|
|
3469
|
+
**requestOptions:** `CommentAutomationsClient.RequestOptions`
|
|
3470
|
+
|
|
3471
|
+
</dd>
|
|
3472
|
+
</dl>
|
|
3473
|
+
</dd>
|
|
3474
|
+
</dl>
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
</dd>
|
|
3478
|
+
</dl>
|
|
3479
|
+
</details>
|
|
3480
|
+
|
|
3481
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">create</a>({ ...params }) -> Rizamo.CommentAutomation</code></summary>
|
|
3482
|
+
<dl>
|
|
3483
|
+
<dd>
|
|
3484
|
+
|
|
3485
|
+
#### 📝 Description
|
|
3486
|
+
|
|
3487
|
+
<dl>
|
|
3488
|
+
<dd>
|
|
3489
|
+
|
|
3490
|
+
<dl>
|
|
3491
|
+
<dd>
|
|
3492
|
+
|
|
3493
|
+
A comment that matches a keyword, on one post or on any post of an Instagram account or Facebook Page, gets a private reply with the message and its link behind a button, once per person by default. Optionally one of up to 5 public replies is posted under it afterwards, and its thread is marked done. On Instagram a follow gate can ask them to follow and reply first, with a button that replies for them. Only top-level comments from others count, made after the automation starts; Rizamo reads comments every few minutes, so answers go out within minutes. Meta takes one private reply per comment, within 7 days of it. An account sends a set number of automated messages a day at most (`dailyCap` in the numbers), paced well under Meta's limits. Not on TikTok: automations answer by private message, and TikTok does not offer its messaging API to accounts in the EEA, Switzerland or the UK, so a TikTok account is refused with that reason.
|
|
3494
|
+
</dd>
|
|
3495
|
+
</dl>
|
|
3496
|
+
</dd>
|
|
3497
|
+
</dl>
|
|
3498
|
+
|
|
3499
|
+
#### 🔌 Usage
|
|
3500
|
+
|
|
3501
|
+
<dl>
|
|
3502
|
+
<dd>
|
|
3503
|
+
|
|
3504
|
+
<dl>
|
|
3505
|
+
<dd>
|
|
3506
|
+
|
|
3507
|
+
```typescript
|
|
3508
|
+
await client.commentAutomations.create({
|
|
3509
|
+
name: "Winter menu guide",
|
|
3510
|
+
keywords: ["menu", "guide"],
|
|
3511
|
+
message: {
|
|
3512
|
+
text: "Here is our winter menu, with every drink and pastry of the season.",
|
|
3513
|
+
link: "https://cafelumen.pt/menu",
|
|
3514
|
+
button: "See the menu"
|
|
3515
|
+
},
|
|
3516
|
+
publicReplies: ["Sent it to your messages!", "Check your DMs!"],
|
|
3517
|
+
markDone: true,
|
|
3518
|
+
accountId: "acc_01m423bp00fz39kp5pc7m42tsw",
|
|
3519
|
+
networkPostId: "npost_01m4fkyer0em9939e5rz4f89v7"
|
|
3520
|
+
});
|
|
3521
|
+
|
|
3522
|
+
```
|
|
3523
|
+
</dd>
|
|
3524
|
+
</dl>
|
|
3525
|
+
</dd>
|
|
3526
|
+
</dl>
|
|
3527
|
+
|
|
3528
|
+
#### ⚙️ Parameters
|
|
3529
|
+
|
|
3530
|
+
<dl>
|
|
3531
|
+
<dd>
|
|
3532
|
+
|
|
3533
|
+
<dl>
|
|
3534
|
+
<dd>
|
|
3535
|
+
|
|
3536
|
+
**request:** `Rizamo.CreateCommentAutomationsRequest`
|
|
3537
|
+
|
|
3538
|
+
</dd>
|
|
3539
|
+
</dl>
|
|
3540
|
+
|
|
3541
|
+
<dl>
|
|
3542
|
+
<dd>
|
|
3543
|
+
|
|
3544
|
+
**requestOptions:** `CommentAutomationsClient.IdempotentRequestOptions`
|
|
3545
|
+
|
|
3546
|
+
</dd>
|
|
3547
|
+
</dl>
|
|
3548
|
+
</dd>
|
|
3549
|
+
</dl>
|
|
3550
|
+
|
|
3551
|
+
|
|
3552
|
+
</dd>
|
|
3553
|
+
</dl>
|
|
3554
|
+
</details>
|
|
3555
|
+
|
|
3556
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">get</a>({ ...params }) -> Rizamo.CommentAutomation</code></summary>
|
|
3557
|
+
<dl>
|
|
3558
|
+
<dd>
|
|
3559
|
+
|
|
3560
|
+
#### 📝 Description
|
|
3561
|
+
|
|
3562
|
+
<dl>
|
|
3563
|
+
<dd>
|
|
3564
|
+
|
|
3565
|
+
<dl>
|
|
3566
|
+
<dd>
|
|
3567
|
+
|
|
3568
|
+
One comment automation: its settings, whether it is armed or paused and why, and its numbers so far.
|
|
3569
|
+
</dd>
|
|
3570
|
+
</dl>
|
|
3571
|
+
</dd>
|
|
3572
|
+
</dl>
|
|
3573
|
+
|
|
3574
|
+
#### 🔌 Usage
|
|
3575
|
+
|
|
3576
|
+
<dl>
|
|
3577
|
+
<dd>
|
|
3578
|
+
|
|
3579
|
+
<dl>
|
|
3580
|
+
<dd>
|
|
3581
|
+
|
|
3582
|
+
```typescript
|
|
3583
|
+
await client.commentAutomations.get({
|
|
3584
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3"
|
|
3585
|
+
});
|
|
3586
|
+
|
|
3587
|
+
```
|
|
3588
|
+
</dd>
|
|
3589
|
+
</dl>
|
|
3590
|
+
</dd>
|
|
3591
|
+
</dl>
|
|
3592
|
+
|
|
3593
|
+
#### ⚙️ Parameters
|
|
3594
|
+
|
|
3595
|
+
<dl>
|
|
3596
|
+
<dd>
|
|
3597
|
+
|
|
3598
|
+
<dl>
|
|
3599
|
+
<dd>
|
|
3600
|
+
|
|
3601
|
+
**request:** `Rizamo.GetCommentAutomationsRequest`
|
|
3602
|
+
|
|
3603
|
+
</dd>
|
|
3604
|
+
</dl>
|
|
3605
|
+
|
|
3606
|
+
<dl>
|
|
3607
|
+
<dd>
|
|
3608
|
+
|
|
3609
|
+
**requestOptions:** `CommentAutomationsClient.RequestOptions`
|
|
3610
|
+
|
|
3611
|
+
</dd>
|
|
3612
|
+
</dl>
|
|
3613
|
+
</dd>
|
|
3614
|
+
</dl>
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
</dd>
|
|
3618
|
+
</dl>
|
|
3619
|
+
</details>
|
|
3620
|
+
|
|
3621
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">delete</a>({ ...params }) -> Rizamo.DeleteCommentAutomationsResponse</code></summary>
|
|
3622
|
+
<dl>
|
|
3623
|
+
<dd>
|
|
3624
|
+
|
|
3625
|
+
#### 📝 Description
|
|
3626
|
+
|
|
3627
|
+
<dl>
|
|
3628
|
+
<dd>
|
|
3629
|
+
|
|
3630
|
+
<dl>
|
|
3631
|
+
<dd>
|
|
3632
|
+
|
|
3633
|
+
It stops at once, with its runs. Messages already sent stay in the inbox.
|
|
3634
|
+
</dd>
|
|
3635
|
+
</dl>
|
|
3636
|
+
</dd>
|
|
3637
|
+
</dl>
|
|
3638
|
+
|
|
3639
|
+
#### 🔌 Usage
|
|
3640
|
+
|
|
3641
|
+
<dl>
|
|
3642
|
+
<dd>
|
|
3643
|
+
|
|
3644
|
+
<dl>
|
|
3645
|
+
<dd>
|
|
3646
|
+
|
|
3647
|
+
```typescript
|
|
3648
|
+
await client.commentAutomations.delete({
|
|
3649
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3"
|
|
3650
|
+
});
|
|
3651
|
+
|
|
3652
|
+
```
|
|
3653
|
+
</dd>
|
|
3654
|
+
</dl>
|
|
3655
|
+
</dd>
|
|
3656
|
+
</dl>
|
|
3657
|
+
|
|
3658
|
+
#### ⚙️ Parameters
|
|
3659
|
+
|
|
3660
|
+
<dl>
|
|
3661
|
+
<dd>
|
|
3662
|
+
|
|
3663
|
+
<dl>
|
|
3664
|
+
<dd>
|
|
3665
|
+
|
|
3666
|
+
**request:** `Rizamo.DeleteCommentAutomationsRequest`
|
|
3667
|
+
|
|
3668
|
+
</dd>
|
|
3669
|
+
</dl>
|
|
3670
|
+
|
|
3671
|
+
<dl>
|
|
3672
|
+
<dd>
|
|
3673
|
+
|
|
3674
|
+
**requestOptions:** `CommentAutomationsClient.RequestOptions`
|
|
3675
|
+
|
|
3676
|
+
</dd>
|
|
3677
|
+
</dl>
|
|
3678
|
+
</dd>
|
|
3679
|
+
</dl>
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
</dd>
|
|
3683
|
+
</dl>
|
|
3684
|
+
</details>
|
|
3685
|
+
|
|
3686
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">update</a>({ ...params }) -> Rizamo.CommentAutomation</code></summary>
|
|
3687
|
+
<dl>
|
|
3688
|
+
<dd>
|
|
3689
|
+
|
|
3690
|
+
#### 📝 Description
|
|
3691
|
+
|
|
3692
|
+
<dl>
|
|
3693
|
+
<dd>
|
|
3694
|
+
|
|
3695
|
+
<dl>
|
|
3696
|
+
<dd>
|
|
3697
|
+
|
|
3698
|
+
The account and post cannot change. Pausing stops it at once; comments made while it is paused are never answered. Resuming starts from then.
|
|
3699
|
+
</dd>
|
|
3700
|
+
</dl>
|
|
3701
|
+
</dd>
|
|
3702
|
+
</dl>
|
|
3703
|
+
|
|
3704
|
+
#### 🔌 Usage
|
|
3705
|
+
|
|
3706
|
+
<dl>
|
|
3707
|
+
<dd>
|
|
3708
|
+
|
|
3709
|
+
<dl>
|
|
3710
|
+
<dd>
|
|
3711
|
+
|
|
3712
|
+
```typescript
|
|
3713
|
+
await client.commentAutomations.update({
|
|
3714
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3",
|
|
3715
|
+
status: "paused"
|
|
3716
|
+
});
|
|
3717
|
+
|
|
3718
|
+
```
|
|
3719
|
+
</dd>
|
|
3720
|
+
</dl>
|
|
3721
|
+
</dd>
|
|
3722
|
+
</dl>
|
|
3723
|
+
|
|
3724
|
+
#### ⚙️ Parameters
|
|
3725
|
+
|
|
3726
|
+
<dl>
|
|
3727
|
+
<dd>
|
|
3728
|
+
|
|
3729
|
+
<dl>
|
|
3730
|
+
<dd>
|
|
3731
|
+
|
|
3732
|
+
**request:** `Rizamo.UpdateCommentAutomationsRequest`
|
|
3733
|
+
|
|
3734
|
+
</dd>
|
|
3735
|
+
</dl>
|
|
3736
|
+
|
|
3737
|
+
<dl>
|
|
3738
|
+
<dd>
|
|
3739
|
+
|
|
3740
|
+
**requestOptions:** `CommentAutomationsClient.RequestOptions`
|
|
3741
|
+
|
|
3742
|
+
</dd>
|
|
3743
|
+
</dl>
|
|
3744
|
+
</dd>
|
|
3745
|
+
</dl>
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
</dd>
|
|
3749
|
+
</dl>
|
|
3750
|
+
</details>
|
|
3751
|
+
|
|
3752
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">runs</a>({ ...params }) -> core.Page<Rizamo.CommentAutomationRun, Rizamo.RunsCommentAutomationsResponse></code></summary>
|
|
3753
|
+
<dl>
|
|
3754
|
+
<dd>
|
|
3755
|
+
|
|
3756
|
+
#### 📝 Description
|
|
3757
|
+
|
|
3758
|
+
<dl>
|
|
3759
|
+
<dd>
|
|
3760
|
+
|
|
3761
|
+
<dl>
|
|
3762
|
+
<dd>
|
|
3763
|
+
|
|
3764
|
+
One run per matched comment, newest first, a page at a time: pass `nextCursor` as `cursor` for the next one. A run stays when its comment is deleted, but its `threadId` may then be gone from the inbox, and a private reply not sent yet is skipped (`refused`).
|
|
3765
|
+
</dd>
|
|
3766
|
+
</dl>
|
|
3767
|
+
</dd>
|
|
3768
|
+
</dl>
|
|
3769
|
+
|
|
3770
|
+
#### 🔌 Usage
|
|
3771
|
+
|
|
3772
|
+
<dl>
|
|
3773
|
+
<dd>
|
|
3774
|
+
|
|
3775
|
+
<dl>
|
|
3776
|
+
<dd>
|
|
3777
|
+
|
|
3778
|
+
```typescript
|
|
3779
|
+
const pageableResponse = await client.commentAutomations.runs({
|
|
3780
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3"
|
|
3781
|
+
});
|
|
3782
|
+
for await (const item of pageableResponse) {
|
|
3783
|
+
console.log(item);
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
// Or you can manually iterate page-by-page
|
|
3787
|
+
let page = await client.commentAutomations.runs({
|
|
3788
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3"
|
|
3789
|
+
});
|
|
3790
|
+
while (page.hasNextPage()) {
|
|
3791
|
+
page = await page.getNextPage();
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3794
|
+
// You can also access the underlying response
|
|
3795
|
+
const response = page.response;
|
|
3796
|
+
|
|
3797
|
+
```
|
|
3798
|
+
</dd>
|
|
3799
|
+
</dl>
|
|
3800
|
+
</dd>
|
|
3801
|
+
</dl>
|
|
3802
|
+
|
|
3803
|
+
#### ⚙️ Parameters
|
|
3804
|
+
|
|
3805
|
+
<dl>
|
|
3806
|
+
<dd>
|
|
3807
|
+
|
|
3808
|
+
<dl>
|
|
3809
|
+
<dd>
|
|
3810
|
+
|
|
3811
|
+
**request:** `Rizamo.RunsCommentAutomationsRequest`
|
|
3812
|
+
|
|
3813
|
+
</dd>
|
|
3814
|
+
</dl>
|
|
3815
|
+
|
|
3816
|
+
<dl>
|
|
3817
|
+
<dd>
|
|
3818
|
+
|
|
3819
|
+
**requestOptions:** `CommentAutomationsClient.RequestOptions`
|
|
3820
|
+
|
|
3821
|
+
</dd>
|
|
3822
|
+
</dl>
|
|
3823
|
+
</dd>
|
|
3824
|
+
</dl>
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
</dd>
|
|
3828
|
+
</dl>
|
|
3829
|
+
</details>
|
|
3830
|
+
|
|
3831
|
+
<details><summary><code>client.commentAutomations.<a href="/src/api/resources/commentAutomations/client/Client.ts">test</a>({ ...params }) -> Rizamo.CommentAutomationTest</code></summary>
|
|
3832
|
+
<dl>
|
|
3833
|
+
<dd>
|
|
3834
|
+
|
|
3835
|
+
#### 📝 Description
|
|
3836
|
+
|
|
3837
|
+
<dl>
|
|
3838
|
+
<dd>
|
|
3839
|
+
|
|
3840
|
+
<dl>
|
|
3841
|
+
<dd>
|
|
3842
|
+
|
|
3843
|
+
Whether a comment with this text would trigger it, and the messages it would send, with their Rizamo links: each as its text and its button (the link, or the follow gate's reply button). Nothing is sent or recorded. Whether the person already got it, follows the account or is within Meta's windows is only known for real comments.
|
|
3844
|
+
</dd>
|
|
3845
|
+
</dl>
|
|
3846
|
+
</dd>
|
|
3847
|
+
</dl>
|
|
3848
|
+
|
|
3849
|
+
#### 🔌 Usage
|
|
3850
|
+
|
|
3851
|
+
<dl>
|
|
3852
|
+
<dd>
|
|
3853
|
+
|
|
3854
|
+
<dl>
|
|
3855
|
+
<dd>
|
|
3856
|
+
|
|
3857
|
+
```typescript
|
|
3858
|
+
await client.commentAutomations.test({
|
|
3859
|
+
id: "cauto_01m4h40hg0f4wa1w5cfcgpjrp3",
|
|
3860
|
+
text: "Menu please!"
|
|
3861
|
+
});
|
|
3862
|
+
|
|
3863
|
+
```
|
|
3864
|
+
</dd>
|
|
3865
|
+
</dl>
|
|
3866
|
+
</dd>
|
|
3867
|
+
</dl>
|
|
3868
|
+
|
|
3869
|
+
#### ⚙️ Parameters
|
|
3870
|
+
|
|
3871
|
+
<dl>
|
|
3872
|
+
<dd>
|
|
3873
|
+
|
|
3874
|
+
<dl>
|
|
3875
|
+
<dd>
|
|
3876
|
+
|
|
3877
|
+
**request:** `Rizamo.TestCommentAutomationsRequest`
|
|
3878
|
+
|
|
3879
|
+
</dd>
|
|
3880
|
+
</dl>
|
|
3881
|
+
|
|
3882
|
+
<dl>
|
|
3883
|
+
<dd>
|
|
3884
|
+
|
|
3885
|
+
**requestOptions:** `CommentAutomationsClient.IdempotentRequestOptions`
|
|
3886
|
+
|
|
3887
|
+
</dd>
|
|
3888
|
+
</dl>
|
|
3889
|
+
</dd>
|
|
3890
|
+
</dl>
|
|
3891
|
+
|
|
3892
|
+
|
|
3893
|
+
</dd>
|
|
3894
|
+
</dl>
|
|
3895
|
+
</details>
|
|
3896
|
+
|
|
3897
|
+
## Analytics
|
|
3898
|
+
<details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">overview</a>({ ...params }) -> Rizamo.AnalyticsOverview</code></summary>
|
|
3899
|
+
<dl>
|
|
3900
|
+
<dd>
|
|
3901
|
+
|
|
3902
|
+
#### 📝 Description
|
|
3903
|
+
|
|
3904
|
+
<dl>
|
|
3905
|
+
<dd>
|
|
3906
|
+
|
|
3907
|
+
<dl>
|
|
3908
|
+
<dd>
|
|
3909
|
+
|
|
3910
|
+
The numbers of the team's accounts and of every post on them, made in Rizamo or anywhere else, for a period and the one before it: views, reach, engagements, the engagement rate of the posts published, posts published, followers, the accounts' own reach and accounts engaged, each day, each network, and the top posts. A period of `days` ends yesterday, the last complete day, as `to` does when left out. With `attribution` received (the default), views are each account's own views of each day, as its network counts them (its posts' gains where its days give none, and with `fields`), and reach and engagements what arrived on the posts in the period, on posts of any age, by the day it arrived; with publish, they are the numbers so far of the posts published in the period, by the day each went out. A number a network does not give is missing, never 0, and `notes` says why. Post numbers follow the days of the profile's time zone (pass `timeZone` for another); followers and the accounts' own numbers come by the network's days, matched by date (Meta's run on Pacific time, TikTok's on UTC). TikTok's days come 2 days late and YouTube's 3.
|
|
3911
|
+
</dd>
|
|
3912
|
+
</dl>
|
|
3913
|
+
</dd>
|
|
3914
|
+
</dl>
|
|
3915
|
+
|
|
3916
|
+
#### 🔌 Usage
|
|
3917
|
+
|
|
3918
|
+
<dl>
|
|
3919
|
+
<dd>
|
|
3920
|
+
|
|
3921
|
+
<dl>
|
|
3922
|
+
<dd>
|
|
3923
|
+
|
|
3924
|
+
```typescript
|
|
3925
|
+
await client.analytics.overview({
|
|
3926
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
3927
|
+
});
|
|
3928
|
+
|
|
3929
|
+
```
|
|
3930
|
+
</dd>
|
|
3931
|
+
</dl>
|
|
3932
|
+
</dd>
|
|
3933
|
+
</dl>
|
|
3934
|
+
|
|
3935
|
+
#### ⚙️ Parameters
|
|
3936
|
+
|
|
3937
|
+
<dl>
|
|
3938
|
+
<dd>
|
|
3939
|
+
|
|
3940
|
+
<dl>
|
|
3941
|
+
<dd>
|
|
3942
|
+
|
|
3943
|
+
**request:** `Rizamo.OverviewAnalyticsRequest`
|
|
3944
|
+
|
|
3945
|
+
</dd>
|
|
3946
|
+
</dl>
|
|
3947
|
+
|
|
3948
|
+
<dl>
|
|
3949
|
+
<dd>
|
|
3950
|
+
|
|
3951
|
+
**requestOptions:** `AnalyticsClient.RequestOptions`
|
|
3952
|
+
|
|
3953
|
+
</dd>
|
|
3954
|
+
</dl>
|
|
3955
|
+
</dd>
|
|
3956
|
+
</dl>
|
|
3957
|
+
|
|
3958
|
+
|
|
3959
|
+
</dd>
|
|
3960
|
+
</dl>
|
|
3961
|
+
</details>
|
|
3962
|
+
|
|
3963
|
+
<details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">posts</a>({ ...params }) -> Rizamo.PostsAnalyticsResponse</code></summary>
|
|
3964
|
+
<dl>
|
|
3965
|
+
<dd>
|
|
3966
|
+
|
|
3967
|
+
#### 📝 Description
|
|
3968
|
+
|
|
3969
|
+
<dl>
|
|
3970
|
+
<dd>
|
|
3971
|
+
|
|
3972
|
+
<dl>
|
|
3973
|
+
<dd>
|
|
3974
|
+
|
|
3975
|
+
Every post published in the period on the team's accounts, made in Rizamo or anywhere else, deleted ones included, with its numbers so far: its lifetime totals as Rizamo last read them, every one its network gives in `metrics`, and its `details` (rates, traffic sources, viewer types, retention, viewers) where its network gives them. Sorted by views unless asked otherwise, a page at a time. Days are the profile's, and a period of `days` ends yesterday, as in Analytics overview.
|
|
3976
|
+
</dd>
|
|
3977
|
+
</dl>
|
|
3978
|
+
</dd>
|
|
3979
|
+
</dl>
|
|
3980
|
+
|
|
3981
|
+
#### 🔌 Usage
|
|
3982
|
+
|
|
3983
|
+
<dl>
|
|
3984
|
+
<dd>
|
|
3985
|
+
|
|
3986
|
+
<dl>
|
|
3987
|
+
<dd>
|
|
3988
|
+
|
|
3989
|
+
```typescript
|
|
3990
|
+
await client.analytics.posts({
|
|
3991
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
3992
|
+
});
|
|
3993
|
+
|
|
3994
|
+
```
|
|
3995
|
+
</dd>
|
|
3996
|
+
</dl>
|
|
3997
|
+
</dd>
|
|
3998
|
+
</dl>
|
|
3999
|
+
|
|
4000
|
+
#### ⚙️ Parameters
|
|
4001
|
+
|
|
4002
|
+
<dl>
|
|
4003
|
+
<dd>
|
|
4004
|
+
|
|
4005
|
+
<dl>
|
|
4006
|
+
<dd>
|
|
4007
|
+
|
|
4008
|
+
**request:** `Rizamo.PostsAnalyticsRequest`
|
|
4009
|
+
|
|
4010
|
+
</dd>
|
|
4011
|
+
</dl>
|
|
4012
|
+
|
|
4013
|
+
<dl>
|
|
4014
|
+
<dd>
|
|
4015
|
+
|
|
4016
|
+
**requestOptions:** `AnalyticsClient.RequestOptions`
|
|
4017
|
+
|
|
4018
|
+
</dd>
|
|
4019
|
+
</dl>
|
|
4020
|
+
</dd>
|
|
4021
|
+
</dl>
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
</dd>
|
|
4025
|
+
</dl>
|
|
4026
|
+
</details>
|
|
4027
|
+
|
|
4028
|
+
<details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">audience</a>({ ...params }) -> Rizamo.Audience</code></summary>
|
|
4029
|
+
<dl>
|
|
4030
|
+
<dd>
|
|
4031
|
+
|
|
4032
|
+
#### 📝 Description
|
|
4033
|
+
|
|
4034
|
+
<dl>
|
|
4035
|
+
<dd>
|
|
4036
|
+
|
|
4037
|
+
<dl>
|
|
4038
|
+
<dd>
|
|
4039
|
+
|
|
4040
|
+
Each account's audience as last read: its followers, and the people who engaged with its content this month, by age, gender, country and city (LinkedIn without age or gender, and by industry, job function, seniority and company size; YouTube without city), and when its followers are active, by the hour in UTC (`activeHours`), from TikTok, for accounts with advanced access or a verified business account, and 100 followers or more. Rizamo reads it once a week for Instagram, TikTok, Threads, LinkedIn and YouTube accounts (Instagram through either login). Followers come only for accounts with 100 followers or more. Instagram gives the engaged audience only when each group has more than 100 people; TikTok, Threads and LinkedIn give none; YouTube gives no followers (`followers` is null). A YouTube channel's engaged audience is its viewers this month (last month until the 8th, as YouTube's numbers come 2 to 3 days late), counted by their views. Facebook no longer gives a Page's audience, and other networks are not read yet: their accounts come with why.
|
|
4041
|
+
</dd>
|
|
4042
|
+
</dl>
|
|
4043
|
+
</dd>
|
|
4044
|
+
</dl>
|
|
4045
|
+
|
|
4046
|
+
#### 🔌 Usage
|
|
4047
|
+
|
|
4048
|
+
<dl>
|
|
4049
|
+
<dd>
|
|
4050
|
+
|
|
4051
|
+
<dl>
|
|
4052
|
+
<dd>
|
|
4053
|
+
|
|
4054
|
+
```typescript
|
|
4055
|
+
await client.analytics.audience({
|
|
4056
|
+
profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
4057
|
+
});
|
|
4058
|
+
|
|
4059
|
+
```
|
|
4060
|
+
</dd>
|
|
4061
|
+
</dl>
|
|
4062
|
+
</dd>
|
|
4063
|
+
</dl>
|
|
4064
|
+
|
|
4065
|
+
#### ⚙️ Parameters
|
|
4066
|
+
|
|
4067
|
+
<dl>
|
|
4068
|
+
<dd>
|
|
4069
|
+
|
|
4070
|
+
<dl>
|
|
4071
|
+
<dd>
|
|
4072
|
+
|
|
4073
|
+
**request:** `Rizamo.AudienceAnalyticsRequest`
|
|
4074
|
+
|
|
4075
|
+
</dd>
|
|
4076
|
+
</dl>
|
|
4077
|
+
|
|
4078
|
+
<dl>
|
|
4079
|
+
<dd>
|
|
4080
|
+
|
|
4081
|
+
**requestOptions:** `AnalyticsClient.RequestOptions`
|
|
4082
|
+
|
|
4083
|
+
</dd>
|
|
4084
|
+
</dl>
|
|
4085
|
+
</dd>
|
|
4086
|
+
</dl>
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
</dd>
|
|
4090
|
+
</dl>
|
|
4091
|
+
</details>
|
|
4092
|
+
|
|
4093
|
+
## Billing
|
|
4094
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">get</a>() -> Rizamo.Billing</code></summary>
|
|
4095
|
+
<dl>
|
|
4096
|
+
<dd>
|
|
4097
|
+
|
|
4098
|
+
#### 📝 Description
|
|
4099
|
+
|
|
4100
|
+
<dl>
|
|
4101
|
+
<dd>
|
|
4102
|
+
|
|
4103
|
+
<dl>
|
|
4104
|
+
<dd>
|
|
4105
|
+
|
|
4106
|
+
Billed per connected account, the first 2 free. Only keys and people that reach every profile see it, since the plan counts every profile's accounts.
|
|
4107
|
+
</dd>
|
|
4108
|
+
</dl>
|
|
4109
|
+
</dd>
|
|
4110
|
+
</dl>
|
|
4111
|
+
|
|
4112
|
+
#### 🔌 Usage
|
|
4113
|
+
|
|
4114
|
+
<dl>
|
|
4115
|
+
<dd>
|
|
4116
|
+
|
|
4117
|
+
<dl>
|
|
4118
|
+
<dd>
|
|
4119
|
+
|
|
4120
|
+
```typescript
|
|
4121
|
+
await client.billing.get();
|
|
4122
|
+
|
|
4123
|
+
```
|
|
4124
|
+
</dd>
|
|
4125
|
+
</dl>
|
|
4126
|
+
</dd>
|
|
4127
|
+
</dl>
|
|
4128
|
+
|
|
4129
|
+
#### ⚙️ Parameters
|
|
4130
|
+
|
|
4131
|
+
<dl>
|
|
4132
|
+
<dd>
|
|
4133
|
+
|
|
4134
|
+
<dl>
|
|
4135
|
+
<dd>
|
|
4136
|
+
|
|
4137
|
+
**requestOptions:** `BillingClient.RequestOptions`
|
|
4138
|
+
|
|
4139
|
+
</dd>
|
|
4140
|
+
</dl>
|
|
4141
|
+
</dd>
|
|
4142
|
+
</dl>
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
</dd>
|
|
4146
|
+
</dl>
|
|
4147
|
+
</details>
|
|
4148
|
+
|
|
4149
|
+
## Events
|
|
4150
|
+
<details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">list</a>({ ...params }) -> core.Page<Rizamo.Event, Rizamo.ListEventsResponse></code></summary>
|
|
4151
|
+
<dl>
|
|
4152
|
+
<dd>
|
|
4153
|
+
|
|
4154
|
+
#### 📝 Description
|
|
4155
|
+
|
|
4156
|
+
<dl>
|
|
4157
|
+
<dd>
|
|
4158
|
+
|
|
4159
|
+
<dl>
|
|
4160
|
+
<dd>
|
|
4161
|
+
|
|
4162
|
+
Every change on the team's posts and accounts in the last 30 days, newest first, with who made it: a person, an API key, an agent, or Rizamo itself; and the inbox's comments and messages as they arrive, the replies sent from Rizamo, and what comment automations do. The same events webhooks send, each as one item of this list. A page at a time: pass `nextCursor` as `cursor` for the next one. Someone limited to some profiles sees only those profiles' events. The inbox's and comment automations' events carry what people wrote: a key or agent reads them only with `inbox:read` (`comment.received`, `message.received`, `message.sent`) or `automations:read` (`comment_automation.*`) too; asking for one of those types without it answers 403.
|
|
4163
|
+
</dd>
|
|
4164
|
+
</dl>
|
|
4165
|
+
</dd>
|
|
4166
|
+
</dl>
|
|
4167
|
+
|
|
4168
|
+
#### 🔌 Usage
|
|
4169
|
+
|
|
4170
|
+
<dl>
|
|
4171
|
+
<dd>
|
|
4172
|
+
|
|
4173
|
+
<dl>
|
|
4174
|
+
<dd>
|
|
4175
|
+
|
|
4176
|
+
```typescript
|
|
4177
|
+
const pageableResponse = await client.events.list({
|
|
4178
|
+
resourceId: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
4179
|
+
});
|
|
4180
|
+
for await (const item of pageableResponse) {
|
|
4181
|
+
console.log(item);
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
// Or you can manually iterate page-by-page
|
|
4185
|
+
let page = await client.events.list({
|
|
4186
|
+
resourceId: "post_01m47bjzm0edmtk7w6gp7br39v"
|
|
4187
|
+
});
|
|
4188
|
+
while (page.hasNextPage()) {
|
|
4189
|
+
page = await page.getNextPage();
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
// You can also access the underlying response
|
|
4193
|
+
const response = page.response;
|
|
4194
|
+
|
|
4195
|
+
```
|
|
4196
|
+
</dd>
|
|
4197
|
+
</dl>
|
|
4198
|
+
</dd>
|
|
4199
|
+
</dl>
|
|
4200
|
+
|
|
4201
|
+
#### ⚙️ Parameters
|
|
4202
|
+
|
|
4203
|
+
<dl>
|
|
4204
|
+
<dd>
|
|
4205
|
+
|
|
4206
|
+
<dl>
|
|
4207
|
+
<dd>
|
|
4208
|
+
|
|
4209
|
+
**request:** `Rizamo.ListEventsRequest`
|
|
4210
|
+
|
|
4211
|
+
</dd>
|
|
4212
|
+
</dl>
|
|
4213
|
+
|
|
4214
|
+
<dl>
|
|
4215
|
+
<dd>
|
|
4216
|
+
|
|
4217
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
4218
|
+
|
|
4219
|
+
</dd>
|
|
4220
|
+
</dl>
|
|
4221
|
+
</dd>
|
|
4222
|
+
</dl>
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
</dd>
|
|
4226
|
+
</dl>
|
|
4227
|
+
</details>
|
|
4228
|
+
|
|
4229
|
+
## Webhooks
|
|
4230
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>() -> Rizamo.ListWebhooksResponse</code></summary>
|
|
4231
|
+
<dl>
|
|
4232
|
+
<dd>
|
|
4233
|
+
|
|
4234
|
+
#### 📝 Description
|
|
4235
|
+
|
|
4236
|
+
<dl>
|
|
4237
|
+
<dd>
|
|
4238
|
+
|
|
4239
|
+
<dl>
|
|
4240
|
+
<dd>
|
|
4241
|
+
|
|
4242
|
+
The team's endpoints, oldest first, without their signing secrets. An owner sees every one, also through their agent or their API key; anyone else only those that send for them (`onBehalfOf`). Someone limited to some profiles sees only endpoints limited to those profiles.
|
|
4243
|
+
</dd>
|
|
4244
|
+
</dl>
|
|
4245
|
+
</dd>
|
|
4246
|
+
</dl>
|
|
4247
|
+
|
|
4248
|
+
#### 🔌 Usage
|
|
4249
|
+
|
|
4250
|
+
<dl>
|
|
4251
|
+
<dd>
|
|
4252
|
+
|
|
4253
|
+
<dl>
|
|
4254
|
+
<dd>
|
|
4255
|
+
|
|
4256
|
+
```typescript
|
|
4257
|
+
await client.webhooks.list();
|
|
4258
|
+
|
|
4259
|
+
```
|
|
4260
|
+
</dd>
|
|
4261
|
+
</dl>
|
|
4262
|
+
</dd>
|
|
4263
|
+
</dl>
|
|
4264
|
+
|
|
4265
|
+
#### ⚙️ Parameters
|
|
4266
|
+
|
|
4267
|
+
<dl>
|
|
4268
|
+
<dd>
|
|
4269
|
+
|
|
4270
|
+
<dl>
|
|
4271
|
+
<dd>
|
|
4272
|
+
|
|
4273
|
+
**requestOptions:** `WebhooksClient.RequestOptions`
|
|
4274
|
+
|
|
4275
|
+
</dd>
|
|
4276
|
+
</dl>
|
|
4277
|
+
</dd>
|
|
4278
|
+
</dl>
|
|
4279
|
+
|
|
4280
|
+
|
|
4281
|
+
</dd>
|
|
4282
|
+
</dl>
|
|
4283
|
+
</details>
|
|
4284
|
+
|
|
4285
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">create</a>({ ...params }) -> Rizamo.WebhookSecret</code></summary>
|
|
4286
|
+
<dl>
|
|
4287
|
+
<dd>
|
|
4288
|
+
|
|
4289
|
+
#### 📝 Description
|
|
4290
|
+
|
|
4291
|
+
<dl>
|
|
4292
|
+
<dd>
|
|
4293
|
+
|
|
4294
|
+
<dl>
|
|
4295
|
+
<dd>
|
|
4296
|
+
|
|
4297
|
+
Events from now on go to it, of the profiles the person it sends for reaches (`onBehalfOf`: the caller, or the person behind the API key or agent), and it is deleted when they leave the team. Each event goes as one POST of JSON (the event as `List events` gives it), signed with Standard Webhooks' headers (`webhook-id`, the event's id; `webhook-timestamp`; `webhook-signature`). A 2xx answer within 15 seconds is delivered; anything else is tried again 6 times over about 18 hours, and a 410 Gone disables the endpoint. After 10 failures in a row an endpoint's deliveries wait while one at a time tries it, and one that keeps failing like that with nothing delivered for 5 days is disabled; Rizamo emails the team's owners and the person it sends for. Never sent to rizamo.com or workers.dev addresses, nor to private ones. Deliveries are not in order: order one resource's events by `at`. Its signing secret is in the answer, and only there. A team has up to 20 endpoints.
|
|
4298
|
+
</dd>
|
|
4299
|
+
</dl>
|
|
4300
|
+
</dd>
|
|
4301
|
+
</dl>
|
|
4302
|
+
|
|
4303
|
+
#### 🔌 Usage
|
|
4304
|
+
|
|
4305
|
+
<dl>
|
|
4306
|
+
<dd>
|
|
4307
|
+
|
|
4308
|
+
<dl>
|
|
4309
|
+
<dd>
|
|
4310
|
+
|
|
4311
|
+
```typescript
|
|
4312
|
+
await client.webhooks.create({
|
|
4313
|
+
url: "https://hooks.cafelumen.pt/rizamo",
|
|
4314
|
+
description: "Posts to our CRM",
|
|
4315
|
+
events: ["post.published", "post.failed", "post.target.failed"]
|
|
4316
|
+
});
|
|
4317
|
+
|
|
4318
|
+
```
|
|
4319
|
+
</dd>
|
|
4320
|
+
</dl>
|
|
4321
|
+
</dd>
|
|
4322
|
+
</dl>
|
|
4323
|
+
|
|
4324
|
+
#### ⚙️ Parameters
|
|
4325
|
+
|
|
4326
|
+
<dl>
|
|
4327
|
+
<dd>
|
|
4328
|
+
|
|
4329
|
+
<dl>
|
|
4330
|
+
<dd>
|
|
4331
|
+
|
|
4332
|
+
**request:** `Rizamo.CreateWebhooksRequest`
|
|
4333
|
+
|
|
4334
|
+
</dd>
|
|
4335
|
+
</dl>
|
|
4336
|
+
|
|
4337
|
+
<dl>
|
|
4338
|
+
<dd>
|
|
4339
|
+
|
|
4340
|
+
**requestOptions:** `WebhooksClient.IdempotentRequestOptions`
|
|
4341
|
+
|
|
4342
|
+
</dd>
|
|
4343
|
+
</dl>
|
|
4344
|
+
</dd>
|
|
4345
|
+
</dl>
|
|
4346
|
+
|
|
4347
|
+
|
|
4348
|
+
</dd>
|
|
4349
|
+
</dl>
|
|
4350
|
+
</details>
|
|
4351
|
+
|
|
4352
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">delete</a>({ ...params }) -> Rizamo.DeleteWebhooksResponse</code></summary>
|
|
4353
|
+
<dl>
|
|
4354
|
+
<dd>
|
|
4355
|
+
|
|
4356
|
+
#### 📝 Description
|
|
4357
|
+
|
|
4358
|
+
<dl>
|
|
4359
|
+
<dd>
|
|
4360
|
+
|
|
4361
|
+
<dl>
|
|
4362
|
+
<dd>
|
|
4363
|
+
|
|
4364
|
+
Nothing more is sent to it, and its deliveries are deleted with it.
|
|
4365
|
+
</dd>
|
|
4366
|
+
</dl>
|
|
4367
|
+
</dd>
|
|
4368
|
+
</dl>
|
|
4369
|
+
|
|
4370
|
+
#### 🔌 Usage
|
|
4371
|
+
|
|
4372
|
+
<dl>
|
|
4373
|
+
<dd>
|
|
4374
|
+
|
|
4375
|
+
<dl>
|
|
4376
|
+
<dd>
|
|
4377
|
+
|
|
4378
|
+
```typescript
|
|
4379
|
+
await client.webhooks.delete({
|
|
4380
|
+
id: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4381
|
+
});
|
|
4382
|
+
|
|
4383
|
+
```
|
|
4384
|
+
</dd>
|
|
4385
|
+
</dl>
|
|
4386
|
+
</dd>
|
|
4387
|
+
</dl>
|
|
4388
|
+
|
|
4389
|
+
#### ⚙️ Parameters
|
|
4390
|
+
|
|
4391
|
+
<dl>
|
|
4392
|
+
<dd>
|
|
4393
|
+
|
|
4394
|
+
<dl>
|
|
4395
|
+
<dd>
|
|
4396
|
+
|
|
4397
|
+
**request:** `Rizamo.DeleteWebhooksRequest`
|
|
4398
|
+
|
|
4399
|
+
</dd>
|
|
4400
|
+
</dl>
|
|
4401
|
+
|
|
4402
|
+
<dl>
|
|
4403
|
+
<dd>
|
|
4404
|
+
|
|
4405
|
+
**requestOptions:** `WebhooksClient.RequestOptions`
|
|
4406
|
+
|
|
4407
|
+
</dd>
|
|
4408
|
+
</dl>
|
|
4409
|
+
</dd>
|
|
4410
|
+
</dl>
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
</dd>
|
|
4414
|
+
</dl>
|
|
4415
|
+
</details>
|
|
4416
|
+
|
|
4417
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">update</a>({ ...params }) -> Rizamo.WebhookEndpoint</code></summary>
|
|
4418
|
+
<dl>
|
|
4419
|
+
<dd>
|
|
4420
|
+
|
|
4421
|
+
#### 📝 Description
|
|
4422
|
+
|
|
4423
|
+
<dl>
|
|
4424
|
+
<dd>
|
|
4425
|
+
|
|
4426
|
+
<dl>
|
|
4427
|
+
<dd>
|
|
4428
|
+
|
|
4429
|
+
Changes apply to events from now on, and to deliveries still waiting for a retry: each is checked against the endpoint as it is when its turn comes. A delivery whose event the endpoint no longer takes (its new types or profiles) ends unsent, with `endpoint_changed` on its attempt; the ones it still takes go to its new `url`. A new `url` starts with a closed breaker, makes the caller (or the person behind the API key or agent) the person it sends for (so does any change to one that sends for nobody, `onBehalfOf` null), and the deliveries it had already tried or held at the old address end with `endpoint_changed` (replay them to send them to the new one). `enabled` false stops it, and its waiting deliveries end at once with `endpoint_disabled`; true starts it again for new events, also after a 410 Gone or days of failures, with its failures forgotten. What ended while it was off is not sent by itself: replay it (`Replay an endpoint's deliveries`).
|
|
4430
|
+
</dd>
|
|
4431
|
+
</dl>
|
|
4432
|
+
</dd>
|
|
4433
|
+
</dl>
|
|
4434
|
+
|
|
4435
|
+
#### 🔌 Usage
|
|
4436
|
+
|
|
4437
|
+
<dl>
|
|
4438
|
+
<dd>
|
|
4439
|
+
|
|
4440
|
+
<dl>
|
|
4441
|
+
<dd>
|
|
4442
|
+
|
|
4443
|
+
```typescript
|
|
4444
|
+
await client.webhooks.update({
|
|
4445
|
+
id: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4446
|
+
});
|
|
4447
|
+
|
|
4448
|
+
```
|
|
4449
|
+
</dd>
|
|
4450
|
+
</dl>
|
|
4451
|
+
</dd>
|
|
4452
|
+
</dl>
|
|
4453
|
+
|
|
4454
|
+
#### ⚙️ Parameters
|
|
4455
|
+
|
|
4456
|
+
<dl>
|
|
4457
|
+
<dd>
|
|
4458
|
+
|
|
4459
|
+
<dl>
|
|
4460
|
+
<dd>
|
|
4461
|
+
|
|
4462
|
+
**request:** `Rizamo.UpdateWebhooksRequest`
|
|
4463
|
+
|
|
4464
|
+
</dd>
|
|
4465
|
+
</dl>
|
|
4466
|
+
|
|
4467
|
+
<dl>
|
|
4468
|
+
<dd>
|
|
4469
|
+
|
|
4470
|
+
**requestOptions:** `WebhooksClient.RequestOptions`
|
|
4471
|
+
|
|
4472
|
+
</dd>
|
|
4473
|
+
</dl>
|
|
4474
|
+
</dd>
|
|
4475
|
+
</dl>
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
</dd>
|
|
4479
|
+
</dl>
|
|
4480
|
+
</details>
|
|
4481
|
+
|
|
4482
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">rotateSecret</a>({ ...params }) -> Rizamo.WebhookSecret</code></summary>
|
|
4483
|
+
<dl>
|
|
4484
|
+
<dd>
|
|
4485
|
+
|
|
4486
|
+
#### 📝 Description
|
|
4487
|
+
|
|
4488
|
+
<dl>
|
|
4489
|
+
<dd>
|
|
4490
|
+
|
|
4491
|
+
<dl>
|
|
4492
|
+
<dd>
|
|
4493
|
+
|
|
4494
|
+
A new signing secret, in the answer and only there. For 24 hours each delivery carries two signatures in `webhook-signature`, one with each secret, so the receiver can switch without losing any; then only the new one.
|
|
4495
|
+
</dd>
|
|
4496
|
+
</dl>
|
|
4497
|
+
</dd>
|
|
4498
|
+
</dl>
|
|
4499
|
+
|
|
4500
|
+
#### 🔌 Usage
|
|
4501
|
+
|
|
4502
|
+
<dl>
|
|
4503
|
+
<dd>
|
|
4504
|
+
|
|
4505
|
+
<dl>
|
|
4506
|
+
<dd>
|
|
4507
|
+
|
|
4508
|
+
```typescript
|
|
4509
|
+
await client.webhooks.rotateSecret({
|
|
4510
|
+
id: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4511
|
+
});
|
|
4512
|
+
|
|
4513
|
+
```
|
|
4514
|
+
</dd>
|
|
4515
|
+
</dl>
|
|
4516
|
+
</dd>
|
|
4517
|
+
</dl>
|
|
4518
|
+
|
|
4519
|
+
#### ⚙️ Parameters
|
|
4520
|
+
|
|
4521
|
+
<dl>
|
|
4522
|
+
<dd>
|
|
4523
|
+
|
|
4524
|
+
<dl>
|
|
4525
|
+
<dd>
|
|
4526
|
+
|
|
4527
|
+
**request:** `Rizamo.RotateSecretWebhooksRequest`
|
|
4528
|
+
|
|
4529
|
+
</dd>
|
|
4530
|
+
</dl>
|
|
4531
|
+
|
|
4532
|
+
<dl>
|
|
4533
|
+
<dd>
|
|
4534
|
+
|
|
4535
|
+
**requestOptions:** `WebhooksClient.IdempotentRequestOptions`
|
|
4536
|
+
|
|
4537
|
+
</dd>
|
|
4538
|
+
</dl>
|
|
4539
|
+
</dd>
|
|
4540
|
+
</dl>
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
</dd>
|
|
4544
|
+
</dl>
|
|
4545
|
+
</details>
|
|
4546
|
+
|
|
4547
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">test</a>({ ...params }) -> Rizamo.WebhookDelivery</code></summary>
|
|
4548
|
+
<dl>
|
|
4549
|
+
<dd>
|
|
4550
|
+
|
|
4551
|
+
#### 📝 Description
|
|
4552
|
+
|
|
4553
|
+
<dl>
|
|
4554
|
+
<dd>
|
|
4555
|
+
|
|
4556
|
+
<dl>
|
|
4557
|
+
<dd>
|
|
4558
|
+
|
|
4559
|
+
A delivery of type `webhook.test` sent now, signed as every delivery is, and its attempt in the answer. It is tried once, never retried, and shows in the deliveries. A disabled endpoint can be tested. A team sends up to 10 tests a minute; more answer 429.
|
|
4560
|
+
</dd>
|
|
4561
|
+
</dl>
|
|
4562
|
+
</dd>
|
|
4563
|
+
</dl>
|
|
4564
|
+
|
|
4565
|
+
#### 🔌 Usage
|
|
4566
|
+
|
|
4567
|
+
<dl>
|
|
4568
|
+
<dd>
|
|
4569
|
+
|
|
4570
|
+
<dl>
|
|
4571
|
+
<dd>
|
|
4572
|
+
|
|
4573
|
+
```typescript
|
|
4574
|
+
await client.webhooks.test({
|
|
4575
|
+
id: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4576
|
+
});
|
|
4577
|
+
|
|
4578
|
+
```
|
|
4579
|
+
</dd>
|
|
4580
|
+
</dl>
|
|
4581
|
+
</dd>
|
|
4582
|
+
</dl>
|
|
4583
|
+
|
|
4584
|
+
#### ⚙️ Parameters
|
|
4585
|
+
|
|
4586
|
+
<dl>
|
|
4587
|
+
<dd>
|
|
4588
|
+
|
|
4589
|
+
<dl>
|
|
4590
|
+
<dd>
|
|
4591
|
+
|
|
4592
|
+
**request:** `Rizamo.TestWebhooksRequest`
|
|
4593
|
+
|
|
4594
|
+
</dd>
|
|
4595
|
+
</dl>
|
|
4596
|
+
|
|
4597
|
+
<dl>
|
|
4598
|
+
<dd>
|
|
4599
|
+
|
|
4600
|
+
**requestOptions:** `WebhooksClient.IdempotentRequestOptions`
|
|
4601
|
+
|
|
4602
|
+
</dd>
|
|
4603
|
+
</dl>
|
|
4604
|
+
</dd>
|
|
4605
|
+
</dl>
|
|
4606
|
+
|
|
4607
|
+
|
|
4608
|
+
</dd>
|
|
4609
|
+
</dl>
|
|
4610
|
+
</details>
|
|
4611
|
+
|
|
4612
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">deliveries</a>({ ...params }) -> core.Page<Rizamo.WebhookDelivery, Rizamo.DeliveriesWebhooksResponse></code></summary>
|
|
4613
|
+
<dl>
|
|
4614
|
+
<dd>
|
|
4615
|
+
|
|
4616
|
+
#### 📝 Description
|
|
4617
|
+
|
|
4618
|
+
<dl>
|
|
4619
|
+
<dd>
|
|
4620
|
+
|
|
4621
|
+
<dl>
|
|
4622
|
+
<dd>
|
|
4623
|
+
|
|
4624
|
+
Each event (and test) sent to an endpoint, newest first, with every attempt, from the last 30 days. A page at a time: pass `nextCursor` as `cursor` for the next one. Only deliveries of endpoints the caller sees; someone limited to some profiles sees only their profiles' events among them, and tests. Each payload is an event as `List events` shows it, so `webhooks:read` reads what `events:read` reads: the inbox's and comment automations' deliveries only with `inbox:read` or `automations:read` too.
|
|
4625
|
+
</dd>
|
|
4626
|
+
</dl>
|
|
4627
|
+
</dd>
|
|
4628
|
+
</dl>
|
|
4629
|
+
|
|
4630
|
+
#### 🔌 Usage
|
|
4631
|
+
|
|
4632
|
+
<dl>
|
|
4633
|
+
<dd>
|
|
4634
|
+
|
|
4635
|
+
<dl>
|
|
4636
|
+
<dd>
|
|
4637
|
+
|
|
4638
|
+
```typescript
|
|
4639
|
+
const pageableResponse = await client.webhooks.deliveries({
|
|
4640
|
+
endpointId: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4641
|
+
});
|
|
4642
|
+
for await (const item of pageableResponse) {
|
|
4643
|
+
console.log(item);
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
// Or you can manually iterate page-by-page
|
|
4647
|
+
let page = await client.webhooks.deliveries({
|
|
4648
|
+
endpointId: "wh_01m4m44q00ea9a11gpjs99ddcy"
|
|
4649
|
+
});
|
|
4650
|
+
while (page.hasNextPage()) {
|
|
4651
|
+
page = await page.getNextPage();
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
// You can also access the underlying response
|
|
4655
|
+
const response = page.response;
|
|
4656
|
+
|
|
4657
|
+
```
|
|
4658
|
+
</dd>
|
|
4659
|
+
</dl>
|
|
4660
|
+
</dd>
|
|
4661
|
+
</dl>
|
|
4662
|
+
|
|
4663
|
+
#### ⚙️ Parameters
|
|
4664
|
+
|
|
4665
|
+
<dl>
|
|
4666
|
+
<dd>
|
|
4667
|
+
|
|
4668
|
+
<dl>
|
|
4669
|
+
<dd>
|
|
4670
|
+
|
|
4671
|
+
**request:** `Rizamo.DeliveriesWebhooksRequest`
|
|
4672
|
+
|
|
4673
|
+
</dd>
|
|
4674
|
+
</dl>
|
|
4675
|
+
|
|
4676
|
+
<dl>
|
|
4677
|
+
<dd>
|
|
4678
|
+
|
|
4679
|
+
**requestOptions:** `WebhooksClient.RequestOptions`
|
|
4680
|
+
|
|
4681
|
+
</dd>
|
|
4682
|
+
</dl>
|
|
4683
|
+
</dd>
|
|
4684
|
+
</dl>
|
|
4685
|
+
|
|
4686
|
+
|
|
4687
|
+
</dd>
|
|
4688
|
+
</dl>
|
|
4689
|
+
</details>
|
|
4690
|
+
|
|
4691
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">replay</a>({ ...params }) -> Rizamo.WebhookDelivery</code></summary>
|
|
4692
|
+
<dl>
|
|
4693
|
+
<dd>
|
|
4694
|
+
|
|
4695
|
+
#### 📝 Description
|
|
4696
|
+
|
|
4697
|
+
<dl>
|
|
4698
|
+
<dd>
|
|
4699
|
+
|
|
4700
|
+
<dl>
|
|
4701
|
+
<dd>
|
|
4702
|
+
|
|
4703
|
+
Sends a delivery again, once and now, through the queue: the body it sent before (made from its event when it never went), signed anew, with the same `webhook-id` (the event's id), so a receiver that has it already can skip it. One more attempt, to the endpoint's `url` as it is now, never retried; it shows among the delivery's attempts. The endpoint must still take the event (its types and profiles now) and be enabled. A delivery still waiting for a retry is refused: it goes on its own. A team replays up to 5,000 deliveries an hour, one at a time and by range together; more answer 429.
|
|
4704
|
+
</dd>
|
|
4705
|
+
</dl>
|
|
4706
|
+
</dd>
|
|
4707
|
+
</dl>
|
|
4708
|
+
|
|
4709
|
+
#### 🔌 Usage
|
|
4710
|
+
|
|
4711
|
+
<dl>
|
|
4712
|
+
<dd>
|
|
4713
|
+
|
|
4714
|
+
<dl>
|
|
4715
|
+
<dd>
|
|
4716
|
+
|
|
4717
|
+
```typescript
|
|
4718
|
+
await client.webhooks.replay({
|
|
4719
|
+
id: "whd_01m4mw5rc0ehs83dnfzc56pd0g"
|
|
4720
|
+
});
|
|
4721
|
+
|
|
4722
|
+
```
|
|
4723
|
+
</dd>
|
|
4724
|
+
</dl>
|
|
4725
|
+
</dd>
|
|
4726
|
+
</dl>
|
|
4727
|
+
|
|
4728
|
+
#### ⚙️ Parameters
|
|
4729
|
+
|
|
4730
|
+
<dl>
|
|
4731
|
+
<dd>
|
|
4732
|
+
|
|
4733
|
+
<dl>
|
|
4734
|
+
<dd>
|
|
4735
|
+
|
|
4736
|
+
**request:** `Rizamo.ReplayWebhooksRequest`
|
|
4737
|
+
|
|
4738
|
+
</dd>
|
|
4739
|
+
</dl>
|
|
4740
|
+
|
|
4741
|
+
<dl>
|
|
4742
|
+
<dd>
|
|
4743
|
+
|
|
4744
|
+
**requestOptions:** `WebhooksClient.IdempotentRequestOptions`
|
|
4745
|
+
|
|
4746
|
+
</dd>
|
|
4747
|
+
</dl>
|
|
4748
|
+
</dd>
|
|
4749
|
+
</dl>
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
</dd>
|
|
4753
|
+
</dl>
|
|
4754
|
+
</details>
|
|
4755
|
+
|
|
4756
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">replayRange</a>({ ...params }) -> Rizamo.WebhookReplay</code></summary>
|
|
4757
|
+
<dl>
|
|
4758
|
+
<dd>
|
|
4759
|
+
|
|
4760
|
+
#### 📝 Description
|
|
4761
|
+
|
|
4762
|
+
<dl>
|
|
4763
|
+
<dd>
|
|
4764
|
+
|
|
4765
|
+
<dl>
|
|
4766
|
+
<dd>
|
|
4767
|
+
|
|
4768
|
+
Sends again, once each and now, the endpoint's deliveries made between `since` and `until` (within the last 30 days): the failed ones, or every one with `status` all. Each keeps its `webhook-id` and goes to the endpoint's `url` as it is now. Deliveries the endpoint no longer takes are skipped, and those still waiting for a retry are not replayed. Up to 1,000 a call, in the order they were made, and within the team's 5,000 replays an hour (429 once none are left); `more` says the range holds more, and `nextCursor` continues after the last one this call looked at. One range at a time: a call while the endpoint's last replay is still being sent answers 409. The endpoint must be enabled.
|
|
4769
|
+
</dd>
|
|
4770
|
+
</dl>
|
|
4771
|
+
</dd>
|
|
4772
|
+
</dl>
|
|
4773
|
+
|
|
4774
|
+
#### 🔌 Usage
|
|
4775
|
+
|
|
4776
|
+
<dl>
|
|
4777
|
+
<dd>
|
|
4778
|
+
|
|
4779
|
+
<dl>
|
|
4780
|
+
<dd>
|
|
4781
|
+
|
|
4782
|
+
```typescript
|
|
4783
|
+
await client.webhooks.replayRange({
|
|
4784
|
+
id: "wh_01m4m44q00ea9a11gpjs99ddcy",
|
|
4785
|
+
since: "2026-11-06T00:00:00Z"
|
|
4786
|
+
});
|
|
4787
|
+
|
|
4788
|
+
```
|
|
4789
|
+
</dd>
|
|
4790
|
+
</dl>
|
|
4791
|
+
</dd>
|
|
4792
|
+
</dl>
|
|
4793
|
+
|
|
4794
|
+
#### ⚙️ Parameters
|
|
4795
|
+
|
|
4796
|
+
<dl>
|
|
4797
|
+
<dd>
|
|
4798
|
+
|
|
4799
|
+
<dl>
|
|
4800
|
+
<dd>
|
|
4801
|
+
|
|
4802
|
+
**request:** `Rizamo.ReplayRangeWebhooksRequest`
|
|
4803
|
+
|
|
4804
|
+
</dd>
|
|
4805
|
+
</dl>
|
|
4806
|
+
|
|
4807
|
+
<dl>
|
|
4808
|
+
<dd>
|
|
4809
|
+
|
|
4810
|
+
**requestOptions:** `WebhooksClient.IdempotentRequestOptions`
|
|
4811
|
+
|
|
4812
|
+
</dd>
|
|
4813
|
+
</dl>
|
|
4814
|
+
</dd>
|
|
4815
|
+
</dl>
|
|
4816
|
+
|
|
4817
|
+
|
|
4818
|
+
</dd>
|
|
4819
|
+
</dl>
|
|
4820
|
+
</details>
|
|
4821
|
+
|