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,85 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Rizamo from "../../../index.js";
|
|
5
|
+
export declare namespace AnalyticsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Views, reach, engagements and followers over a period, each post's numbers, and the audience.
|
|
12
|
+
*/
|
|
13
|
+
export declare class AnalyticsClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
|
|
15
|
+
constructor(options?: AnalyticsClient.Options);
|
|
16
|
+
/**
|
|
17
|
+
* The numbers of the team's accounts and of every post on them, made in Rizamo or anywhere else, for a period and the one before it: views, reach, engagements, the engagement rate of the posts published, posts published, followers, the accounts' own reach and accounts engaged, each day, each network, and the top posts. A period of `days` ends yesterday, the last complete day, as `to` does when left out. With `attribution` received (the default), views are each account's own views of each day, as its network counts them (its posts' gains where its days give none, and with `fields`), and reach and engagements what arrived on the posts in the period, on posts of any age, by the day it arrived; with publish, they are the numbers so far of the posts published in the period, by the day each went out. A number a network does not give is missing, never 0, and `notes` says why. Post numbers follow the days of the profile's time zone (pass `timeZone` for another); followers and the accounts' own numbers come by the network's days, matched by date (Meta's run on Pacific time, TikTok's on UTC). TikTok's days come 2 days late and YouTube's 3.
|
|
18
|
+
*
|
|
19
|
+
* @param {Rizamo.OverviewAnalyticsRequest} request
|
|
20
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
|
+
*
|
|
22
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
23
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
24
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
25
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
26
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
27
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
28
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
29
|
+
* @throws {@link errors.RizamoError}
|
|
30
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.analytics.overview({
|
|
34
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
35
|
+
* })
|
|
36
|
+
*/
|
|
37
|
+
overview(request?: Rizamo.OverviewAnalyticsRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<Rizamo.AnalyticsOverview>;
|
|
38
|
+
private __overview;
|
|
39
|
+
/**
|
|
40
|
+
* Every post published in the period on the team's accounts, made in Rizamo or anywhere else, deleted ones included, with its numbers so far: its lifetime totals as Rizamo last read them, every one its network gives in `metrics`, and its `details` (rates, traffic sources, viewer types, retention, viewers) where its network gives them. Sorted by views unless asked otherwise, a page at a time. Days are the profile's, and a period of `days` ends yesterday, as in Analytics overview.
|
|
41
|
+
*
|
|
42
|
+
* @param {Rizamo.PostsAnalyticsRequest} request
|
|
43
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
46
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
47
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
48
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
49
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
50
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
51
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
52
|
+
* @throws {@link errors.RizamoError}
|
|
53
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* await client.analytics.posts({
|
|
57
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
58
|
+
* })
|
|
59
|
+
*/
|
|
60
|
+
posts(request?: Rizamo.PostsAnalyticsRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<Rizamo.PostsAnalyticsResponse>;
|
|
61
|
+
private __posts;
|
|
62
|
+
/**
|
|
63
|
+
* Each account's audience as last read: its followers, and the people who engaged with its content this month, by age, gender, country and city (LinkedIn without age or gender, and by industry, job function, seniority and company size; YouTube without city), and when its followers are active, by the hour in UTC (`activeHours`), from TikTok, for accounts with advanced access or a verified business account, and 100 followers or more. Rizamo reads it once a week for Instagram, TikTok, Threads, LinkedIn and YouTube accounts (Instagram through either login). Followers come only for accounts with 100 followers or more. Instagram gives the engaged audience only when each group has more than 100 people; TikTok, Threads and LinkedIn give none; YouTube gives no followers (`followers` is null). A YouTube channel's engaged audience is its viewers this month (last month until the 8th, as YouTube's numbers come 2 to 3 days late), counted by their views. Facebook no longer gives a Page's audience, and other networks are not read yet: their accounts come with why.
|
|
64
|
+
*
|
|
65
|
+
* @param {Rizamo.AudienceAnalyticsRequest} request
|
|
66
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
69
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
70
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
71
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
72
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
73
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
74
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
75
|
+
* @throws {@link errors.RizamoError}
|
|
76
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.analytics.audience({
|
|
80
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
audience(request?: Rizamo.AudienceAnalyticsRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<Rizamo.Audience>;
|
|
84
|
+
private __audience;
|
|
85
|
+
}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.AnalyticsClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
+
const json_js_1 = require("../../../../core/json.js");
|
|
51
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
52
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
53
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
54
|
+
const Rizamo = __importStar(require("../../../index.js"));
|
|
55
|
+
/**
|
|
56
|
+
* Views, reach, engagements and followers over a period, each post's numbers, and the audience.
|
|
57
|
+
*/
|
|
58
|
+
class AnalyticsClient {
|
|
59
|
+
constructor(options = {}) {
|
|
60
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The numbers of the team's accounts and of every post on them, made in Rizamo or anywhere else, for a period and the one before it: views, reach, engagements, the engagement rate of the posts published, posts published, followers, the accounts' own reach and accounts engaged, each day, each network, and the top posts. A period of `days` ends yesterday, the last complete day, as `to` does when left out. With `attribution` received (the default), views are each account's own views of each day, as its network counts them (its posts' gains where its days give none, and with `fields`), and reach and engagements what arrived on the posts in the period, on posts of any age, by the day it arrived; with publish, they are the numbers so far of the posts published in the period, by the day each went out. A number a network does not give is missing, never 0, and `notes` says why. Post numbers follow the days of the profile's time zone (pass `timeZone` for another); followers and the accounts' own numbers come by the network's days, matched by date (Meta's run on Pacific time, TikTok's on UTC). TikTok's days come 2 days late and YouTube's 3.
|
|
64
|
+
*
|
|
65
|
+
* @param {Rizamo.OverviewAnalyticsRequest} request
|
|
66
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
69
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
70
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
71
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
72
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
73
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
74
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
75
|
+
* @throws {@link errors.RizamoError}
|
|
76
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.analytics.overview({
|
|
80
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
overview(request = {}, requestOptions) {
|
|
84
|
+
return core.HttpResponsePromise.fromPromise(this.__overview(request, requestOptions));
|
|
85
|
+
}
|
|
86
|
+
__overview() {
|
|
87
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
88
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
89
|
+
const { days, from: from_, to, profileId, timeZone, fields, attribution, interval } = request;
|
|
90
|
+
const _queryParams = {
|
|
91
|
+
days,
|
|
92
|
+
from: from_ != null ? from_ : undefined,
|
|
93
|
+
to: to != null ? to : undefined,
|
|
94
|
+
profileId,
|
|
95
|
+
timeZone,
|
|
96
|
+
fields: fields != null ? (0, json_js_1.toJson)(fields) : undefined,
|
|
97
|
+
attribution: attribution != null ? attribution : undefined,
|
|
98
|
+
interval: interval != null ? interval : undefined,
|
|
99
|
+
};
|
|
100
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
101
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
102
|
+
const _response = yield core.fetcher({
|
|
103
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.RizamoEnvironment.Production, "analytics/overview"),
|
|
104
|
+
method: "GET",
|
|
105
|
+
headers: _headers,
|
|
106
|
+
queryString: core.url
|
|
107
|
+
.queryBuilder()
|
|
108
|
+
.addMany(_queryParams)
|
|
109
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
110
|
+
.build(),
|
|
111
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
112
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
113
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
114
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
115
|
+
logging: this._options.logging,
|
|
116
|
+
});
|
|
117
|
+
if (_response.ok) {
|
|
118
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
119
|
+
}
|
|
120
|
+
if (_response.error.reason === "status-code") {
|
|
121
|
+
switch (_response.error.statusCode) {
|
|
122
|
+
case 400:
|
|
123
|
+
throw new Rizamo.BadRequestError(_response.error.body, _response.rawResponse);
|
|
124
|
+
case 401:
|
|
125
|
+
throw new Rizamo.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
126
|
+
case 403:
|
|
127
|
+
throw new Rizamo.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
128
|
+
case 404:
|
|
129
|
+
throw new Rizamo.NotFoundError(_response.error.body, _response.rawResponse);
|
|
130
|
+
case 429:
|
|
131
|
+
throw new Rizamo.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
132
|
+
case 500:
|
|
133
|
+
throw new Rizamo.InternalServerError(_response.error.body, _response.rawResponse);
|
|
134
|
+
case 503:
|
|
135
|
+
throw new Rizamo.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
136
|
+
default:
|
|
137
|
+
throw new errors.RizamoError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.body,
|
|
140
|
+
rawResponse: _response.rawResponse,
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/analytics/overview");
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Every post published in the period on the team's accounts, made in Rizamo or anywhere else, deleted ones included, with its numbers so far: its lifetime totals as Rizamo last read them, every one its network gives in `metrics`, and its `details` (rates, traffic sources, viewer types, retention, viewers) where its network gives them. Sorted by views unless asked otherwise, a page at a time. Days are the profile's, and a period of `days` ends yesterday, as in Analytics overview.
|
|
149
|
+
*
|
|
150
|
+
* @param {Rizamo.PostsAnalyticsRequest} request
|
|
151
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
154
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
155
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
156
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
157
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
158
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
159
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
160
|
+
* @throws {@link errors.RizamoError}
|
|
161
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* await client.analytics.posts({
|
|
165
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
166
|
+
* })
|
|
167
|
+
*/
|
|
168
|
+
posts(request = {}, requestOptions) {
|
|
169
|
+
return core.HttpResponsePromise.fromPromise(this.__posts(request, requestOptions));
|
|
170
|
+
}
|
|
171
|
+
__posts() {
|
|
172
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
173
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
174
|
+
const { days, from: from_, to, profileId, timeZone, fields, sort, order, limit, offset } = request;
|
|
175
|
+
const _queryParams = {
|
|
176
|
+
days,
|
|
177
|
+
from: from_ != null ? from_ : undefined,
|
|
178
|
+
to: to != null ? to : undefined,
|
|
179
|
+
profileId,
|
|
180
|
+
timeZone,
|
|
181
|
+
fields: fields != null ? (0, json_js_1.toJson)(fields) : undefined,
|
|
182
|
+
sort: sort != null ? sort : undefined,
|
|
183
|
+
order: order != null ? order : undefined,
|
|
184
|
+
limit,
|
|
185
|
+
offset,
|
|
186
|
+
};
|
|
187
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
188
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
189
|
+
const _response = yield core.fetcher({
|
|
190
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.RizamoEnvironment.Production, "analytics/posts"),
|
|
191
|
+
method: "GET",
|
|
192
|
+
headers: _headers,
|
|
193
|
+
queryString: core.url
|
|
194
|
+
.queryBuilder()
|
|
195
|
+
.addMany(_queryParams)
|
|
196
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
197
|
+
.build(),
|
|
198
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
199
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
200
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
201
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
202
|
+
logging: this._options.logging,
|
|
203
|
+
});
|
|
204
|
+
if (_response.ok) {
|
|
205
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
206
|
+
}
|
|
207
|
+
if (_response.error.reason === "status-code") {
|
|
208
|
+
switch (_response.error.statusCode) {
|
|
209
|
+
case 400:
|
|
210
|
+
throw new Rizamo.BadRequestError(_response.error.body, _response.rawResponse);
|
|
211
|
+
case 401:
|
|
212
|
+
throw new Rizamo.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
213
|
+
case 403:
|
|
214
|
+
throw new Rizamo.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
215
|
+
case 404:
|
|
216
|
+
throw new Rizamo.NotFoundError(_response.error.body, _response.rawResponse);
|
|
217
|
+
case 429:
|
|
218
|
+
throw new Rizamo.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
219
|
+
case 500:
|
|
220
|
+
throw new Rizamo.InternalServerError(_response.error.body, _response.rawResponse);
|
|
221
|
+
case 503:
|
|
222
|
+
throw new Rizamo.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
223
|
+
default:
|
|
224
|
+
throw new errors.RizamoError({
|
|
225
|
+
statusCode: _response.error.statusCode,
|
|
226
|
+
body: _response.error.body,
|
|
227
|
+
rawResponse: _response.rawResponse,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/analytics/posts");
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Each account's audience as last read: its followers, and the people who engaged with its content this month, by age, gender, country and city (LinkedIn without age or gender, and by industry, job function, seniority and company size; YouTube without city), and when its followers are active, by the hour in UTC (`activeHours`), from TikTok, for accounts with advanced access or a verified business account, and 100 followers or more. Rizamo reads it once a week for Instagram, TikTok, Threads, LinkedIn and YouTube accounts (Instagram through either login). Followers come only for accounts with 100 followers or more. Instagram gives the engaged audience only when each group has more than 100 people; TikTok, Threads and LinkedIn give none; YouTube gives no followers (`followers` is null). A YouTube channel's engaged audience is its viewers this month (last month until the 8th, as YouTube's numbers come 2 to 3 days late), counted by their views. Facebook no longer gives a Page's audience, and other networks are not read yet: their accounts come with why.
|
|
236
|
+
*
|
|
237
|
+
* @param {Rizamo.AudienceAnalyticsRequest} request
|
|
238
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
|
+
*
|
|
240
|
+
* @throws {@link Rizamo.BadRequestError}
|
|
241
|
+
* @throws {@link Rizamo.UnauthorizedError}
|
|
242
|
+
* @throws {@link Rizamo.ForbiddenError}
|
|
243
|
+
* @throws {@link Rizamo.NotFoundError}
|
|
244
|
+
* @throws {@link Rizamo.TooManyRequestsError}
|
|
245
|
+
* @throws {@link Rizamo.InternalServerError}
|
|
246
|
+
* @throws {@link Rizamo.ServiceUnavailableError}
|
|
247
|
+
* @throws {@link errors.RizamoError}
|
|
248
|
+
* @throws {@link errors.RizamoTimeoutError}
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* await client.analytics.audience({
|
|
252
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
253
|
+
* })
|
|
254
|
+
*/
|
|
255
|
+
audience(request = {}, requestOptions) {
|
|
256
|
+
return core.HttpResponsePromise.fromPromise(this.__audience(request, requestOptions));
|
|
257
|
+
}
|
|
258
|
+
__audience() {
|
|
259
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
260
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
261
|
+
const { profileId, accountId } = request;
|
|
262
|
+
const _queryParams = {
|
|
263
|
+
profileId,
|
|
264
|
+
accountId,
|
|
265
|
+
};
|
|
266
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
267
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
268
|
+
const _response = yield core.fetcher({
|
|
269
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.RizamoEnvironment.Production, "analytics/audience"),
|
|
270
|
+
method: "GET",
|
|
271
|
+
headers: _headers,
|
|
272
|
+
queryString: core.url
|
|
273
|
+
.queryBuilder()
|
|
274
|
+
.addMany(_queryParams)
|
|
275
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
276
|
+
.build(),
|
|
277
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
278
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
279
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
280
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
281
|
+
logging: this._options.logging,
|
|
282
|
+
});
|
|
283
|
+
if (_response.ok) {
|
|
284
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
285
|
+
}
|
|
286
|
+
if (_response.error.reason === "status-code") {
|
|
287
|
+
switch (_response.error.statusCode) {
|
|
288
|
+
case 400:
|
|
289
|
+
throw new Rizamo.BadRequestError(_response.error.body, _response.rawResponse);
|
|
290
|
+
case 401:
|
|
291
|
+
throw new Rizamo.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
292
|
+
case 403:
|
|
293
|
+
throw new Rizamo.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
294
|
+
case 404:
|
|
295
|
+
throw new Rizamo.NotFoundError(_response.error.body, _response.rawResponse);
|
|
296
|
+
case 429:
|
|
297
|
+
throw new Rizamo.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
298
|
+
case 500:
|
|
299
|
+
throw new Rizamo.InternalServerError(_response.error.body, _response.rawResponse);
|
|
300
|
+
case 503:
|
|
301
|
+
throw new Rizamo.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
302
|
+
default:
|
|
303
|
+
throw new errors.RizamoError({
|
|
304
|
+
statusCode: _response.error.statusCode,
|
|
305
|
+
body: _response.error.body,
|
|
306
|
+
rawResponse: _response.rawResponse,
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/analytics/audience");
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
exports.AnalyticsClient = AnalyticsClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface AudienceAnalyticsRequest {
|
|
8
|
+
/** Only this profile's (`prof_`): one brand or client, from List profiles. A profile you do not reach is refused as not found. */
|
|
9
|
+
profileId?: string;
|
|
10
|
+
/** Only this account (`acc_`). */
|
|
11
|
+
accountId?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as Rizamo from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface OverviewAnalyticsRequest {
|
|
9
|
+
/** The last this many complete days, up to yesterday in `timeZone`: today is not over, so it is left out. 30 when neither this nor `from` is given. */
|
|
10
|
+
days?: number;
|
|
11
|
+
/** Instead of `days`: the first day, such as 2026-10-01. */
|
|
12
|
+
from?: string;
|
|
13
|
+
/** With `from`: the last day, yesterday when left out (today when `from` is today). Up to 365 days in all. */
|
|
14
|
+
to?: string;
|
|
15
|
+
/** Only this profile's (`prof_`): one brand or client, from List profiles. A profile you do not reach is refused as not found. */
|
|
16
|
+
profileId?: string;
|
|
17
|
+
/** The time zone the days are in. Left out: the profile's with `profileId`; else the one every profile in reach shares, or UTC when they differ. */
|
|
18
|
+
timeZone?: string;
|
|
19
|
+
/** Only posts made in Rizamo whose custom fields have these values, for example `fields[campaign]=Winter menu`: posts made in the networks' own apps have no fields, so they are left out, and so are followers. */
|
|
20
|
+
fields?: Record<string, string>;
|
|
21
|
+
/** received (the default): what arrived in the period, on posts of any age, on the day it arrived. publish: the posts published in the period, with their numbers so far, on the day each went out. */
|
|
22
|
+
attribution?: Rizamo.OverviewAnalyticsRequestAttribution;
|
|
23
|
+
/** How `series` groups the days: day (the default), week (ISO weeks, Monday to Sunday) or month (calendar months). A week's or month's point counts its days as `kpis` counts a period's, from `date` to `to`, and the first and last can hold fewer days. Week or month keeps a long period short. */
|
|
24
|
+
interval?: Rizamo.OverviewAnalyticsRequestInterval;
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as Rizamo from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* profileId: "prof_01m40k9k80fxd8cvng8derm7g9"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface PostsAnalyticsRequest {
|
|
9
|
+
/** The last this many complete days, up to yesterday in `timeZone`: today is not over, so it is left out. 30 when neither this nor `from` is given. */
|
|
10
|
+
days?: number;
|
|
11
|
+
/** Instead of `days`: the first day, such as 2026-10-01. */
|
|
12
|
+
from?: string;
|
|
13
|
+
/** With `from`: the last day, yesterday when left out (today when `from` is today). Up to 365 days in all. */
|
|
14
|
+
to?: string;
|
|
15
|
+
/** Only this profile's (`prof_`): one brand or client, from List profiles. A profile you do not reach is refused as not found. */
|
|
16
|
+
profileId?: string;
|
|
17
|
+
/** The time zone the days are in. Left out: the profile's with `profileId`; else the one every profile in reach shares, or UTC when they differ. */
|
|
18
|
+
timeZone?: string;
|
|
19
|
+
/** Only posts made in Rizamo whose custom fields have these values, for example `fields[campaign]=Winter menu`: posts made in the networks' own apps have no fields, so they are left out, and so are followers. */
|
|
20
|
+
fields?: Record<string, string>;
|
|
21
|
+
/** What to sort by. Posts without that number (a network that does not give it, one it hides, one not read yet) come last. */
|
|
22
|
+
sort?: Rizamo.PostsAnalyticsRequestSort;
|
|
23
|
+
/** desc (the default): the highest first. asc: the lowest first. */
|
|
24
|
+
order?: Rizamo.PostsAnalyticsRequestOrder;
|
|
25
|
+
/** How many to return, up to 100: 25 when left out. */
|
|
26
|
+
limit?: number;
|
|
27
|
+
/** How many to skip: the next page starts at `offset` plus `limit`. */
|
|
28
|
+
offset?: number;
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AnalyticsClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "AnalyticsClient", { enumerable: true, get: function () { return Client_js_1.AnalyticsClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** received (the default): what arrived in the period, on posts of any age, on the day it arrived. publish: the posts published in the period, with their numbers so far, on the day each went out. */
|
|
2
|
+
export declare const OverviewAnalyticsRequestAttribution: {
|
|
3
|
+
readonly Received: "received";
|
|
4
|
+
readonly Publish: "publish";
|
|
5
|
+
};
|
|
6
|
+
export type OverviewAnalyticsRequestAttribution = (typeof OverviewAnalyticsRequestAttribution)[keyof typeof OverviewAnalyticsRequestAttribution];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OverviewAnalyticsRequestAttribution = void 0;
|
|
5
|
+
/** received (the default): what arrived in the period, on posts of any age, on the day it arrived. publish: the posts published in the period, with their numbers so far, on the day each went out. */
|
|
6
|
+
exports.OverviewAnalyticsRequestAttribution = {
|
|
7
|
+
Received: "received",
|
|
8
|
+
Publish: "publish",
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** How `series` groups the days: day (the default), week (ISO weeks, Monday to Sunday) or month (calendar months). A week's or month's point counts its days as `kpis` counts a period's, from `date` to `to`, and the first and last can hold fewer days. Week or month keeps a long period short. */
|
|
2
|
+
export declare const OverviewAnalyticsRequestInterval: {
|
|
3
|
+
readonly Day: "day";
|
|
4
|
+
readonly Week: "week";
|
|
5
|
+
readonly Month: "month";
|
|
6
|
+
};
|
|
7
|
+
export type OverviewAnalyticsRequestInterval = (typeof OverviewAnalyticsRequestInterval)[keyof typeof OverviewAnalyticsRequestInterval];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OverviewAnalyticsRequestInterval = void 0;
|
|
5
|
+
/** How `series` groups the days: day (the default), week (ISO weeks, Monday to Sunday) or month (calendar months). A week's or month's point counts its days as `kpis` counts a period's, from `date` to `to`, and the first and last can hold fewer days. Week or month keeps a long period short. */
|
|
6
|
+
exports.OverviewAnalyticsRequestInterval = {
|
|
7
|
+
Day: "day",
|
|
8
|
+
Week: "week",
|
|
9
|
+
Month: "month",
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** desc (the default): the highest first. asc: the lowest first. */
|
|
2
|
+
export declare const PostsAnalyticsRequestOrder: {
|
|
3
|
+
readonly Desc: "desc";
|
|
4
|
+
readonly Asc: "asc";
|
|
5
|
+
};
|
|
6
|
+
export type PostsAnalyticsRequestOrder = (typeof PostsAnalyticsRequestOrder)[keyof typeof PostsAnalyticsRequestOrder];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PostsAnalyticsRequestOrder = void 0;
|
|
5
|
+
/** desc (the default): the highest first. asc: the lowest first. */
|
|
6
|
+
exports.PostsAnalyticsRequestOrder = {
|
|
7
|
+
Desc: "desc",
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** What to sort by. Posts without that number (a network that does not give it, one it hides, one not read yet) come last. */
|
|
2
|
+
export declare const PostsAnalyticsRequestSort: {
|
|
3
|
+
readonly Views: "views";
|
|
4
|
+
readonly Reach: "reach";
|
|
5
|
+
readonly Engagements: "engagements";
|
|
6
|
+
readonly EngagementRate: "engagementRate";
|
|
7
|
+
readonly PublishedAt: "publishedAt";
|
|
8
|
+
};
|
|
9
|
+
export type PostsAnalyticsRequestSort = (typeof PostsAnalyticsRequestSort)[keyof typeof PostsAnalyticsRequestSort];
|