onehook-api-client 1.0.42 → 1.0.43
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.
|
@@ -171,10 +171,10 @@ class TooManyRequestsError extends OneHookServiceException_1.OneHookServiceExcep
|
|
|
171
171
|
}
|
|
172
172
|
exports.TooManyRequestsError = TooManyRequestsError;
|
|
173
173
|
exports.MediaKind = {
|
|
174
|
-
AUDIO: "
|
|
175
|
-
FILE: "
|
|
176
|
-
IMAGE: "
|
|
177
|
-
VIDEO: "
|
|
174
|
+
AUDIO: "audio",
|
|
175
|
+
FILE: "file",
|
|
176
|
+
IMAGE: "image",
|
|
177
|
+
VIDEO: "video",
|
|
178
178
|
};
|
|
179
179
|
class ConflictError extends OneHookServiceException_1.OneHookServiceException {
|
|
180
180
|
name = "ConflictError";
|
|
@@ -160,10 +160,10 @@ export class TooManyRequestsError extends __BaseException {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
export const MediaKind = {
|
|
163
|
-
AUDIO: "
|
|
164
|
-
FILE: "
|
|
165
|
-
IMAGE: "
|
|
166
|
-
VIDEO: "
|
|
163
|
+
AUDIO: "audio",
|
|
164
|
+
FILE: "file",
|
|
165
|
+
IMAGE: "image",
|
|
166
|
+
VIDEO: "video",
|
|
167
167
|
};
|
|
168
168
|
export class ConflictError extends __BaseException {
|
|
169
169
|
name = "ConflictError";
|
|
@@ -45,7 +45,7 @@ declare const CreateMediaUploadUrlCommand_base: {
|
|
|
45
45
|
* const input = { // CreateMediaUploadUrlRequest
|
|
46
46
|
* matchId: "STRING_VALUE", // required
|
|
47
47
|
* contentLength: Number("long"), // required
|
|
48
|
-
* kind: "
|
|
48
|
+
* kind: "image" || "video" || "audio" || "file",
|
|
49
49
|
* };
|
|
50
50
|
* const command = new CreateMediaUploadUrlCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
@@ -667,10 +667,10 @@ export interface CreateMediaDownloadUrlResponse {
|
|
|
667
667
|
* @enum
|
|
668
668
|
*/
|
|
669
669
|
export declare const MediaKind: {
|
|
670
|
-
readonly AUDIO: "
|
|
671
|
-
readonly FILE: "
|
|
672
|
-
readonly IMAGE: "
|
|
673
|
-
readonly VIDEO: "
|
|
670
|
+
readonly AUDIO: "audio";
|
|
671
|
+
readonly FILE: "file";
|
|
672
|
+
readonly IMAGE: "image";
|
|
673
|
+
readonly VIDEO: "video";
|
|
674
674
|
};
|
|
675
675
|
/**
|
|
676
676
|
* @public
|
package/package.json
CHANGED