rizamo 0.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +340 -2
- package/dist/cjs/BaseClient.d.ts +57 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +71 -0
- package/dist/cjs/Client.js +158 -0
- package/dist/cjs/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/cjs/api/errors/BadGatewayError.js +54 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +7 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ConflictError.d.ts +7 -0
- package/dist/cjs/api/errors/ConflictError.js +54 -0
- package/dist/cjs/api/errors/ContentTooLargeError.d.ts +7 -0
- package/dist/cjs/api/errors/ContentTooLargeError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +7 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +7 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/NotImplementedError.d.ts +7 -0
- package/dist/cjs/api/errors/NotImplementedError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.d.ts +7 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +13 -0
- package/dist/cjs/api/errors/index.js +29 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +191 -0
- package/dist/cjs/api/resources/accounts/client/Client.js +646 -0
- package/dist/cjs/api/resources/accounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/client/index.js +17 -0
- package/dist/cjs/api/resources/accounts/client/requests/GetAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/GetAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemovalAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemovalAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemoveAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/RemoveAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/SearchMusicAccountsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/accounts/client/requests/SearchMusicAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateAccountsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/accounts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/exports.js +21 -0
- package/dist/cjs/api/resources/accounts/index.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/index.js +18 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestStatus.d.ts +7 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestStatus.js +10 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestGenre.d.ts +114 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestGenre.js +117 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.d.ts +8 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.js +11 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestType.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsRequestType.js +9 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/accounts/types/SearchMusicAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/accounts/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/accounts/types/index.js +22 -0
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +85 -0
- package/dist/cjs/api/resources/analytics/client/Client.js +314 -0
- package/dist/cjs/api/resources/analytics/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/client/index.js +17 -0
- package/dist/cjs/api/resources/analytics/client/requests/AudienceAnalyticsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/analytics/client/requests/AudienceAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/OverviewAnalyticsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/analytics/client/requests/OverviewAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/PostsAnalyticsRequest.d.ts +29 -0
- package/dist/cjs/api/resources/analytics/client/requests/PostsAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/analytics/exports.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/exports.js +21 -0
- package/dist/cjs/api/resources/analytics/index.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/index.js +18 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.d.ts +6 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.js +9 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestInterval.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/OverviewAnalyticsRequestInterval.js +10 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestOrder.d.ts +6 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestOrder.js +9 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestSort.d.ts +9 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsRequestSort.js +12 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsResponse.d.ts +10 -0
- package/dist/cjs/api/resources/analytics/types/PostsAnalyticsResponse.js +3 -0
- package/dist/cjs/api/resources/analytics/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/analytics/types/index.js +21 -0
- package/dist/cjs/api/resources/billing/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/billing/client/Client.js +123 -0
- package/dist/cjs/api/resources/billing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/client/index.js +2 -0
- package/dist/cjs/api/resources/billing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/billing/exports.js +21 -0
- package/dist/cjs/api/resources/billing/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/index.js +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/Client.d.ts +203 -0
- package/dist/cjs/api/resources/commentAutomations/client/Client.js +682 -0
- package/dist/cjs/api/resources/commentAutomations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/commentAutomations/client/index.js +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.d.ts +95 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.d.ts +82 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/commentAutomations/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/commentAutomations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commentAutomations/exports.js +21 -0
- package/dist/cjs/api/resources/commentAutomations/index.d.ts +2 -0
- package/dist/cjs/api/resources/commentAutomations/index.js +18 -0
- package/dist/cjs/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.js +9 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/ListCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.d.ts +10 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.js +13 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.js +3 -0
- package/dist/cjs/api/resources/commentAutomations/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/commentAutomations/types/index.js +21 -0
- package/dist/cjs/api/resources/connect/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/connect/client/Client.js +149 -0
- package/dist/cjs/api/resources/connect/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/client/index.js +17 -0
- package/dist/cjs/api/resources/connect/client/requests/LinkConnectRequest.d.ts +19 -0
- package/dist/cjs/api/resources/connect/client/requests/LinkConnectRequest.js +3 -0
- package/dist/cjs/api/resources/connect/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/connect/exports.d.ts +2 -0
- package/dist/cjs/api/resources/connect/exports.js +21 -0
- package/dist/cjs/api/resources/connect/index.d.ts +2 -0
- package/dist/cjs/api/resources/connect/index.js +18 -0
- package/dist/cjs/api/resources/connect/types/LinkConnectRequestNetwork.d.ts +9 -0
- package/dist/cjs/api/resources/connect/types/LinkConnectRequestNetwork.js +12 -0
- package/dist/cjs/api/resources/connect/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/connect/types/index.js +17 -0
- package/dist/cjs/api/resources/events/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/events/client/Client.js +152 -0
- package/dist/cjs/api/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/client/index.js +17 -0
- package/dist/cjs/api/resources/events/client/requests/ListEventsRequest.d.ts +21 -0
- package/dist/cjs/api/resources/events/client/requests/ListEventsRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/events/exports.d.ts +2 -0
- package/dist/cjs/api/resources/events/exports.js +21 -0
- package/dist/cjs/api/resources/events/index.d.ts +2 -0
- package/dist/cjs/api/resources/events/index.js +18 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/events/types/ListEventsResponse.js +3 -0
- package/dist/cjs/api/resources/events/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/index.js +17 -0
- package/dist/cjs/api/resources/fields/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/fields/client/Client.js +394 -0
- package/dist/cjs/api/resources/fields/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/fields/client/index.js +17 -0
- package/dist/cjs/api/resources/fields/client/requests/CreateFieldsRequest.d.ts +42 -0
- package/dist/cjs/api/resources/fields/client/requests/CreateFieldsRequest.js +21 -0
- package/dist/cjs/api/resources/fields/client/requests/DeleteFieldsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/fields/client/requests/DeleteFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/ListFieldsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/fields/client/requests/ListFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/UpdateFieldsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/fields/client/requests/UpdateFieldsRequest.js +3 -0
- package/dist/cjs/api/resources/fields/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/fields/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/fields/exports.d.ts +2 -0
- package/dist/cjs/api/resources/fields/exports.js +21 -0
- package/dist/cjs/api/resources/fields/index.d.ts +2 -0
- package/dist/cjs/api/resources/fields/index.js +18 -0
- package/dist/cjs/api/resources/fields/types/DeleteFieldsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/fields/types/DeleteFieldsResponse.js +3 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsRequestEntity.d.ts +5 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsRequestEntity.js +8 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/fields/types/ListFieldsResponse.js +3 -0
- package/dist/cjs/api/resources/fields/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/fields/types/index.js +19 -0
- package/dist/cjs/api/resources/inbox/client/Client.d.ts +252 -0
- package/dist/cjs/api/resources/inbox/client/Client.js +853 -0
- package/dist/cjs/api/resources/inbox/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/inbox/client/index.js +17 -0
- package/dist/cjs/api/resources/inbox/client/requests/DeleteCommentInboxRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inbox/client/requests/DeleteCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/GetInboxRequest.d.ts +14 -0
- package/dist/cjs/api/resources/inbox/client/requests/GetInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/HideCommentInboxRequest.d.ts +16 -0
- package/dist/cjs/api/resources/inbox/client/requests/HideCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/LikeCommentInboxRequest.d.ts +16 -0
- package/dist/cjs/api/resources/inbox/client/requests/LikeCommentInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/ListInboxRequest.d.ts +21 -0
- package/dist/cjs/api/resources/inbox/client/requests/ListInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/PostsInboxRequest.d.ts +14 -0
- package/dist/cjs/api/resources/inbox/client/requests/PostsInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/ReplyInboxRequest.d.ts +15 -0
- package/dist/cjs/api/resources/inbox/client/requests/ReplyInboxRequest.js +3 -0
- package/dist/cjs/api/resources/inbox/client/requests/UpdateInboxRequest.d.ts +25 -0
- package/dist/cjs/api/resources/inbox/client/requests/UpdateInboxRequest.js +12 -0
- package/dist/cjs/api/resources/inbox/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/inbox/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/inbox/exports.d.ts +2 -0
- package/dist/cjs/api/resources/inbox/exports.js +21 -0
- package/dist/cjs/api/resources/inbox/index.d.ts +2 -0
- package/dist/cjs/api/resources/inbox/index.js +18 -0
- package/dist/cjs/api/resources/inbox/types/DeleteCommentInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/DeleteCommentInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/GetInboxResponse.d.ts +7 -0
- package/dist/cjs/api/resources/inbox/types/GetInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestKind.d.ts +8 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestKind.js +11 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxRequestStatus.js +9 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/ListInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/MarkPostDoneInboxResponse.d.ts +4 -0
- package/dist/cjs/api/resources/inbox/types/MarkPostDoneInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/PostsInboxResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inbox/types/PostsInboxResponse.js +3 -0
- package/dist/cjs/api/resources/inbox/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/inbox/types/index.js +23 -0
- package/dist/cjs/api/resources/index.d.ts +44 -0
- package/dist/cjs/api/resources/index.js +83 -0
- package/dist/cjs/api/resources/links/client/Client.d.ts +149 -0
- package/dist/cjs/api/resources/links/client/Client.js +492 -0
- package/dist/cjs/api/resources/links/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/links/client/index.js +17 -0
- package/dist/cjs/api/resources/links/client/requests/CreateLinksRequest.d.ts +39 -0
- package/dist/cjs/api/resources/links/client/requests/CreateLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/DeleteLinksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/links/client/requests/DeleteLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/GetLinksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/links/client/requests/GetLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/ListLinksRequest.d.ts +19 -0
- package/dist/cjs/api/resources/links/client/requests/ListLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/UpdateLinksRequest.d.ts +15 -0
- package/dist/cjs/api/resources/links/client/requests/UpdateLinksRequest.js +3 -0
- package/dist/cjs/api/resources/links/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/links/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/links/exports.d.ts +2 -0
- package/dist/cjs/api/resources/links/exports.js +21 -0
- package/dist/cjs/api/resources/links/index.d.ts +2 -0
- package/dist/cjs/api/resources/links/index.js +18 -0
- package/dist/cjs/api/resources/links/types/DeleteLinksResponse.d.ts +3 -0
- package/dist/cjs/api/resources/links/types/DeleteLinksResponse.js +3 -0
- package/dist/cjs/api/resources/links/types/GetLinksResponse.d.ts +40 -0
- package/dist/cjs/api/resources/links/types/GetLinksResponse.js +14 -0
- package/dist/cjs/api/resources/links/types/ListLinksRequestSourceType.d.ts +6 -0
- package/dist/cjs/api/resources/links/types/ListLinksRequestSourceType.js +9 -0
- package/dist/cjs/api/resources/links/types/ListLinksResponse.d.ts +6 -0
- package/dist/cjs/api/resources/links/types/ListLinksResponse.js +3 -0
- package/dist/cjs/api/resources/links/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/links/types/index.js +20 -0
- package/dist/cjs/api/resources/media/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/media/client/Client.js +225 -0
- package/dist/cjs/api/resources/media/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/media/client/index.js +17 -0
- package/dist/cjs/api/resources/media/client/requests/CreateMediaRequest.d.ts +33 -0
- package/dist/cjs/api/resources/media/client/requests/CreateMediaRequest.js +16 -0
- package/dist/cjs/api/resources/media/client/requests/GetMediaRequest.d.ts +10 -0
- package/dist/cjs/api/resources/media/client/requests/GetMediaRequest.js +3 -0
- package/dist/cjs/api/resources/media/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/media/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/media/exports.d.ts +2 -0
- package/dist/cjs/api/resources/media/exports.js +21 -0
- package/dist/cjs/api/resources/media/index.d.ts +2 -0
- package/dist/cjs/api/resources/media/index.js +18 -0
- package/dist/cjs/api/resources/media/types/CreateMediaResponse.d.ts +41 -0
- package/dist/cjs/api/resources/media/types/CreateMediaResponse.js +25 -0
- package/dist/cjs/api/resources/media/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/media/types/index.js +17 -0
- package/dist/cjs/api/resources/members/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/members/client/Client.js +120 -0
- package/dist/cjs/api/resources/members/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/members/client/index.js +2 -0
- package/dist/cjs/api/resources/members/exports.d.ts +2 -0
- package/dist/cjs/api/resources/members/exports.js +21 -0
- package/dist/cjs/api/resources/members/index.d.ts +2 -0
- package/dist/cjs/api/resources/members/index.js +18 -0
- package/dist/cjs/api/resources/members/types/ListMembersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/members/types/ListMembersResponse.js +3 -0
- package/dist/cjs/api/resources/members/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/members/types/index.js +17 -0
- package/dist/cjs/api/resources/networkPosts/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/networkPosts/client/Client.js +310 -0
- package/dist/cjs/api/resources/networkPosts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/networkPosts/client/index.js +17 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.js +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/networkPosts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/networkPosts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/networkPosts/exports.js +21 -0
- package/dist/cjs/api/resources/networkPosts/index.d.ts +2 -0
- package/dist/cjs/api/resources/networkPosts/index.js +18 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.d.ts +7 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.js +10 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.d.ts +6 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.js +9 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/networkPosts/types/ListNetworkPostsResponse.js +3 -0
- package/dist/cjs/api/resources/networkPosts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/networkPosts/types/index.js +19 -0
- package/dist/cjs/api/resources/posts/client/Client.d.ts +308 -0
- package/dist/cjs/api/resources/posts/client/Client.js +940 -0
- package/dist/cjs/api/resources/posts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/posts/client/index.js +17 -0
- package/dist/cjs/api/resources/posts/client/requests/CreatePostsRequest.d.ts +93 -0
- package/dist/cjs/api/resources/posts/client/requests/CreatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.d.ts +31 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/PublishPostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/PublishPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/RestorePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/RestorePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/SharePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/SharePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/UnsharePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/UnsharePostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/UpdatePostsRequest.d.ts +80 -0
- package/dist/cjs/api/resources/posts/client/requests/UpdatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/ValidatePostsRequest.d.ts +88 -0
- package/dist/cjs/api/resources/posts/client/requests/ValidatePostsRequest.js +12 -0
- package/dist/cjs/api/resources/posts/client/requests/index.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/index.js +9 -0
- package/dist/cjs/api/resources/posts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/posts/exports.js +21 -0
- package/dist/cjs/api/resources/posts/index.d.ts +2 -0
- package/dist/cjs/api/resources/posts/index.js +18 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestDeleted.d.ts +7 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestDeleted.js +10 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestOrder.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestOrder.js +9 -0
- package/dist/cjs/api/resources/posts/types/ListPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/ListPostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/SharePostsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/posts/types/SharePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.d.ts +31 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/ValidatePostsResponse.d.ts +35 -0
- package/dist/cjs/api/resources/posts/types/ValidatePostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/index.js +22 -0
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +175 -0
- package/dist/cjs/api/resources/profiles/client/Client.js +553 -0
- package/dist/cjs/api/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/client/index.js +17 -0
- package/dist/cjs/api/resources/profiles/client/requests/CreateProfilesRequest.d.ts +15 -0
- package/dist/cjs/api/resources/profiles/client/requests/CreateProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/DeleteProfilesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/profiles/client/requests/DeleteProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/QueueProfilesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/profiles/client/requests/QueueProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/SetQueueProfilesRequest.d.ts +23 -0
- package/dist/cjs/api/resources/profiles/client/requests/SetQueueProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/UpdateProfilesRequest.d.ts +17 -0
- package/dist/cjs/api/resources/profiles/client/requests/UpdateProfilesRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/profiles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/exports.js +21 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/index.js +18 -0
- package/dist/cjs/api/resources/profiles/types/DeleteProfilesResponse.d.ts +3 -0
- package/dist/cjs/api/resources/profiles/types/DeleteProfilesResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ListProfilesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/ListProfilesResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/types/index.js +18 -0
- package/dist/cjs/api/resources/uploads/client/Client.d.ts +67 -0
- package/dist/cjs/api/resources/uploads/client/Client.js +218 -0
- package/dist/cjs/api/resources/uploads/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/uploads/client/index.js +17 -0
- package/dist/cjs/api/resources/uploads/client/requests/CreateUploadsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/uploads/client/requests/CreateUploadsRequest.js +3 -0
- package/dist/cjs/api/resources/uploads/client/requests/GetUploadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/uploads/client/requests/GetUploadsRequest.js +3 -0
- package/dist/cjs/api/resources/uploads/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/uploads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/uploads/exports.d.ts +2 -0
- package/dist/cjs/api/resources/uploads/exports.js +21 -0
- package/dist/cjs/api/resources/uploads/index.d.ts +1 -0
- package/dist/cjs/api/resources/uploads/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +246 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +809 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.ts +19 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.d.ts +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.d.ts +27 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.js +12 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ReplayWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhooksRequest.d.ts +21 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/index.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.js +11 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksResponse.d.ts +6 -0
- package/dist/cjs/api/resources/webhooks/types/DeliveriesWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +20 -0
- package/dist/cjs/api/types/Account.d.ts +31 -0
- package/dist/cjs/api/types/Account.js +13 -0
- package/dist/cjs/api/types/AccountAudience.d.ts +18 -0
- package/dist/cjs/api/types/AccountAudience.js +3 -0
- package/dist/cjs/api/types/AccountBilling.d.ts +7 -0
- package/dist/cjs/api/types/AccountBilling.js +10 -0
- package/dist/cjs/api/types/AccountRemoval.d.ts +45 -0
- package/dist/cjs/api/types/AccountRemoval.js +3 -0
- package/dist/cjs/api/types/AccountRemoved.d.ts +46 -0
- package/dist/cjs/api/types/AccountRemoved.js +3 -0
- package/dist/cjs/api/types/ActiveHours.d.ts +20 -0
- package/dist/cjs/api/types/ActiveHours.js +3 -0
- package/dist/cjs/api/types/Actor.d.ts +51 -0
- package/dist/cjs/api/types/Actor.js +23 -0
- package/dist/cjs/api/types/AnalyticsNote.d.ts +7 -0
- package/dist/cjs/api/types/AnalyticsNote.js +3 -0
- package/dist/cjs/api/types/AnalyticsOverview.d.ts +169 -0
- package/dist/cjs/api/types/AnalyticsOverview.js +12 -0
- package/dist/cjs/api/types/Audience.d.ts +5 -0
- package/dist/cjs/api/types/Audience.js +3 -0
- package/dist/cjs/api/types/AudienceBreakdowns.d.ts +17 -0
- package/dist/cjs/api/types/AudienceBreakdowns.js +3 -0
- package/dist/cjs/api/types/AudienceShare.d.ts +8 -0
- package/dist/cjs/api/types/AudienceShare.js +3 -0
- package/dist/cjs/api/types/Billing.d.ts +72 -0
- package/dist/cjs/api/types/Billing.js +31 -0
- package/dist/cjs/api/types/Capability.d.ts +13 -0
- package/dist/cjs/api/types/Capability.js +16 -0
- package/dist/cjs/api/types/ChainPart.d.ts +6 -0
- package/dist/cjs/api/types/ChainPart.js +3 -0
- package/dist/cjs/api/types/ChainPartResult.d.ts +15 -0
- package/dist/cjs/api/types/ChainPartResult.js +13 -0
- package/dist/cjs/api/types/CommentAutomation.d.ts +150 -0
- package/dist/cjs/api/types/CommentAutomation.js +35 -0
- package/dist/cjs/api/types/CommentAutomationRun.d.ts +59 -0
- package/dist/cjs/api/types/CommentAutomationRun.js +30 -0
- package/dist/cjs/api/types/CommentAutomationTest.d.ts +54 -0
- package/dist/cjs/api/types/CommentAutomationTest.js +3 -0
- package/dist/cjs/api/types/ConnectLink.d.ts +14 -0
- package/dist/cjs/api/types/ConnectLink.js +3 -0
- package/dist/cjs/api/types/Contact.d.ts +8 -0
- package/dist/cjs/api/types/Contact.js +3 -0
- package/dist/cjs/api/types/DetailsAt.d.ts +6 -0
- package/dist/cjs/api/types/DetailsAt.js +3 -0
- package/dist/cjs/api/types/Error_.d.ts +40 -0
- package/dist/cjs/api/types/Error_.js +31 -0
- package/dist/cjs/api/types/Event.d.ts +28 -0
- package/dist/cjs/api/types/Event.js +16 -0
- package/dist/cjs/api/types/EventType.d.ts +25 -0
- package/dist/cjs/api/types/EventType.js +28 -0
- package/dist/cjs/api/types/FieldDefinition.d.ts +24 -0
- package/dist/cjs/api/types/FieldDefinition.js +19 -0
- package/dist/cjs/api/types/InboxPost.d.ts +12 -0
- package/dist/cjs/api/types/InboxPost.js +3 -0
- package/dist/cjs/api/types/Kpi.d.ts +5 -0
- package/dist/cjs/api/types/Kpi.js +3 -0
- package/dist/cjs/api/types/Link.d.ts +39 -0
- package/dist/cjs/api/types/Link.js +14 -0
- package/dist/cjs/api/types/LinkStats.d.ts +22 -0
- package/dist/cjs/api/types/LinkStats.js +3 -0
- package/dist/cjs/api/types/Media.d.ts +38 -0
- package/dist/cjs/api/types/Media.js +19 -0
- package/dist/cjs/api/types/MediaChange.d.ts +21 -0
- package/dist/cjs/api/types/MediaChange.js +19 -0
- package/dist/cjs/api/types/Message.d.ts +35 -0
- package/dist/cjs/api/types/Message.js +16 -0
- package/dist/cjs/api/types/MusicTrack.d.ts +24 -0
- package/dist/cjs/api/types/MusicTrack.js +12 -0
- package/dist/cjs/api/types/Network.d.ts +12 -0
- package/dist/cjs/api/types/Network.js +15 -0
- package/dist/cjs/api/types/NetworkPost.d.ts +47 -0
- package/dist/cjs/api/types/NetworkPost.js +16 -0
- package/dist/cjs/api/types/NetworkPostTimeline.d.ts +45 -0
- package/dist/cjs/api/types/NetworkPostTimeline.js +18 -0
- package/dist/cjs/api/types/Post.d.ts +29 -0
- package/dist/cjs/api/types/Post.js +3 -0
- package/dist/cjs/api/types/PostDetails.d.ts +79 -0
- package/dist/cjs/api/types/PostDetails.js +28 -0
- package/dist/cjs/api/types/PostFormat.d.ts +13 -0
- package/dist/cjs/api/types/PostFormat.js +16 -0
- package/dist/cjs/api/types/PostMetrics.d.ts +25 -0
- package/dist/cjs/api/types/PostMetrics.js +3 -0
- package/dist/cjs/api/types/PostResult.d.ts +35 -0
- package/dist/cjs/api/types/PostResult.js +3 -0
- package/dist/cjs/api/types/PostStatus.d.ts +9 -0
- package/dist/cjs/api/types/PostStatus.js +12 -0
- package/dist/cjs/api/types/PostTarget.d.ts +64 -0
- package/dist/cjs/api/types/PostTarget.js +33 -0
- package/dist/cjs/api/types/Profile.d.ts +8 -0
- package/dist/cjs/api/types/Profile.js +3 -0
- package/dist/cjs/api/types/Queue.d.ts +30 -0
- package/dist/cjs/api/types/Queue.js +3 -0
- package/dist/cjs/api/types/QueueSlot.d.ts +17 -0
- package/dist/cjs/api/types/QueueSlot.js +16 -0
- package/dist/cjs/api/types/TargetEdit.d.ts +19 -0
- package/dist/cjs/api/types/TargetEdit.js +14 -0
- package/dist/cjs/api/types/TargetOptions.d.ts +304 -0
- package/dist/cjs/api/types/TargetOptions.js +100 -0
- package/dist/cjs/api/types/Teammate.d.ts +18 -0
- package/dist/cjs/api/types/Teammate.js +13 -0
- package/dist/cjs/api/types/Thread.d.ts +47 -0
- package/dist/cjs/api/types/Thread.js +24 -0
- package/dist/cjs/api/types/TikTokCreatorInfo.d.ts +29 -0
- package/dist/cjs/api/types/TikTokCreatorInfo.js +16 -0
- package/dist/cjs/api/types/UploadRequest.d.ts +24 -0
- package/dist/cjs/api/types/UploadRequest.js +13 -0
- package/dist/cjs/api/types/WebhookAttempt.d.ts +23 -0
- package/dist/cjs/api/types/WebhookAttempt.js +17 -0
- package/dist/cjs/api/types/WebhookDelivery.d.ts +34 -0
- package/dist/cjs/api/types/WebhookDelivery.js +14 -0
- package/dist/cjs/api/types/WebhookEndpoint.d.ts +55 -0
- package/dist/cjs/api/types/WebhookEndpoint.js +24 -0
- package/dist/cjs/api/types/WebhookEventType.d.ts +25 -0
- package/dist/cjs/api/types/WebhookEventType.js +28 -0
- package/dist/cjs/api/types/WebhookReplay.d.ts +10 -0
- package/dist/cjs/api/types/WebhookReplay.js +3 -0
- package/dist/cjs/api/types/WebhookSecret.d.ts +6 -0
- package/dist/cjs/api/types/WebhookSecret.js +3 -0
- package/dist/cjs/api/types/index.d.ts +59 -0
- package/dist/cjs/api/types/index.js +75 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +82 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +2 -0
- package/dist/cjs/core/exports.js +18 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +274 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +58 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +85 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +173 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/cjs/core/fetcher/makeRequest.js +94 -0
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +91 -0
- package/dist/cjs/core/fetcher/signals.d.ts +6 -0
- package/dist/cjs/core/fetcher/signals.js +33 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +8 -0
- package/dist/cjs/core/index.js +47 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/pagination/Page.d.ts +33 -0
- package/dist/cjs/core/pagination/Page.js +101 -0
- package/dist/cjs/core/pagination/exports.d.ts +1 -0
- package/dist/cjs/core/pagination/exports.js +2 -0
- package/dist/cjs/core/pagination/index.d.ts +1 -0
- package/dist/cjs/core/pagination/index.js +5 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +6 -0
- package/dist/cjs/core/runtime/runtime.d.ts +28 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -0
- package/dist/cjs/core/url/encodePathParam.js +27 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/core/utils/index.d.ts +1 -0
- package/dist/cjs/core/utils/index.js +5 -0
- package/dist/cjs/core/utils/setObjectProperty.d.ts +12 -0
- package/dist/cjs/core/utils/setObjectProperty.js +48 -0
- package/dist/cjs/environments.d.ts +4 -0
- package/dist/cjs/environments.js +7 -0
- package/dist/cjs/errors/RizamoError.d.ts +15 -0
- package/dist/cjs/errors/RizamoError.js +53 -0
- package/dist/cjs/errors/RizamoTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/RizamoTimeoutError.js +52 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +57 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +71 -0
- package/dist/esm/Client.mjs +121 -0
- package/dist/esm/api/errors/BadGatewayError.d.mts +7 -0
- package/dist/esm/api/errors/BadGatewayError.mjs +17 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +7 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/ConflictError.d.mts +7 -0
- package/dist/esm/api/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/errors/ContentTooLargeError.d.mts +7 -0
- package/dist/esm/api/errors/ContentTooLargeError.mjs +17 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +7 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +7 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +7 -0
- package/dist/esm/api/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/errors/NotImplementedError.d.mts +7 -0
- package/dist/esm/api/errors/NotImplementedError.mjs +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +7 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +7 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +7 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +7 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.d.mts +7 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +13 -0
- package/dist/esm/api/errors/index.mjs +13 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/accounts/client/Client.d.mts +191 -0
- package/dist/esm/api/resources/accounts/client/Client.mjs +609 -0
- package/dist/esm/api/resources/accounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/client/requests/GetAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/GetAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.d.mts +17 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RemovalAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/RemovalAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RemoveAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/RemoveAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/SearchMusicAccountsRequest.d.mts +22 -0
- package/dist/esm/api/resources/accounts/client/requests/SearchMusicAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/TiktokCreatorInfoAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateAccountsRequest.d.mts +13 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/accounts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/exports.d.mts +2 -0
- package/dist/esm/api/resources/accounts/exports.mjs +3 -0
- package/dist/esm/api/resources/accounts/index.d.mts +2 -0
- package/dist/esm/api/resources/accounts/index.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestStatus.d.mts +7 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestStatus.mjs +7 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsResponse.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestGenre.d.mts +114 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestGenre.mjs +114 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.d.mts +8 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestPeriod.mjs +8 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestType.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsRequestType.mjs +6 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/accounts/types/SearchMusicAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/index.d.mts +6 -0
- package/dist/esm/api/resources/accounts/types/index.mjs +6 -0
- package/dist/esm/api/resources/analytics/client/Client.d.mts +85 -0
- package/dist/esm/api/resources/analytics/client/Client.mjs +277 -0
- package/dist/esm/api/resources/analytics/client/index.d.mts +1 -0
- package/dist/esm/api/resources/analytics/client/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/client/requests/AudienceAnalyticsRequest.d.mts +12 -0
- package/dist/esm/api/resources/analytics/client/requests/AudienceAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/OverviewAnalyticsRequest.d.mts +25 -0
- package/dist/esm/api/resources/analytics/client/requests/OverviewAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/PostsAnalyticsRequest.d.mts +29 -0
- package/dist/esm/api/resources/analytics/client/requests/PostsAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/analytics/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/analytics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/exports.d.mts +2 -0
- package/dist/esm/api/resources/analytics/exports.mjs +3 -0
- package/dist/esm/api/resources/analytics/index.d.mts +2 -0
- package/dist/esm/api/resources/analytics/index.mjs +2 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.d.mts +6 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestAttribution.mjs +6 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestInterval.d.mts +7 -0
- package/dist/esm/api/resources/analytics/types/OverviewAnalyticsRequestInterval.mjs +7 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestOrder.d.mts +6 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestOrder.mjs +6 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestSort.d.mts +9 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsRequestSort.mjs +9 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsResponse.d.mts +10 -0
- package/dist/esm/api/resources/analytics/types/PostsAnalyticsResponse.mjs +2 -0
- package/dist/esm/api/resources/analytics/types/index.d.mts +5 -0
- package/dist/esm/api/resources/analytics/types/index.mjs +5 -0
- package/dist/esm/api/resources/billing/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/billing/client/Client.mjs +86 -0
- package/dist/esm/api/resources/billing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/exports.d.mts +2 -0
- package/dist/esm/api/resources/billing/exports.mjs +3 -0
- package/dist/esm/api/resources/billing/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/index.mjs +1 -0
- package/dist/esm/api/resources/commentAutomations/client/Client.d.mts +203 -0
- package/dist/esm/api/resources/commentAutomations/client/Client.mjs +645 -0
- package/dist/esm/api/resources/commentAutomations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/commentAutomations/client/index.mjs +1 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.d.mts +95 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/CreateCommentAutomationsRequest.mjs +15 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/DeleteCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/GetCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.d.mts +19 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/ListCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.d.mts +17 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/RunsCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.d.mts +13 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/TestCommentAutomationsRequest.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.d.mts +82 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/UpdateCommentAutomationsRequest.mjs +15 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/commentAutomations/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/exports.d.mts +2 -0
- package/dist/esm/api/resources/commentAutomations/exports.mjs +3 -0
- package/dist/esm/api/resources/commentAutomations/index.d.mts +2 -0
- package/dist/esm/api/resources/commentAutomations/index.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.d.mts +3 -0
- package/dist/esm/api/resources/commentAutomations/types/DeleteCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsResponse.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/ListCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.d.mts +10 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsRequestStatus.mjs +10 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.d.mts +6 -0
- package/dist/esm/api/resources/commentAutomations/types/RunsCommentAutomationsResponse.mjs +2 -0
- package/dist/esm/api/resources/commentAutomations/types/index.d.mts +5 -0
- package/dist/esm/api/resources/commentAutomations/types/index.mjs +5 -0
- package/dist/esm/api/resources/connect/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/connect/client/Client.mjs +112 -0
- package/dist/esm/api/resources/connect/client/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/client/index.mjs +1 -0
- package/dist/esm/api/resources/connect/client/requests/LinkConnectRequest.d.mts +19 -0
- package/dist/esm/api/resources/connect/client/requests/LinkConnectRequest.mjs +2 -0
- package/dist/esm/api/resources/connect/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/connect/exports.d.mts +2 -0
- package/dist/esm/api/resources/connect/exports.mjs +3 -0
- package/dist/esm/api/resources/connect/index.d.mts +2 -0
- package/dist/esm/api/resources/connect/index.mjs +2 -0
- package/dist/esm/api/resources/connect/types/LinkConnectRequestNetwork.d.mts +9 -0
- package/dist/esm/api/resources/connect/types/LinkConnectRequestNetwork.mjs +9 -0
- package/dist/esm/api/resources/connect/types/index.d.mts +1 -0
- package/dist/esm/api/resources/connect/types/index.mjs +1 -0
- package/dist/esm/api/resources/events/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/events/client/Client.mjs +115 -0
- package/dist/esm/api/resources/events/client/index.d.mts +1 -0
- package/dist/esm/api/resources/events/client/index.mjs +1 -0
- package/dist/esm/api/resources/events/client/requests/ListEventsRequest.d.mts +21 -0
- package/dist/esm/api/resources/events/client/requests/ListEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/events/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/events/exports.d.mts +2 -0
- package/dist/esm/api/resources/events/exports.mjs +3 -0
- package/dist/esm/api/resources/events/index.d.mts +2 -0
- package/dist/esm/api/resources/events/index.mjs +2 -0
- package/dist/esm/api/resources/events/types/ListEventsResponse.d.mts +6 -0
- package/dist/esm/api/resources/events/types/ListEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/events/types/index.d.mts +1 -0
- package/dist/esm/api/resources/events/types/index.mjs +1 -0
- package/dist/esm/api/resources/fields/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/fields/client/Client.mjs +357 -0
- package/dist/esm/api/resources/fields/client/index.d.mts +1 -0
- package/dist/esm/api/resources/fields/client/index.mjs +1 -0
- package/dist/esm/api/resources/fields/client/requests/CreateFieldsRequest.d.mts +42 -0
- package/dist/esm/api/resources/fields/client/requests/CreateFieldsRequest.mjs +18 -0
- package/dist/esm/api/resources/fields/client/requests/DeleteFieldsRequest.d.mts +10 -0
- package/dist/esm/api/resources/fields/client/requests/DeleteFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/ListFieldsRequest.d.mts +9 -0
- package/dist/esm/api/resources/fields/client/requests/ListFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/UpdateFieldsRequest.d.mts +17 -0
- package/dist/esm/api/resources/fields/client/requests/UpdateFieldsRequest.mjs +2 -0
- package/dist/esm/api/resources/fields/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/fields/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/fields/exports.d.mts +2 -0
- package/dist/esm/api/resources/fields/exports.mjs +3 -0
- package/dist/esm/api/resources/fields/index.d.mts +2 -0
- package/dist/esm/api/resources/fields/index.mjs +2 -0
- package/dist/esm/api/resources/fields/types/DeleteFieldsResponse.d.mts +3 -0
- package/dist/esm/api/resources/fields/types/DeleteFieldsResponse.mjs +2 -0
- package/dist/esm/api/resources/fields/types/ListFieldsRequestEntity.d.mts +5 -0
- package/dist/esm/api/resources/fields/types/ListFieldsRequestEntity.mjs +5 -0
- package/dist/esm/api/resources/fields/types/ListFieldsResponse.d.mts +4 -0
- package/dist/esm/api/resources/fields/types/ListFieldsResponse.mjs +2 -0
- package/dist/esm/api/resources/fields/types/index.d.mts +3 -0
- package/dist/esm/api/resources/fields/types/index.mjs +3 -0
- package/dist/esm/api/resources/inbox/client/Client.d.mts +252 -0
- package/dist/esm/api/resources/inbox/client/Client.mjs +816 -0
- package/dist/esm/api/resources/inbox/client/index.d.mts +1 -0
- package/dist/esm/api/resources/inbox/client/index.mjs +1 -0
- package/dist/esm/api/resources/inbox/client/requests/DeleteCommentInboxRequest.d.mts +13 -0
- package/dist/esm/api/resources/inbox/client/requests/DeleteCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/GetInboxRequest.d.mts +14 -0
- package/dist/esm/api/resources/inbox/client/requests/GetInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/HideCommentInboxRequest.d.mts +16 -0
- package/dist/esm/api/resources/inbox/client/requests/HideCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/LikeCommentInboxRequest.d.mts +16 -0
- package/dist/esm/api/resources/inbox/client/requests/LikeCommentInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/ListInboxRequest.d.mts +21 -0
- package/dist/esm/api/resources/inbox/client/requests/ListInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.d.mts +13 -0
- package/dist/esm/api/resources/inbox/client/requests/MarkPostDoneInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/PostsInboxRequest.d.mts +14 -0
- package/dist/esm/api/resources/inbox/client/requests/PostsInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/ReplyInboxRequest.d.mts +15 -0
- package/dist/esm/api/resources/inbox/client/requests/ReplyInboxRequest.mjs +2 -0
- package/dist/esm/api/resources/inbox/client/requests/UpdateInboxRequest.d.mts +25 -0
- package/dist/esm/api/resources/inbox/client/requests/UpdateInboxRequest.mjs +9 -0
- package/dist/esm/api/resources/inbox/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/inbox/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/inbox/exports.d.mts +2 -0
- package/dist/esm/api/resources/inbox/exports.mjs +3 -0
- package/dist/esm/api/resources/inbox/index.d.mts +2 -0
- package/dist/esm/api/resources/inbox/index.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/DeleteCommentInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/DeleteCommentInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/GetInboxResponse.d.mts +7 -0
- package/dist/esm/api/resources/inbox/types/GetInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestKind.d.mts +8 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestKind.mjs +8 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/ListInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/MarkPostDoneInboxResponse.d.mts +4 -0
- package/dist/esm/api/resources/inbox/types/MarkPostDoneInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/PostsInboxResponse.d.mts +6 -0
- package/dist/esm/api/resources/inbox/types/PostsInboxResponse.mjs +2 -0
- package/dist/esm/api/resources/inbox/types/index.d.mts +7 -0
- package/dist/esm/api/resources/inbox/types/index.mjs +7 -0
- package/dist/esm/api/resources/index.d.mts +44 -0
- package/dist/esm/api/resources/index.mjs +44 -0
- package/dist/esm/api/resources/links/client/Client.d.mts +149 -0
- package/dist/esm/api/resources/links/client/Client.mjs +455 -0
- package/dist/esm/api/resources/links/client/index.d.mts +1 -0
- package/dist/esm/api/resources/links/client/index.mjs +1 -0
- package/dist/esm/api/resources/links/client/requests/CreateLinksRequest.d.mts +39 -0
- package/dist/esm/api/resources/links/client/requests/CreateLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/DeleteLinksRequest.d.mts +10 -0
- package/dist/esm/api/resources/links/client/requests/DeleteLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/GetLinksRequest.d.mts +10 -0
- package/dist/esm/api/resources/links/client/requests/GetLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/ListLinksRequest.d.mts +19 -0
- package/dist/esm/api/resources/links/client/requests/ListLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/UpdateLinksRequest.d.mts +15 -0
- package/dist/esm/api/resources/links/client/requests/UpdateLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/links/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/links/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/links/exports.d.mts +2 -0
- package/dist/esm/api/resources/links/exports.mjs +3 -0
- package/dist/esm/api/resources/links/index.d.mts +2 -0
- package/dist/esm/api/resources/links/index.mjs +2 -0
- package/dist/esm/api/resources/links/types/DeleteLinksResponse.d.mts +3 -0
- package/dist/esm/api/resources/links/types/DeleteLinksResponse.mjs +2 -0
- package/dist/esm/api/resources/links/types/GetLinksResponse.d.mts +40 -0
- package/dist/esm/api/resources/links/types/GetLinksResponse.mjs +11 -0
- package/dist/esm/api/resources/links/types/ListLinksRequestSourceType.d.mts +6 -0
- package/dist/esm/api/resources/links/types/ListLinksRequestSourceType.mjs +6 -0
- package/dist/esm/api/resources/links/types/ListLinksResponse.d.mts +6 -0
- package/dist/esm/api/resources/links/types/ListLinksResponse.mjs +2 -0
- package/dist/esm/api/resources/links/types/index.d.mts +4 -0
- package/dist/esm/api/resources/links/types/index.mjs +4 -0
- package/dist/esm/api/resources/media/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/media/client/Client.mjs +188 -0
- package/dist/esm/api/resources/media/client/index.d.mts +1 -0
- package/dist/esm/api/resources/media/client/index.mjs +1 -0
- package/dist/esm/api/resources/media/client/requests/CreateMediaRequest.d.mts +33 -0
- package/dist/esm/api/resources/media/client/requests/CreateMediaRequest.mjs +13 -0
- package/dist/esm/api/resources/media/client/requests/GetMediaRequest.d.mts +10 -0
- package/dist/esm/api/resources/media/client/requests/GetMediaRequest.mjs +2 -0
- package/dist/esm/api/resources/media/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/media/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/media/exports.d.mts +2 -0
- package/dist/esm/api/resources/media/exports.mjs +3 -0
- package/dist/esm/api/resources/media/index.d.mts +2 -0
- package/dist/esm/api/resources/media/index.mjs +2 -0
- package/dist/esm/api/resources/media/types/CreateMediaResponse.d.mts +41 -0
- package/dist/esm/api/resources/media/types/CreateMediaResponse.mjs +22 -0
- package/dist/esm/api/resources/media/types/index.d.mts +1 -0
- package/dist/esm/api/resources/media/types/index.mjs +1 -0
- package/dist/esm/api/resources/members/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/members/client/Client.mjs +83 -0
- package/dist/esm/api/resources/members/client/index.d.mts +1 -0
- package/dist/esm/api/resources/members/client/index.mjs +1 -0
- package/dist/esm/api/resources/members/exports.d.mts +2 -0
- package/dist/esm/api/resources/members/exports.mjs +3 -0
- package/dist/esm/api/resources/members/index.d.mts +2 -0
- package/dist/esm/api/resources/members/index.mjs +2 -0
- package/dist/esm/api/resources/members/types/ListMembersResponse.d.mts +4 -0
- package/dist/esm/api/resources/members/types/ListMembersResponse.mjs +2 -0
- package/dist/esm/api/resources/members/types/index.d.mts +1 -0
- package/dist/esm/api/resources/members/types/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/networkPosts/client/Client.mjs +273 -0
- package/dist/esm/api/resources/networkPosts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/networkPosts/client/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/networkPosts/client/requests/GetNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.d.mts +27 -0
- package/dist/esm/api/resources/networkPosts/client/requests/ListNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.d.mts +12 -0
- package/dist/esm/api/resources/networkPosts/client/requests/TimelineNetworkPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/networkPosts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/networkPosts/exports.d.mts +2 -0
- package/dist/esm/api/resources/networkPosts/exports.mjs +3 -0
- package/dist/esm/api/resources/networkPosts/index.d.mts +2 -0
- package/dist/esm/api/resources/networkPosts/index.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.d.mts +7 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestDeleted.mjs +7 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.d.mts +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsRequestOrigin.mjs +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/networkPosts/types/ListNetworkPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/networkPosts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/networkPosts/types/index.mjs +3 -0
- package/dist/esm/api/resources/posts/client/Client.d.mts +308 -0
- package/dist/esm/api/resources/posts/client/Client.mjs +903 -0
- package/dist/esm/api/resources/posts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/posts/client/index.mjs +1 -0
- package/dist/esm/api/resources/posts/client/requests/CreatePostsRequest.d.mts +93 -0
- package/dist/esm/api/resources/posts/client/requests/CreatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.d.mts +31 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/PublishPostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/PublishPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/RestorePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/RestorePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/SharePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/SharePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/UnsharePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/UnsharePostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/UpdatePostsRequest.d.mts +80 -0
- package/dist/esm/api/resources/posts/client/requests/UpdatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/ValidatePostsRequest.d.mts +88 -0
- package/dist/esm/api/resources/posts/client/requests/ValidatePostsRequest.mjs +9 -0
- package/dist/esm/api/resources/posts/client/requests/index.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/index.mjs +3 -0
- package/dist/esm/api/resources/posts/exports.d.mts +2 -0
- package/dist/esm/api/resources/posts/exports.mjs +3 -0
- package/dist/esm/api/resources/posts/index.d.mts +2 -0
- package/dist/esm/api/resources/posts/index.mjs +2 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestDeleted.d.mts +7 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestDeleted.mjs +7 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestOrder.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestOrder.mjs +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/ListPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/SharePostsResponse.d.mts +5 -0
- package/dist/esm/api/resources/posts/types/SharePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.d.mts +31 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/ValidatePostsResponse.d.mts +35 -0
- package/dist/esm/api/resources/posts/types/ValidatePostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/index.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/index.mjs +6 -0
- package/dist/esm/api/resources/profiles/client/Client.d.mts +175 -0
- package/dist/esm/api/resources/profiles/client/Client.mjs +516 -0
- package/dist/esm/api/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/client/requests/CreateProfilesRequest.d.mts +15 -0
- package/dist/esm/api/resources/profiles/client/requests/CreateProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/DeleteProfilesRequest.d.mts +10 -0
- package/dist/esm/api/resources/profiles/client/requests/DeleteProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/QueueProfilesRequest.d.mts +12 -0
- package/dist/esm/api/resources/profiles/client/requests/QueueProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/SetQueueProfilesRequest.d.mts +23 -0
- package/dist/esm/api/resources/profiles/client/requests/SetQueueProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/UpdateProfilesRequest.d.mts +17 -0
- package/dist/esm/api/resources/profiles/client/requests/UpdateProfilesRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/exports.d.mts +2 -0
- package/dist/esm/api/resources/profiles/exports.mjs +3 -0
- package/dist/esm/api/resources/profiles/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/index.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/DeleteProfilesResponse.d.mts +3 -0
- package/dist/esm/api/resources/profiles/types/DeleteProfilesResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ListProfilesResponse.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/ListProfilesResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/types/index.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/Client.d.mts +67 -0
- package/dist/esm/api/resources/uploads/client/Client.mjs +181 -0
- package/dist/esm/api/resources/uploads/client/index.d.mts +1 -0
- package/dist/esm/api/resources/uploads/client/index.mjs +1 -0
- package/dist/esm/api/resources/uploads/client/requests/CreateUploadsRequest.d.mts +16 -0
- package/dist/esm/api/resources/uploads/client/requests/CreateUploadsRequest.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/requests/GetUploadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/uploads/client/requests/GetUploadsRequest.mjs +2 -0
- package/dist/esm/api/resources/uploads/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/uploads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/uploads/exports.d.mts +2 -0
- package/dist/esm/api/resources/uploads/exports.mjs +3 -0
- package/dist/esm/api/resources/uploads/index.d.mts +1 -0
- package/dist/esm/api/resources/uploads/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +246 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +772 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.mts +19 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.d.mts +17 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeliveriesWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.d.mts +27 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayRangeWebhooksRequest.mjs +9 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/ReplayWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/RotateSecretWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhooksRequest.d.mts +21 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/index.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksResponse.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksResponse.d.mts +6 -0
- package/dist/esm/api/resources/webhooks/types/DeliveriesWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +4 -0
- package/dist/esm/api/types/Account.d.mts +31 -0
- package/dist/esm/api/types/Account.mjs +10 -0
- package/dist/esm/api/types/AccountAudience.d.mts +18 -0
- package/dist/esm/api/types/AccountAudience.mjs +2 -0
- package/dist/esm/api/types/AccountBilling.d.mts +7 -0
- package/dist/esm/api/types/AccountBilling.mjs +7 -0
- package/dist/esm/api/types/AccountRemoval.d.mts +45 -0
- package/dist/esm/api/types/AccountRemoval.mjs +2 -0
- package/dist/esm/api/types/AccountRemoved.d.mts +46 -0
- package/dist/esm/api/types/AccountRemoved.mjs +2 -0
- package/dist/esm/api/types/ActiveHours.d.mts +20 -0
- package/dist/esm/api/types/ActiveHours.mjs +2 -0
- package/dist/esm/api/types/Actor.d.mts +51 -0
- package/dist/esm/api/types/Actor.mjs +20 -0
- package/dist/esm/api/types/AnalyticsNote.d.mts +7 -0
- package/dist/esm/api/types/AnalyticsNote.mjs +2 -0
- package/dist/esm/api/types/AnalyticsOverview.d.mts +169 -0
- package/dist/esm/api/types/AnalyticsOverview.mjs +9 -0
- package/dist/esm/api/types/Audience.d.mts +5 -0
- package/dist/esm/api/types/Audience.mjs +2 -0
- package/dist/esm/api/types/AudienceBreakdowns.d.mts +17 -0
- package/dist/esm/api/types/AudienceBreakdowns.mjs +2 -0
- package/dist/esm/api/types/AudienceShare.d.mts +8 -0
- package/dist/esm/api/types/AudienceShare.mjs +2 -0
- package/dist/esm/api/types/Billing.d.mts +72 -0
- package/dist/esm/api/types/Billing.mjs +28 -0
- package/dist/esm/api/types/Capability.d.mts +13 -0
- package/dist/esm/api/types/Capability.mjs +13 -0
- package/dist/esm/api/types/ChainPart.d.mts +6 -0
- package/dist/esm/api/types/ChainPart.mjs +2 -0
- package/dist/esm/api/types/ChainPartResult.d.mts +15 -0
- package/dist/esm/api/types/ChainPartResult.mjs +10 -0
- package/dist/esm/api/types/CommentAutomation.d.mts +150 -0
- package/dist/esm/api/types/CommentAutomation.mjs +32 -0
- package/dist/esm/api/types/CommentAutomationRun.d.mts +59 -0
- package/dist/esm/api/types/CommentAutomationRun.mjs +27 -0
- package/dist/esm/api/types/CommentAutomationTest.d.mts +54 -0
- package/dist/esm/api/types/CommentAutomationTest.mjs +2 -0
- package/dist/esm/api/types/ConnectLink.d.mts +14 -0
- package/dist/esm/api/types/ConnectLink.mjs +2 -0
- package/dist/esm/api/types/Contact.d.mts +8 -0
- package/dist/esm/api/types/Contact.mjs +2 -0
- package/dist/esm/api/types/DetailsAt.d.mts +6 -0
- package/dist/esm/api/types/DetailsAt.mjs +2 -0
- package/dist/esm/api/types/Error_.d.mts +40 -0
- package/dist/esm/api/types/Error_.mjs +28 -0
- package/dist/esm/api/types/Event.d.mts +28 -0
- package/dist/esm/api/types/Event.mjs +13 -0
- package/dist/esm/api/types/EventType.d.mts +25 -0
- package/dist/esm/api/types/EventType.mjs +25 -0
- package/dist/esm/api/types/FieldDefinition.d.mts +24 -0
- package/dist/esm/api/types/FieldDefinition.mjs +16 -0
- package/dist/esm/api/types/InboxPost.d.mts +12 -0
- package/dist/esm/api/types/InboxPost.mjs +2 -0
- package/dist/esm/api/types/Kpi.d.mts +5 -0
- package/dist/esm/api/types/Kpi.mjs +2 -0
- package/dist/esm/api/types/Link.d.mts +39 -0
- package/dist/esm/api/types/Link.mjs +11 -0
- package/dist/esm/api/types/LinkStats.d.mts +22 -0
- package/dist/esm/api/types/LinkStats.mjs +2 -0
- package/dist/esm/api/types/Media.d.mts +38 -0
- package/dist/esm/api/types/Media.mjs +16 -0
- package/dist/esm/api/types/MediaChange.d.mts +21 -0
- package/dist/esm/api/types/MediaChange.mjs +16 -0
- package/dist/esm/api/types/Message.d.mts +35 -0
- package/dist/esm/api/types/Message.mjs +13 -0
- package/dist/esm/api/types/MusicTrack.d.mts +24 -0
- package/dist/esm/api/types/MusicTrack.mjs +9 -0
- package/dist/esm/api/types/Network.d.mts +12 -0
- package/dist/esm/api/types/Network.mjs +12 -0
- package/dist/esm/api/types/NetworkPost.d.mts +47 -0
- package/dist/esm/api/types/NetworkPost.mjs +13 -0
- package/dist/esm/api/types/NetworkPostTimeline.d.mts +45 -0
- package/dist/esm/api/types/NetworkPostTimeline.mjs +15 -0
- package/dist/esm/api/types/Post.d.mts +29 -0
- package/dist/esm/api/types/Post.mjs +2 -0
- package/dist/esm/api/types/PostDetails.d.mts +79 -0
- package/dist/esm/api/types/PostDetails.mjs +25 -0
- package/dist/esm/api/types/PostFormat.d.mts +13 -0
- package/dist/esm/api/types/PostFormat.mjs +13 -0
- package/dist/esm/api/types/PostMetrics.d.mts +25 -0
- package/dist/esm/api/types/PostMetrics.mjs +2 -0
- package/dist/esm/api/types/PostResult.d.mts +35 -0
- package/dist/esm/api/types/PostResult.mjs +2 -0
- package/dist/esm/api/types/PostStatus.d.mts +9 -0
- package/dist/esm/api/types/PostStatus.mjs +9 -0
- package/dist/esm/api/types/PostTarget.d.mts +64 -0
- package/dist/esm/api/types/PostTarget.mjs +30 -0
- package/dist/esm/api/types/Profile.d.mts +8 -0
- package/dist/esm/api/types/Profile.mjs +2 -0
- package/dist/esm/api/types/Queue.d.mts +30 -0
- package/dist/esm/api/types/Queue.mjs +2 -0
- package/dist/esm/api/types/QueueSlot.d.mts +17 -0
- package/dist/esm/api/types/QueueSlot.mjs +13 -0
- package/dist/esm/api/types/TargetEdit.d.mts +19 -0
- package/dist/esm/api/types/TargetEdit.mjs +11 -0
- package/dist/esm/api/types/TargetOptions.d.mts +304 -0
- package/dist/esm/api/types/TargetOptions.mjs +97 -0
- package/dist/esm/api/types/Teammate.d.mts +18 -0
- package/dist/esm/api/types/Teammate.mjs +10 -0
- package/dist/esm/api/types/Thread.d.mts +47 -0
- package/dist/esm/api/types/Thread.mjs +21 -0
- package/dist/esm/api/types/TikTokCreatorInfo.d.mts +29 -0
- package/dist/esm/api/types/TikTokCreatorInfo.mjs +13 -0
- package/dist/esm/api/types/UploadRequest.d.mts +24 -0
- package/dist/esm/api/types/UploadRequest.mjs +10 -0
- package/dist/esm/api/types/WebhookAttempt.d.mts +23 -0
- package/dist/esm/api/types/WebhookAttempt.mjs +14 -0
- package/dist/esm/api/types/WebhookDelivery.d.mts +34 -0
- package/dist/esm/api/types/WebhookDelivery.mjs +11 -0
- package/dist/esm/api/types/WebhookEndpoint.d.mts +55 -0
- package/dist/esm/api/types/WebhookEndpoint.mjs +21 -0
- package/dist/esm/api/types/WebhookEventType.d.mts +25 -0
- package/dist/esm/api/types/WebhookEventType.mjs +25 -0
- package/dist/esm/api/types/WebhookReplay.d.mts +10 -0
- package/dist/esm/api/types/WebhookReplay.mjs +2 -0
- package/dist/esm/api/types/WebhookSecret.d.mts +6 -0
- package/dist/esm/api/types/WebhookSecret.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +59 -0
- package/dist/esm/api/types/index.mjs +59 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +45 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +8 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +4 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +2 -0
- package/dist/esm/core/exports.mjs +2 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +270 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +55 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +17 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +81 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +170 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +11 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +87 -0
- package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +88 -0
- package/dist/esm/core/fetcher/signals.d.mts +6 -0
- package/dist/esm/core/fetcher/signals.mjs +28 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +8 -0
- package/dist/esm/core/index.mjs +8 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/pagination/Page.d.mts +33 -0
- package/dist/esm/core/pagination/Page.mjs +97 -0
- package/dist/esm/core/pagination/exports.d.mts +1 -0
- package/dist/esm/core/pagination/exports.mjs +1 -0
- package/dist/esm/core/pagination/index.d.mts +1 -0
- package/dist/esm/core/pagination/index.mjs +1 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +28 -0
- package/dist/esm/core/runtime/runtime.mjs +172 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/encodePathParam.d.mts +3 -0
- package/dist/esm/core/url/encodePathParam.mjs +24 -0
- package/dist/esm/core/url/index.d.mts +4 -0
- package/dist/esm/core/url/index.mjs +4 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/core/url/qs.mjs +73 -0
- package/dist/esm/core/utils/index.d.mts +1 -0
- package/dist/esm/core/utils/index.mjs +1 -0
- package/dist/esm/core/utils/setObjectProperty.d.mts +12 -0
- package/dist/esm/core/utils/setObjectProperty.mjs +45 -0
- package/dist/esm/environments.d.mts +4 -0
- package/dist/esm/environments.mjs +4 -0
- package/dist/esm/errors/RizamoError.d.mts +15 -0
- package/dist/esm/errors/RizamoError.mjs +49 -0
- package/dist/esm/errors/RizamoTimeoutError.d.mts +6 -0
- package/dist/esm/errors/RizamoTimeoutError.mjs +15 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +6 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +244 -6
- package/reference.md +4821 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface CommentAutomation {
|
|
3
|
+
id: string;
|
|
4
|
+
profileId: string;
|
|
5
|
+
accountId: string;
|
|
6
|
+
network: Rizamo.Network;
|
|
7
|
+
name: string;
|
|
8
|
+
/** Paused: comments are not answered, and those that arrive meanwhile never will be. */
|
|
9
|
+
status: CommentAutomation.Status;
|
|
10
|
+
/** Why Rizamo paused it, such as a permission Meta refused or a link of the message that stopped working: fix it, then resume. Null when it is active or someone paused it. */
|
|
11
|
+
pausedReason: string | null;
|
|
12
|
+
/** Only comments on this post on the network (`List posts on the networks`). Null with `postId` null: every post of the account, new ones too. */
|
|
13
|
+
networkPostId: string | null;
|
|
14
|
+
/** Only comments on this Rizamo post, on the account: it can be scheduled, and the automation starts when it goes live there. */
|
|
15
|
+
postId: string | null;
|
|
16
|
+
/** False while its Rizamo post is not live on the account yet. */
|
|
17
|
+
armed: boolean;
|
|
18
|
+
/** Any of them triggers it. Empty: every comment. */
|
|
19
|
+
keywords: string[];
|
|
20
|
+
/** contains: the keyword anywhere, even inside a longer word. word (the default): as a whole word or phrase. exact: the whole comment is the keyword, give or take punctuation and spaces. Always in any case and with or without accents. */
|
|
21
|
+
match: CommentAutomation.Match;
|
|
22
|
+
/** A comment with any of these, as whole words, never triggers it. */
|
|
23
|
+
exclude: string[];
|
|
24
|
+
message: CommentAutomation.Message;
|
|
25
|
+
/** The Rizamo links in the message, one per web address. */
|
|
26
|
+
links: CommentAutomation.Links.Item[];
|
|
27
|
+
/** The UTM tags on every address in the message, which its Rizamo links send people to (`Get a short link` shows each address), so your analytics see the network and the automation. Null: none. */
|
|
28
|
+
utm: CommentAutomation.Utm | null;
|
|
29
|
+
/** After the private reply goes out, one of these is posted under the comment, picked at random. Empty: none. */
|
|
30
|
+
publicReplies: string[];
|
|
31
|
+
/** Marks the comment's thread done in the inbox once the private reply went out. */
|
|
32
|
+
markDone: boolean;
|
|
33
|
+
followGate: CommentAutomation.FollowGate | null;
|
|
34
|
+
/** One message per person for this automation, however many times they comment. On by default. */
|
|
35
|
+
oncePerPerson: boolean;
|
|
36
|
+
stats: CommentAutomation.Stats;
|
|
37
|
+
createdBy: Rizamo.Actor;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace CommentAutomation {
|
|
42
|
+
/** Paused: comments are not answered, and those that arrive meanwhile never will be. */
|
|
43
|
+
const Status: {
|
|
44
|
+
readonly Active: "active";
|
|
45
|
+
readonly Paused: "paused";
|
|
46
|
+
};
|
|
47
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
48
|
+
/** contains: the keyword anywhere, even inside a longer word. word (the default): as a whole word or phrase. exact: the whole comment is the keyword, give or take punctuation and spaces. Always in any case and with or without accents. */
|
|
49
|
+
const Match: {
|
|
50
|
+
readonly Contains: "contains";
|
|
51
|
+
readonly Word: "word";
|
|
52
|
+
readonly Exact: "exact";
|
|
53
|
+
};
|
|
54
|
+
type Match = (typeof Match)[keyof typeof Match];
|
|
55
|
+
interface Message {
|
|
56
|
+
/** With a link, up to 640 characters, above the button. Without, up to 1,000 bytes: Meta counts bytes, and accents and emoji take 2 to 4. Every web address in it becomes a Rizamo link that counts clicks, and counts as one (38 characters). */
|
|
57
|
+
text: string;
|
|
58
|
+
/** Behind a button under the text, as a Rizamo link that counts clicks. Null for none: the message is the text alone. */
|
|
59
|
+
link: string | null;
|
|
60
|
+
/** The button's title, up to 20 characters, such as "Get the guide". Left out: Open link on a new automation, the title it had on an update. Shown only with a link. */
|
|
61
|
+
button?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
type Links = Links.Item[];
|
|
64
|
+
namespace Links {
|
|
65
|
+
interface Item {
|
|
66
|
+
/** The address as written in the message, without the UTM tags. */
|
|
67
|
+
url: string;
|
|
68
|
+
/** What the message carries instead. The address itself until Rizamo counts clicks on it. */
|
|
69
|
+
shortUrl: string;
|
|
70
|
+
/** The Rizamo link. Null while clicks are not counted. */
|
|
71
|
+
linkId: string | null;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* UTM tags, each up to 100 characters, trimmed and URL-encoded. An empty one adds nothing.
|
|
76
|
+
*/
|
|
77
|
+
interface Utm {
|
|
78
|
+
/** `utm_source`: where visitors come from, such as instagram. */
|
|
79
|
+
source?: string | undefined;
|
|
80
|
+
/** `utm_medium`: the kind of traffic, such as social. */
|
|
81
|
+
medium?: string | undefined;
|
|
82
|
+
/** `utm_campaign`: the campaign, such as autumn-menu. */
|
|
83
|
+
campaign?: string | undefined;
|
|
84
|
+
/** `utm_term`: a keyword, mostly for paid search. */
|
|
85
|
+
term?: string | undefined;
|
|
86
|
+
/** `utm_content`: tells apart links of one campaign. */
|
|
87
|
+
content?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
interface FollowGate {
|
|
90
|
+
/** The first private reply, sent instead of the message, above the button: ask them to follow and reply, such as "Follow us, then tap below or reply LINK to get it". Up to 640 characters, sent as written. */
|
|
91
|
+
ask: string;
|
|
92
|
+
/** Sent once, above the button, when they reply without following. The next reply is checked again. Up to 640 characters, sent as written. */
|
|
93
|
+
reminder: string;
|
|
94
|
+
/** The button under the ask and the reminder, up to 20 characters: tapping it sends its title as their reply, and any reply opens the gate. Left out: I'm following on a new automation, the title it had on an update. */
|
|
95
|
+
button?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
interface Stats {
|
|
98
|
+
/** Comments that matched. */
|
|
99
|
+
triggered: number;
|
|
100
|
+
/** People who got the message with the link. */
|
|
101
|
+
sent: number;
|
|
102
|
+
/** Matched comments still on their way, and people the follow gate is waiting on. */
|
|
103
|
+
waiting: number;
|
|
104
|
+
/** Matched comments not answered: the person already got it, or the comment was too old. */
|
|
105
|
+
skipped: number;
|
|
106
|
+
failed: number;
|
|
107
|
+
/** People the follow gate waited on in vain: no reply within 7 days. triggered is sent, waiting, skipped, failed and expired added up. */
|
|
108
|
+
expired: number;
|
|
109
|
+
/** Skipped, failed and expired runs by reason, most first. */
|
|
110
|
+
failures: Stats.Failures.Item[];
|
|
111
|
+
/** Clicks on the message's Rizamo links. Null while clicks are not counted. */
|
|
112
|
+
linkClicks: number | null;
|
|
113
|
+
/** Null when the automation has no follow gate and never had runs with one. */
|
|
114
|
+
followGate: Stats.FollowGate | null;
|
|
115
|
+
/** Messages the account sent through automations in the last 24 hours, against the daily cap. */
|
|
116
|
+
sentToday: number;
|
|
117
|
+
/** Messages an account sends through automations in 24 hours at most; more wait for room, within Meta's 7 days. */
|
|
118
|
+
dailyCap: number;
|
|
119
|
+
}
|
|
120
|
+
namespace Stats {
|
|
121
|
+
type Failures = Failures.Item[];
|
|
122
|
+
namespace Failures {
|
|
123
|
+
interface Item {
|
|
124
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
125
|
+
reason: Item.Reason;
|
|
126
|
+
count: number;
|
|
127
|
+
}
|
|
128
|
+
namespace Item {
|
|
129
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
130
|
+
const Reason: {
|
|
131
|
+
readonly AlreadySent: "already_sent";
|
|
132
|
+
readonly TooOld: "too_old";
|
|
133
|
+
readonly Refused: "refused";
|
|
134
|
+
readonly Unclear: "unclear";
|
|
135
|
+
readonly Expired: "expired";
|
|
136
|
+
};
|
|
137
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
interface FollowGate {
|
|
141
|
+
/** People asked to follow and reply. */
|
|
142
|
+
asked: number;
|
|
143
|
+
/** People who replied as followers and got the message: the conversions. */
|
|
144
|
+
followed: number;
|
|
145
|
+
/** People who replied without following and got the reminder. */
|
|
146
|
+
reminded: number;
|
|
147
|
+
expired: number;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CommentAutomation = void 0;
|
|
5
|
+
var CommentAutomation;
|
|
6
|
+
(function (CommentAutomation) {
|
|
7
|
+
/** Paused: comments are not answered, and those that arrive meanwhile never will be. */
|
|
8
|
+
CommentAutomation.Status = {
|
|
9
|
+
Active: "active",
|
|
10
|
+
Paused: "paused",
|
|
11
|
+
};
|
|
12
|
+
/** contains: the keyword anywhere, even inside a longer word. word (the default): as a whole word or phrase. exact: the whole comment is the keyword, give or take punctuation and spaces. Always in any case and with or without accents. */
|
|
13
|
+
CommentAutomation.Match = {
|
|
14
|
+
Contains: "contains",
|
|
15
|
+
Word: "word",
|
|
16
|
+
Exact: "exact",
|
|
17
|
+
};
|
|
18
|
+
let Stats;
|
|
19
|
+
(function (Stats) {
|
|
20
|
+
let Failures;
|
|
21
|
+
(function (Failures) {
|
|
22
|
+
let Item;
|
|
23
|
+
(function (Item) {
|
|
24
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
25
|
+
Item.Reason = {
|
|
26
|
+
AlreadySent: "already_sent",
|
|
27
|
+
TooOld: "too_old",
|
|
28
|
+
Refused: "refused",
|
|
29
|
+
Unclear: "unclear",
|
|
30
|
+
Expired: "expired",
|
|
31
|
+
};
|
|
32
|
+
})(Item = Failures.Item || (Failures.Item = {}));
|
|
33
|
+
})(Failures = Stats.Failures || (Stats.Failures = {}));
|
|
34
|
+
})(Stats = CommentAutomation.Stats || (CommentAutomation.Stats = {}));
|
|
35
|
+
})(CommentAutomation || (exports.CommentAutomation = CommentAutomation = {}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface CommentAutomationRun {
|
|
2
|
+
id: string;
|
|
3
|
+
automationId: string;
|
|
4
|
+
/** The comment's thread in the inbox. It may be gone: deleting a thread's first comment deletes the thread (`Delete a comment`), and `Get a thread` then answers not found. */
|
|
5
|
+
threadId: string;
|
|
6
|
+
/** The inbox thread of the private conversation, once the private reply went out. */
|
|
7
|
+
conversationId: string | null;
|
|
8
|
+
/** The comment on the network. */
|
|
9
|
+
commentId: string;
|
|
10
|
+
/** The comment's text. */
|
|
11
|
+
comment: string;
|
|
12
|
+
commenter: CommentAutomationRun.Commenter;
|
|
13
|
+
commentedAt: string;
|
|
14
|
+
/** pending: going out within minutes. waiting: the follow gate asked and waits for their reply. sent: the message with the link went out. skipped, failed, expired: `reason` says why. */
|
|
15
|
+
status: CommentAutomationRun.Status;
|
|
16
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
17
|
+
reason: CommentAutomationRun.Reason | null;
|
|
18
|
+
/** What Meta answered, when it refused. */
|
|
19
|
+
error: string | null;
|
|
20
|
+
/** Where the person is in the follow gate. Null without one. */
|
|
21
|
+
followGate: CommentAutomationRun.FollowGate | null;
|
|
22
|
+
/** The public reply posted under the comment. */
|
|
23
|
+
publicReply: string | null;
|
|
24
|
+
/** When the message with the link went out. */
|
|
25
|
+
sentAt: string | null;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace CommentAutomationRun {
|
|
29
|
+
interface Commenter {
|
|
30
|
+
name: string;
|
|
31
|
+
handle: string;
|
|
32
|
+
}
|
|
33
|
+
/** pending: going out within minutes. waiting: the follow gate asked and waits for their reply. sent: the message with the link went out. skipped, failed, expired: `reason` says why. */
|
|
34
|
+
const Status: {
|
|
35
|
+
readonly Pending: "pending";
|
|
36
|
+
readonly Waiting: "waiting";
|
|
37
|
+
readonly Sent: "sent";
|
|
38
|
+
readonly Skipped: "skipped";
|
|
39
|
+
readonly Failed: "failed";
|
|
40
|
+
readonly Expired: "expired";
|
|
41
|
+
};
|
|
42
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
43
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
44
|
+
const Reason: {
|
|
45
|
+
readonly AlreadySent: "already_sent";
|
|
46
|
+
readonly TooOld: "too_old";
|
|
47
|
+
readonly Refused: "refused";
|
|
48
|
+
readonly Unclear: "unclear";
|
|
49
|
+
readonly Expired: "expired";
|
|
50
|
+
};
|
|
51
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
52
|
+
const FollowGate: {
|
|
53
|
+
readonly Asked: "asked";
|
|
54
|
+
readonly Reminded: "reminded";
|
|
55
|
+
readonly Followed: "followed";
|
|
56
|
+
readonly Expired: "expired";
|
|
57
|
+
};
|
|
58
|
+
type FollowGate = (typeof FollowGate)[keyof typeof FollowGate];
|
|
59
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CommentAutomationRun = void 0;
|
|
5
|
+
var CommentAutomationRun;
|
|
6
|
+
(function (CommentAutomationRun) {
|
|
7
|
+
/** pending: going out within minutes. waiting: the follow gate asked and waits for their reply. sent: the message with the link went out. skipped, failed, expired: `reason` says why. */
|
|
8
|
+
CommentAutomationRun.Status = {
|
|
9
|
+
Pending: "pending",
|
|
10
|
+
Waiting: "waiting",
|
|
11
|
+
Sent: "sent",
|
|
12
|
+
Skipped: "skipped",
|
|
13
|
+
Failed: "failed",
|
|
14
|
+
Expired: "expired",
|
|
15
|
+
};
|
|
16
|
+
/** already_sent: this person already got this automation's message, or may have (an unclear one). too_old: the comment was more than 7 days old when Rizamo got to it, past Meta's window. refused: Meta refused this message, such as a person who does not take messages, or a comment that already got its one private reply (another app or team with the account sent first), or would have: the comment was deleted before the message went out (skipped); the run's `error` says which. unclear: Rizamo could not tell whether it went out, so it never sends it again. expired: the follow gate got no reply within 7 days of its last message. A refused login or permission is no reason here: the automation is paused with it, and its runs wait as they were, to go out once it is resumed within the 7 days. */
|
|
17
|
+
CommentAutomationRun.Reason = {
|
|
18
|
+
AlreadySent: "already_sent",
|
|
19
|
+
TooOld: "too_old",
|
|
20
|
+
Refused: "refused",
|
|
21
|
+
Unclear: "unclear",
|
|
22
|
+
Expired: "expired",
|
|
23
|
+
};
|
|
24
|
+
CommentAutomationRun.FollowGate = {
|
|
25
|
+
Asked: "asked",
|
|
26
|
+
Reminded: "reminded",
|
|
27
|
+
Followed: "followed",
|
|
28
|
+
Expired: "expired",
|
|
29
|
+
};
|
|
30
|
+
})(CommentAutomationRun || (exports.CommentAutomationRun = CommentAutomationRun = {}));
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface CommentAutomationTest {
|
|
2
|
+
triggers: boolean;
|
|
3
|
+
/** Why it would or would not answer, in a sentence. */
|
|
4
|
+
reason: string;
|
|
5
|
+
/** The keyword that matched. */
|
|
6
|
+
keyword: string | null;
|
|
7
|
+
/** The first private reply, as it would go out: the message with its Rizamo links, or the follow gate's ask. */
|
|
8
|
+
privateReply: CommentAutomationTest.PrivateReply | null;
|
|
9
|
+
/** Follow gate: the message sent once they reply as a follower. */
|
|
10
|
+
afterFollow: CommentAutomationTest.AfterFollow | null;
|
|
11
|
+
/** Follow gate: sent once if they reply without following. */
|
|
12
|
+
reminder: CommentAutomationTest.Reminder | null;
|
|
13
|
+
/** One of these is posted under the comment, at random, after the private reply. */
|
|
14
|
+
publicReplies: string[];
|
|
15
|
+
markDone: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace CommentAutomationTest {
|
|
18
|
+
interface PrivateReply {
|
|
19
|
+
text: string;
|
|
20
|
+
/** One button inside the message, under the text. Null for text alone. */
|
|
21
|
+
button: PrivateReply.Button | null;
|
|
22
|
+
}
|
|
23
|
+
namespace PrivateReply {
|
|
24
|
+
interface Button {
|
|
25
|
+
title: string;
|
|
26
|
+
/** Where it opens: the Rizamo link, or the address while clicks are not counted. Null for the follow gate's button, whose tap sends its title as their reply. */
|
|
27
|
+
url: string | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
interface AfterFollow {
|
|
31
|
+
text: string;
|
|
32
|
+
/** One button inside the message, under the text. Null for text alone. */
|
|
33
|
+
button: AfterFollow.Button | null;
|
|
34
|
+
}
|
|
35
|
+
namespace AfterFollow {
|
|
36
|
+
interface Button {
|
|
37
|
+
title: string;
|
|
38
|
+
/** Where it opens: the Rizamo link, or the address while clicks are not counted. Null for the follow gate's button, whose tap sends its title as their reply. */
|
|
39
|
+
url: string | null;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
interface Reminder {
|
|
43
|
+
text: string;
|
|
44
|
+
/** One button inside the message, under the text. Null for text alone. */
|
|
45
|
+
button: Reminder.Button | null;
|
|
46
|
+
}
|
|
47
|
+
namespace Reminder {
|
|
48
|
+
interface Button {
|
|
49
|
+
title: string;
|
|
50
|
+
/** Where it opens: the Rizamo link, or the address while clicks are not counted. Null for the follow gate's button, whose tap sends its title as their reply. */
|
|
51
|
+
url: string | null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ConnectLink {
|
|
2
|
+
/** Send the person here within 30 minutes. It is Rizamo's address, which sends them straight on to the network; it connects accounts once. */
|
|
3
|
+
url: string;
|
|
4
|
+
/** Until when the link opens. After it, ask for another. */
|
|
5
|
+
expiresAt: string;
|
|
6
|
+
/** The profile the new accounts join. Null with `connectionId`: a login again keeps each account in its profile. */
|
|
7
|
+
profile: ConnectLink.Profile | null;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace ConnectLink {
|
|
10
|
+
interface Profile {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface Contact {
|
|
2
|
+
name: string;
|
|
3
|
+
handle: string;
|
|
4
|
+
initials: string;
|
|
5
|
+
color: string;
|
|
6
|
+
/** Their picture. On Facebook, Instagram, Threads, TikTok and LinkedIn, whose own links expire, a small copy Rizamo keeps, on Rizamo's media host: the link works for a few hours, so get the thread again for a fresh one. The network's own link elsewhere, and until the copy is made. Null when the network gives none, or its link expired with no copy. */
|
|
7
|
+
avatarUrl: string | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* When each of `details` was read, by its key. A read that does not bring a detail (TikTok stops giving them after a week with no views) leaves its last value and time, so a detail read before `metricsAt` is from an earlier read than the numbers. Null when `details` is.
|
|
3
|
+
*/
|
|
4
|
+
export type DetailsAt = {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Every error the API answers, whatever its status.
|
|
3
|
+
*/
|
|
4
|
+
export interface Error_ {
|
|
5
|
+
error: Error_.Error_;
|
|
6
|
+
/** This request's id, also in the `Request-Id` header. Send it to support when something keeps failing. */
|
|
7
|
+
requestId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace Error_ {
|
|
10
|
+
interface Error_ {
|
|
11
|
+
/** What went wrong, for your code to branch on; the Errors page lists each code with its status. Rizamo may add codes within v1: treat one you do not know by its HTTP status. */
|
|
12
|
+
code: Error_.Code;
|
|
13
|
+
/** What went wrong and what to change, for a person: it names the field at fault, and quotes a network that refused. Show it, never parse it: its words can change. */
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
namespace Error_ {
|
|
17
|
+
/** What went wrong, for your code to branch on; the Errors page lists each code with its status. Rizamo may add codes within v1: treat one you do not know by its HTTP status. */
|
|
18
|
+
const Code: {
|
|
19
|
+
readonly InvalidRequest: "invalid_request";
|
|
20
|
+
readonly Unauthorized: "unauthorized";
|
|
21
|
+
readonly Forbidden: "forbidden";
|
|
22
|
+
readonly NotFound: "not_found";
|
|
23
|
+
readonly MethodNotAllowed: "method_not_allowed";
|
|
24
|
+
readonly Conflict: "conflict";
|
|
25
|
+
readonly QueueEmpty: "queue_empty";
|
|
26
|
+
readonly QueueFull: "queue_full";
|
|
27
|
+
readonly IdempotencyKeyInUse: "idempotency_key_in_use";
|
|
28
|
+
readonly PayloadTooLarge: "payload_too_large";
|
|
29
|
+
readonly UnsupportedMediaType: "unsupported_media_type";
|
|
30
|
+
readonly CapabilityMissing: "capability_missing";
|
|
31
|
+
readonly IdempotencyKeyReused: "idempotency_key_reused";
|
|
32
|
+
readonly RateLimited: "rate_limited";
|
|
33
|
+
readonly Internal: "internal";
|
|
34
|
+
readonly NotImplemented: "not_implemented";
|
|
35
|
+
readonly BadGateway: "bad_gateway";
|
|
36
|
+
readonly Timeout: "timeout";
|
|
37
|
+
};
|
|
38
|
+
type Code = (typeof Code)[keyof typeof Code];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Error_ = void 0;
|
|
5
|
+
var Error_;
|
|
6
|
+
(function (Error_1) {
|
|
7
|
+
let Error_;
|
|
8
|
+
(function (Error_) {
|
|
9
|
+
/** What went wrong, for your code to branch on; the Errors page lists each code with its status. Rizamo may add codes within v1: treat one you do not know by its HTTP status. */
|
|
10
|
+
Error_.Code = {
|
|
11
|
+
InvalidRequest: "invalid_request",
|
|
12
|
+
Unauthorized: "unauthorized",
|
|
13
|
+
Forbidden: "forbidden",
|
|
14
|
+
NotFound: "not_found",
|
|
15
|
+
MethodNotAllowed: "method_not_allowed",
|
|
16
|
+
Conflict: "conflict",
|
|
17
|
+
QueueEmpty: "queue_empty",
|
|
18
|
+
QueueFull: "queue_full",
|
|
19
|
+
IdempotencyKeyInUse: "idempotency_key_in_use",
|
|
20
|
+
PayloadTooLarge: "payload_too_large",
|
|
21
|
+
UnsupportedMediaType: "unsupported_media_type",
|
|
22
|
+
CapabilityMissing: "capability_missing",
|
|
23
|
+
IdempotencyKeyReused: "idempotency_key_reused",
|
|
24
|
+
RateLimited: "rate_limited",
|
|
25
|
+
Internal: "internal",
|
|
26
|
+
NotImplemented: "not_implemented",
|
|
27
|
+
BadGateway: "bad_gateway",
|
|
28
|
+
Timeout: "timeout",
|
|
29
|
+
};
|
|
30
|
+
})(Error_ = Error_1.Error_ || (Error_1.Error_ = {}));
|
|
31
|
+
})(Error_ || (exports.Error_ = Error_ = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface Event {
|
|
3
|
+
id: string;
|
|
4
|
+
type: Rizamo.EventType;
|
|
5
|
+
at: string;
|
|
6
|
+
/** Who did it: a person, an API key, an agent or an automation. Null when Rizamo did it on its own, such as publishing at the scheduled time or a network refusing an account's login. */
|
|
7
|
+
actor: Rizamo.Actor | null;
|
|
8
|
+
/** What happened, in one line for a person: a post is named by its caption. */
|
|
9
|
+
summary: string;
|
|
10
|
+
resource: Event.Resource;
|
|
11
|
+
/** The facts of the change, by type. `post.created`: `status`, `scheduledAt`, `targets` (`accountId`, `network`, `format`). `post.updated`: `changed` (`text`, `media`, `targets`, `scheduledAt`, `fields.<key>`), with the new `scheduledAt` and `fields` values that changed. `post.scheduled`: `scheduledAt`, `queued` when it took its time from the profile's queue, and `now` when it was sent to publish at once. `post.updated` carries `queued` with a new `scheduledAt`, or when only that changed. `post.unscheduled`: `status`. `post.deleted`: `stillLive`, the targets Rizamo does not take off their network. `post.restored`: `status`. Removing an account (ADR 0048): a post that went to it alone gets `post.deleted` with `accountRemoved` (`accountId`, `network`), its live targets in `stillLive`; a post with other accounts that lost the account's part that never went out gets `post.updated` with `changed: ["targets"]`, `accountRemoved`, and `status` when that changed it (the old one in `previous`). `post.published` and `post.failed`: `status`, `published` targets (`accountId`, `network`, `format`, `url`) and the others (with `error`, and `status`: `failed`, or `unknown` when it may have gone out and a person must check the network before publishing again). `post.target.*`: `accountId`, `network`, `format`; `url` and `networkPostId` when published, `error` and `status` (`failed`, or `unknown` when a person must check the network) when failed. A chain's (posts after the first, as replies) carry `part` and `of`, the part counted after the first post and how many there are: `post.target.published` once its last part is live, `post.target.failed` for the part that stopped it, while the target stays published. `comment.received` and `message.received`: a comment, a reply under one, or a message to the account from someone else, once, when Rizamo first stores it (never the account's own, never one stored before, never one written more than 72 hours before Rizamo found it, such as the history read when an account connects): `threadId`, `messageId`, `kind` (`comment` or `dm`), `network`, `accountId`, `networkPostId` and `postId` (the post it is on, when Rizamo knows it), `author` (`name`, `handle`; LinkedIn gives no handle, and a LinkedIn commenter Rizamo could not name is "LinkedIn member"), `text`, and for comments `reply` (under another comment) and `hidden`. `message.sent`: a reply sent from Rizamo, by a person, an API key, an agent or a comment automation (`actor`), once it is on the network (a Threads, LinkedIn or YouTube reply when it went out, not when it was asked for): the same ids, `kind` and `network`, `to` (the thread's person, `name` and `handle`, named as `author` is, or null under the account's own comment) and `text`. `comment_automation.sent` and `comment_automation.failed`: a run, by its automation (`actor`): `automationId`, `runId`, `accountId`, `network`, `threadId` (the comment's), `conversationId` (the private conversation, once there is one), `commenter` (`name`, `handle`) and `comment` (its text); `followGate` (`followed`) when it went out after the person followed; `reason` (`refused`, `unclear`) and `error` when it failed. `comment_automation.paused`: `automationId`, `name`, `accountId`, `network`, and `pausedReason`, why Rizamo paused it (null when a person did). Removing an account deletes its inbox and automation events, as it deletes its comments and messages; connecting it again reads its recent ones again, so those of the last hours come again as new events. A comment removed on its network takes its events, and the automation events that quote it. Events stay in the profile they happened in when an account moves. A key or agent reads the inbox's and automations' events only with `inbox:read` or `automations:read` too. `account.*`: `network`, `handle`; `reconnected` or `healed` when connected again; `profileId` when moved. `account.disconnected`: the account is still in the team and lost its login; `reason` says why (`needs_login`, `facebook_action_needed`, `permission_missing`, `account_gone`), and a new login brings it back with its posts. `account.removed`: the account left the team; `reason` says how. `removed_by_team`: a person, API key or agent removed it (`actor`), with `posts`, what happened to the posts that used it (as `Remove an account` answers). `data_deletion`: its network asked Rizamo to delete its data (`dataDeletion`, no `handle`), and its other events are deleted. Events from before 5 November 2026 have no `reason` on `account.removed`. */
|
|
12
|
+
data: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace Event {
|
|
15
|
+
interface Resource {
|
|
16
|
+
type: Resource.Type;
|
|
17
|
+
id: string;
|
|
18
|
+
}
|
|
19
|
+
namespace Resource {
|
|
20
|
+
const Type: {
|
|
21
|
+
readonly Post: "post";
|
|
22
|
+
readonly Thread: "thread";
|
|
23
|
+
readonly Account: "account";
|
|
24
|
+
readonly CommentAutomation: "comment_automation";
|
|
25
|
+
};
|
|
26
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Event = void 0;
|
|
5
|
+
var Event;
|
|
6
|
+
(function (Event) {
|
|
7
|
+
let Resource;
|
|
8
|
+
(function (Resource) {
|
|
9
|
+
Resource.Type = {
|
|
10
|
+
Post: "post",
|
|
11
|
+
Thread: "thread",
|
|
12
|
+
Account: "account",
|
|
13
|
+
CommentAutomation: "comment_automation",
|
|
14
|
+
};
|
|
15
|
+
})(Resource = Event.Resource || (Event.Resource = {}));
|
|
16
|
+
})(Event || (exports.Event = Event = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const EventType: {
|
|
2
|
+
readonly PostCreated: "post.created";
|
|
3
|
+
readonly PostUpdated: "post.updated";
|
|
4
|
+
readonly PostScheduled: "post.scheduled";
|
|
5
|
+
readonly PostUnscheduled: "post.unscheduled";
|
|
6
|
+
readonly PostPublished: "post.published";
|
|
7
|
+
readonly PostFailed: "post.failed";
|
|
8
|
+
readonly PostDeleted: "post.deleted";
|
|
9
|
+
readonly PostRestored: "post.restored";
|
|
10
|
+
readonly PostTargetPublished: "post.target.published";
|
|
11
|
+
readonly PostTargetFailed: "post.target.failed";
|
|
12
|
+
readonly PostTargetUpdated: "post.target.updated";
|
|
13
|
+
readonly PostTargetDeleted: "post.target.deleted";
|
|
14
|
+
readonly CommentReceived: "comment.received";
|
|
15
|
+
readonly MessageReceived: "message.received";
|
|
16
|
+
readonly MessageSent: "message.sent";
|
|
17
|
+
readonly CommentAutomationSent: "comment_automation.sent";
|
|
18
|
+
readonly CommentAutomationFailed: "comment_automation.failed";
|
|
19
|
+
readonly CommentAutomationPaused: "comment_automation.paused";
|
|
20
|
+
readonly AccountConnected: "account.connected";
|
|
21
|
+
readonly AccountDisconnected: "account.disconnected";
|
|
22
|
+
readonly AccountUpdated: "account.updated";
|
|
23
|
+
readonly AccountRemoved: "account.removed";
|
|
24
|
+
};
|
|
25
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EventType = void 0;
|
|
5
|
+
exports.EventType = {
|
|
6
|
+
PostCreated: "post.created",
|
|
7
|
+
PostUpdated: "post.updated",
|
|
8
|
+
PostScheduled: "post.scheduled",
|
|
9
|
+
PostUnscheduled: "post.unscheduled",
|
|
10
|
+
PostPublished: "post.published",
|
|
11
|
+
PostFailed: "post.failed",
|
|
12
|
+
PostDeleted: "post.deleted",
|
|
13
|
+
PostRestored: "post.restored",
|
|
14
|
+
PostTargetPublished: "post.target.published",
|
|
15
|
+
PostTargetFailed: "post.target.failed",
|
|
16
|
+
PostTargetUpdated: "post.target.updated",
|
|
17
|
+
PostTargetDeleted: "post.target.deleted",
|
|
18
|
+
CommentReceived: "comment.received",
|
|
19
|
+
MessageReceived: "message.received",
|
|
20
|
+
MessageSent: "message.sent",
|
|
21
|
+
CommentAutomationSent: "comment_automation.sent",
|
|
22
|
+
CommentAutomationFailed: "comment_automation.failed",
|
|
23
|
+
CommentAutomationPaused: "comment_automation.paused",
|
|
24
|
+
AccountConnected: "account.connected",
|
|
25
|
+
AccountDisconnected: "account.disconnected",
|
|
26
|
+
AccountUpdated: "account.updated",
|
|
27
|
+
AccountRemoved: "account.removed",
|
|
28
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface FieldDefinition {
|
|
2
|
+
key: string;
|
|
3
|
+
entity: FieldDefinition.Entity;
|
|
4
|
+
label: string;
|
|
5
|
+
type: FieldDefinition.Type;
|
|
6
|
+
options?: string[] | undefined;
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace FieldDefinition {
|
|
10
|
+
const Entity: {
|
|
11
|
+
readonly Post: "post";
|
|
12
|
+
};
|
|
13
|
+
type Entity = (typeof Entity)[keyof typeof Entity];
|
|
14
|
+
const Type: {
|
|
15
|
+
readonly Text: "text";
|
|
16
|
+
readonly Select: "select";
|
|
17
|
+
readonly MultiSelect: "multi_select";
|
|
18
|
+
readonly Number: "number";
|
|
19
|
+
readonly Url: "url";
|
|
20
|
+
readonly Date: "date";
|
|
21
|
+
readonly Checkbox: "checkbox";
|
|
22
|
+
};
|
|
23
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FieldDefinition = void 0;
|
|
5
|
+
var FieldDefinition;
|
|
6
|
+
(function (FieldDefinition) {
|
|
7
|
+
FieldDefinition.Entity = {
|
|
8
|
+
Post: "post",
|
|
9
|
+
};
|
|
10
|
+
FieldDefinition.Type = {
|
|
11
|
+
Text: "text",
|
|
12
|
+
Select: "select",
|
|
13
|
+
MultiSelect: "multi_select",
|
|
14
|
+
Number: "number",
|
|
15
|
+
Url: "url",
|
|
16
|
+
Date: "date",
|
|
17
|
+
Checkbox: "checkbox",
|
|
18
|
+
};
|
|
19
|
+
})(FieldDefinition || (exports.FieldDefinition = FieldDefinition = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Rizamo from "../index.js";
|
|
2
|
+
export interface InboxPost {
|
|
3
|
+
post: Rizamo.NetworkPost;
|
|
4
|
+
/** Its comment threads: one per first comment, with the replies under it. */
|
|
5
|
+
threads: number;
|
|
6
|
+
/** Threads still open. */
|
|
7
|
+
open: number;
|
|
8
|
+
/** Threads with something nobody has read yet. */
|
|
9
|
+
unread: number;
|
|
10
|
+
/** The newest comment or reply on it. */
|
|
11
|
+
lastMessageAt: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface Kpi {
|
|
2
|
+
value?: number | undefined;
|
|
3
|
+
/** The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back. */
|
|
4
|
+
previous?: number | undefined;
|
|
5
|
+
}
|