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: "AUDIO",
175
- FILE: "FILE",
176
- IMAGE: "IMAGE",
177
- VIDEO: "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: "AUDIO",
164
- FILE: "FILE",
165
- IMAGE: "IMAGE",
166
- VIDEO: "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: "IMAGE" || "VIDEO" || "AUDIO" || "FILE",
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: "AUDIO";
671
- readonly FILE: "FILE";
672
- readonly IMAGE: "IMAGE";
673
- readonly VIDEO: "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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onehook-api-client",
3
3
  "description": "OneHook API Client",
4
- "version": "1.0.42",
4
+ "version": "1.0.43",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",