vidjutsu 1.1.0 → 1.2.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/dist/methods.d.ts +2 -0
- package/dist/methods.js +3 -0
- package/package.json +1 -1
package/dist/methods.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export interface VidJutsuMethods {
|
|
|
50
50
|
checkComplianceVideo(body: ReqBody<"/v1/compliance/video", "post">): ReturnType<Client["POST"]>;
|
|
51
51
|
/** Check checkout status Public endpoint. */
|
|
52
52
|
getCheckoutStatus(query?: QueryParams<"/v1/credits/status", "get">): ReturnType<Client["GET"]>;
|
|
53
|
+
/** Burn fine-print disclaimer onto video */
|
|
54
|
+
createDisclaimer(body: ReqBody<"/v1/disclaimer", "post">): ReturnType<Client["POST"]>;
|
|
53
55
|
/** Extract from media Auth required. 5 credits. */
|
|
54
56
|
extractMedia(body: ReqBody<"/v1/extract", "post">): ReturnType<Client["POST"]>;
|
|
55
57
|
/** API info Public endpoint. */
|
package/dist/methods.js
CHANGED
|
@@ -54,6 +54,9 @@ export function bindMethods(client) {
|
|
|
54
54
|
getCheckoutStatus(query) {
|
|
55
55
|
return client.GET("/v1/credits/status", { params: { query } });
|
|
56
56
|
},
|
|
57
|
+
createDisclaimer(body) {
|
|
58
|
+
return client.POST("/v1/disclaimer", { body });
|
|
59
|
+
},
|
|
57
60
|
extractMedia(body) {
|
|
58
61
|
return client.POST("/v1/extract", { body });
|
|
59
62
|
},
|