@getlatedev/node 0.2.1422 → 0.2.1423
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/README.md +0 -5
- package/dist/index.d.mts +1 -58
- package/dist/index.d.ts +1 -58
- package/dist/index.js +1 -13
- package/dist/index.mjs +1 -13
- package/package.json +1 -1
- package/src/client.ts +0 -8
- package/src/generated/sdk.gen.ts +1 -12
- package/src/generated/types.gen.ts +0 -54
|
@@ -67952,60 +67952,6 @@ export type SetPartnershipAdPermissionResponse = ({
|
|
|
67952
67952
|
|
|
67953
67953
|
export type SetPartnershipAdPermissionError = (ErrorResponse | unknown);
|
|
67954
67954
|
|
|
67955
|
-
export type DownloadTikTokVideoData = {
|
|
67956
|
-
query: {
|
|
67957
|
-
/**
|
|
67958
|
-
* Return a download URL or the available formats.
|
|
67959
|
-
*/
|
|
67960
|
-
action?: 'download' | 'formats';
|
|
67961
|
-
/**
|
|
67962
|
-
* Format ID from the formats response. Omit to select the first available format.
|
|
67963
|
-
*/
|
|
67964
|
-
formatId?: string;
|
|
67965
|
-
/**
|
|
67966
|
-
* TikTok video URL or numeric video ID.
|
|
67967
|
-
*/
|
|
67968
|
-
url: string;
|
|
67969
|
-
};
|
|
67970
|
-
};
|
|
67971
|
-
|
|
67972
|
-
export type DownloadTikTokVideoResponse = ({
|
|
67973
|
-
success: boolean;
|
|
67974
|
-
title: string;
|
|
67975
|
-
/**
|
|
67976
|
-
* Selected format label for action=download.
|
|
67977
|
-
*/
|
|
67978
|
-
format?: string;
|
|
67979
|
-
/**
|
|
67980
|
-
* Media download URL for action=download.
|
|
67981
|
-
*/
|
|
67982
|
-
downloadUrl?: string;
|
|
67983
|
-
/**
|
|
67984
|
-
* Duration in seconds for action=formats.
|
|
67985
|
-
*/
|
|
67986
|
-
duration?: number;
|
|
67987
|
-
/**
|
|
67988
|
-
* Thumbnail URL for action=formats.
|
|
67989
|
-
*/
|
|
67990
|
-
cover?: string;
|
|
67991
|
-
/**
|
|
67992
|
-
* Available formats for action=formats.
|
|
67993
|
-
*/
|
|
67994
|
-
formats?: Array<{
|
|
67995
|
-
id?: string;
|
|
67996
|
-
label?: string;
|
|
67997
|
-
ext?: string;
|
|
67998
|
-
type?: string;
|
|
67999
|
-
height?: number;
|
|
68000
|
-
width?: number;
|
|
68001
|
-
fps?: number;
|
|
68002
|
-
hasAudio?: boolean;
|
|
68003
|
-
hasVideo?: boolean;
|
|
68004
|
-
}>;
|
|
68005
|
-
});
|
|
68006
|
-
|
|
68007
|
-
export type DownloadTikTokVideoError = (unknown | ErrorResponse);
|
|
68008
|
-
|
|
68009
67955
|
export type PrepareMediaData = {
|
|
68010
67956
|
body: {
|
|
68011
67957
|
/**
|