@connectedxm/client 4.0.0 → 4.0.1
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/dist/index.d.ts +1 -5
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1104,11 +1104,9 @@ interface BaseContent {
|
|
|
1104
1104
|
duration: string | null;
|
|
1105
1105
|
channel: BaseChannel;
|
|
1106
1106
|
published: string | null;
|
|
1107
|
-
visible: boolean;
|
|
1108
1107
|
}
|
|
1109
1108
|
interface Content extends BaseContent {
|
|
1110
1109
|
body: string | null;
|
|
1111
|
-
editor: string | null;
|
|
1112
1110
|
externalUrl: string | null;
|
|
1113
1111
|
appleUrl: string | null;
|
|
1114
1112
|
spotifyUrl: string | null;
|
|
@@ -4119,9 +4117,8 @@ interface SetContentPublishScheduleParams extends MutationParams {
|
|
|
4119
4117
|
date: string;
|
|
4120
4118
|
email?: boolean;
|
|
4121
4119
|
push?: boolean;
|
|
4122
|
-
visible?: boolean;
|
|
4123
4120
|
}
|
|
4124
|
-
declare const SetContentPublishSchedule: ({ channelId, contentId, date, email, push,
|
|
4121
|
+
declare const SetContentPublishSchedule: ({ channelId, contentId, date, email, push, clientApiParams, }: SetContentPublishScheduleParams) => Promise<ConnectedXMResponse<Content>>;
|
|
4125
4122
|
declare const useSetContentPublishSchedule: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof SetContentPublishSchedule>>, Omit<SetContentPublishScheduleParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Content>, axios.AxiosError<ConnectedXMResponse<Content>, any>, Omit<SetContentPublishScheduleParams, "queryClient" | "clientApiParams">, unknown>;
|
|
4126
4123
|
|
|
4127
4124
|
interface UnlikeContentParams extends MutationParams {
|
|
@@ -4136,7 +4133,6 @@ interface UpdateChannelContentPayload {
|
|
|
4136
4133
|
description?: string | null;
|
|
4137
4134
|
duration?: string | null;
|
|
4138
4135
|
body?: string | null;
|
|
4139
|
-
editor?: string | null;
|
|
4140
4136
|
externalUrl?: string | null;
|
|
4141
4137
|
appleUrl?: string | null;
|
|
4142
4138
|
spotifyUrl?: string | null;
|
package/dist/index.js
CHANGED
|
@@ -8646,7 +8646,6 @@ var SetContentPublishSchedule = async ({
|
|
|
8646
8646
|
date,
|
|
8647
8647
|
email,
|
|
8648
8648
|
push,
|
|
8649
|
-
visible,
|
|
8650
8649
|
clientApiParams
|
|
8651
8650
|
}) => {
|
|
8652
8651
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
@@ -8655,8 +8654,7 @@ var SetContentPublishSchedule = async ({
|
|
|
8655
8654
|
{
|
|
8656
8655
|
date,
|
|
8657
8656
|
email,
|
|
8658
|
-
push
|
|
8659
|
-
visible
|
|
8657
|
+
push
|
|
8660
8658
|
}
|
|
8661
8659
|
);
|
|
8662
8660
|
return data;
|