frameio 1.1.6 → 1.1.7

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.
Files changed (102) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/errors/ConflictError.d.ts +6 -0
  3. package/dist/cjs/api/errors/ConflictError.js +50 -0
  4. package/dist/cjs/api/errors/index.d.ts +1 -0
  5. package/dist/cjs/api/errors/index.js +1 -0
  6. package/dist/cjs/api/resources/accountPermissions/client/Client.d.ts +1 -0
  7. package/dist/cjs/api/resources/accountPermissions/client/Client.js +3 -0
  8. package/dist/cjs/api/resources/accounts/client/Client.d.ts +1 -0
  9. package/dist/cjs/api/resources/accounts/client/Client.js +3 -0
  10. package/dist/cjs/api/resources/comments/client/Client.d.ts +5 -0
  11. package/dist/cjs/api/resources/comments/client/Client.js +15 -0
  12. package/dist/cjs/api/resources/files/client/Client.d.ts +10 -0
  13. package/dist/cjs/api/resources/files/client/Client.js +30 -0
  14. package/dist/cjs/api/resources/folders/client/Client.d.ts +8 -0
  15. package/dist/cjs/api/resources/folders/client/Client.js +24 -0
  16. package/dist/cjs/api/resources/metadata/client/Client.d.ts +6 -4
  17. package/dist/cjs/api/resources/metadata/client/Client.js +10 -4
  18. package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +4 -4
  19. package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +4 -0
  20. package/dist/cjs/api/resources/metadataFields/client/Client.js +12 -0
  21. package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +3 -0
  22. package/dist/cjs/api/resources/projectPermissions/client/Client.js +9 -0
  23. package/dist/cjs/api/resources/projects/client/Client.d.ts +5 -0
  24. package/dist/cjs/api/resources/projects/client/Client.js +15 -0
  25. package/dist/cjs/api/resources/shares/client/Client.d.ts +14 -4
  26. package/dist/cjs/api/resources/shares/client/Client.js +34 -4
  27. package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
  28. package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +2 -2
  29. package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +1 -1
  30. package/dist/cjs/api/resources/users/client/Client.d.ts +1 -0
  31. package/dist/cjs/api/resources/users/client/Client.js +3 -0
  32. package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +7 -1
  33. package/dist/cjs/api/resources/versionStacks/client/Client.js +19 -1
  34. package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +1 -1
  35. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +1 -0
  36. package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +1 -0
  37. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +5 -0
  38. package/dist/cjs/api/resources/webhooks/client/Client.js +15 -0
  39. package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +3 -0
  40. package/dist/cjs/api/resources/workspacePermissions/client/Client.js +9 -0
  41. package/dist/cjs/api/resources/workspaces/client/Client.d.ts +5 -0
  42. package/dist/cjs/api/resources/workspaces/client/Client.js +15 -0
  43. package/dist/cjs/api/types/Conflict.d.ts +18 -0
  44. package/dist/cjs/api/types/Conflict.js +3 -0
  45. package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +1 -0
  46. package/dist/cjs/api/types/FileWithMediaLinksInclude.js +1 -0
  47. package/dist/cjs/api/types/index.d.ts +1 -0
  48. package/dist/cjs/api/types/index.js +1 -0
  49. package/dist/cjs/version.d.ts +1 -1
  50. package/dist/cjs/version.js +1 -1
  51. package/dist/esm/Client.mjs +2 -2
  52. package/dist/esm/api/errors/ConflictError.d.mts +6 -0
  53. package/dist/esm/api/errors/ConflictError.mjs +13 -0
  54. package/dist/esm/api/errors/index.d.mts +1 -0
  55. package/dist/esm/api/errors/index.mjs +1 -0
  56. package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +1 -0
  57. package/dist/esm/api/resources/accountPermissions/client/Client.mjs +3 -0
  58. package/dist/esm/api/resources/accounts/client/Client.d.mts +1 -0
  59. package/dist/esm/api/resources/accounts/client/Client.mjs +3 -0
  60. package/dist/esm/api/resources/comments/client/Client.d.mts +5 -0
  61. package/dist/esm/api/resources/comments/client/Client.mjs +15 -0
  62. package/dist/esm/api/resources/files/client/Client.d.mts +10 -0
  63. package/dist/esm/api/resources/files/client/Client.mjs +30 -0
  64. package/dist/esm/api/resources/folders/client/Client.d.mts +8 -0
  65. package/dist/esm/api/resources/folders/client/Client.mjs +24 -0
  66. package/dist/esm/api/resources/metadata/client/Client.d.mts +6 -4
  67. package/dist/esm/api/resources/metadata/client/Client.mjs +10 -4
  68. package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +4 -4
  69. package/dist/esm/api/resources/metadataFields/client/Client.d.mts +4 -0
  70. package/dist/esm/api/resources/metadataFields/client/Client.mjs +12 -0
  71. package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +3 -0
  72. package/dist/esm/api/resources/projectPermissions/client/Client.mjs +9 -0
  73. package/dist/esm/api/resources/projects/client/Client.d.mts +5 -0
  74. package/dist/esm/api/resources/projects/client/Client.mjs +15 -0
  75. package/dist/esm/api/resources/shares/client/Client.d.mts +14 -4
  76. package/dist/esm/api/resources/shares/client/Client.mjs +34 -4
  77. package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
  78. package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +2 -2
  79. package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +1 -1
  80. package/dist/esm/api/resources/users/client/Client.d.mts +1 -0
  81. package/dist/esm/api/resources/users/client/Client.mjs +3 -0
  82. package/dist/esm/api/resources/versionStacks/client/Client.d.mts +7 -1
  83. package/dist/esm/api/resources/versionStacks/client/Client.mjs +19 -1
  84. package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +1 -1
  85. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +1 -0
  86. package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +1 -0
  87. package/dist/esm/api/resources/webhooks/client/Client.d.mts +5 -0
  88. package/dist/esm/api/resources/webhooks/client/Client.mjs +15 -0
  89. package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +3 -0
  90. package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +9 -0
  91. package/dist/esm/api/resources/workspaces/client/Client.d.mts +5 -0
  92. package/dist/esm/api/resources/workspaces/client/Client.mjs +15 -0
  93. package/dist/esm/api/types/Conflict.d.mts +18 -0
  94. package/dist/esm/api/types/Conflict.mjs +2 -0
  95. package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +1 -0
  96. package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +1 -0
  97. package/dist/esm/api/types/index.d.mts +1 -0
  98. package/dist/esm/api/types/index.mjs +1 -0
  99. package/dist/esm/version.d.mts +1 -1
  100. package/dist/esm/version.mjs +1 -1
  101. package/package.json +1 -1
  102. package/reference.md +9 -9
@@ -57,8 +57,8 @@ class FrameioClient {
57
57
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
58
58
  "X-Fern-Language": "JavaScript",
59
59
  "X-Fern-SDK-Name": "frameio",
60
- "X-Fern-SDK-Version": "1.1.6",
61
- "User-Agent": "frameio/1.1.6",
60
+ "X-Fern-SDK-Version": "1.1.7",
61
+ "User-Agent": "frameio/1.1.7",
62
62
  "X-Fern-Runtime": core.RUNTIME.type,
63
63
  "X-Fern-Runtime-Version": core.RUNTIME.version,
64
64
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,6 @@
1
+ import * as errors from "../../errors/index.js";
2
+ import * as Frameio from "../index.js";
3
+ import * as core from "../../core/index.js";
4
+ export declare class ConflictError extends errors.FrameioError {
5
+ constructor(body: Frameio.Conflict, rawResponse?: core.RawResponse);
6
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ConflictError = void 0;
38
+ const errors = __importStar(require("../../errors/index.js"));
39
+ class ConflictError extends errors.FrameioError {
40
+ constructor(body, rawResponse) {
41
+ super({
42
+ message: "ConflictError",
43
+ statusCode: 409,
44
+ body: body,
45
+ rawResponse: rawResponse,
46
+ });
47
+ Object.setPrototypeOf(this, ConflictError.prototype);
48
+ }
49
+ }
50
+ exports.ConflictError = ConflictError;
@@ -2,5 +2,6 @@ export * from "./BadRequestError.js";
2
2
  export * from "./UnauthorizedError.js";
3
3
  export * from "./ForbiddenError.js";
4
4
  export * from "./NotFoundError.js";
5
+ export * from "./ConflictError.js";
5
6
  export * from "./UnprocessableEntityError.js";
6
7
  export * from "./TooManyRequestsError.js";
@@ -18,5 +18,6 @@ __exportStar(require("./BadRequestError.js"), exports);
18
18
  __exportStar(require("./UnauthorizedError.js"), exports);
19
19
  __exportStar(require("./ForbiddenError.js"), exports);
20
20
  __exportStar(require("./NotFoundError.js"), exports);
21
+ __exportStar(require("./ConflictError.js"), exports);
21
22
  __exportStar(require("./UnprocessableEntityError.js"), exports);
22
23
  __exportStar(require("./TooManyRequestsError.js"), exports);
@@ -40,6 +40,7 @@ export declare class AccountPermissions {
40
40
  * @throws {@link Frameio.UnauthorizedError}
41
41
  * @throws {@link Frameio.ForbiddenError}
42
42
  * @throws {@link Frameio.NotFoundError}
43
+ * @throws {@link Frameio.ConflictError}
43
44
  * @throws {@link Frameio.UnprocessableEntityError}
44
45
  * @throws {@link Frameio.TooManyRequestsError}
45
46
  *
@@ -67,6 +67,7 @@ class AccountPermissions {
67
67
  * @throws {@link Frameio.UnauthorizedError}
68
68
  * @throws {@link Frameio.ForbiddenError}
69
69
  * @throws {@link Frameio.NotFoundError}
70
+ * @throws {@link Frameio.ConflictError}
70
71
  * @throws {@link Frameio.UnprocessableEntityError}
71
72
  * @throws {@link Frameio.TooManyRequestsError}
72
73
  *
@@ -122,6 +123,8 @@ class AccountPermissions {
122
123
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
123
124
  case 404:
124
125
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
126
+ case 409:
127
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
125
128
  case 422:
126
129
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
127
130
  case 429:
@@ -39,6 +39,7 @@ export declare class Accounts {
39
39
  * @throws {@link Frameio.UnauthorizedError}
40
40
  * @throws {@link Frameio.ForbiddenError}
41
41
  * @throws {@link Frameio.NotFoundError}
42
+ * @throws {@link Frameio.ConflictError}
42
43
  * @throws {@link Frameio.UnprocessableEntityError}
43
44
  * @throws {@link Frameio.TooManyRequestsError}
44
45
  *
@@ -66,6 +66,7 @@ class Accounts {
66
66
  * @throws {@link Frameio.UnauthorizedError}
67
67
  * @throws {@link Frameio.ForbiddenError}
68
68
  * @throws {@link Frameio.NotFoundError}
69
+ * @throws {@link Frameio.ConflictError}
69
70
  * @throws {@link Frameio.UnprocessableEntityError}
70
71
  * @throws {@link Frameio.TooManyRequestsError}
71
72
  *
@@ -114,6 +115,8 @@ class Accounts {
114
115
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
115
116
  case 404:
116
117
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
118
+ case 409:
119
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
117
120
  case 422:
118
121
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
119
122
  case 429:
@@ -41,6 +41,7 @@ export declare class Comments {
41
41
  * @throws {@link Frameio.UnauthorizedError}
42
42
  * @throws {@link Frameio.ForbiddenError}
43
43
  * @throws {@link Frameio.NotFoundError}
44
+ * @throws {@link Frameio.ConflictError}
44
45
  * @throws {@link Frameio.UnprocessableEntityError}
45
46
  * @throws {@link Frameio.TooManyRequestsError}
46
47
  *
@@ -62,6 +63,7 @@ export declare class Comments {
62
63
  * @throws {@link Frameio.UnauthorizedError}
63
64
  * @throws {@link Frameio.ForbiddenError}
64
65
  * @throws {@link Frameio.NotFoundError}
66
+ * @throws {@link Frameio.ConflictError}
65
67
  * @throws {@link Frameio.UnprocessableEntityError}
66
68
  * @throws {@link Frameio.TooManyRequestsError}
67
69
  *
@@ -82,6 +84,7 @@ export declare class Comments {
82
84
  * @throws {@link Frameio.UnauthorizedError}
83
85
  * @throws {@link Frameio.ForbiddenError}
84
86
  * @throws {@link Frameio.NotFoundError}
87
+ * @throws {@link Frameio.ConflictError}
85
88
  * @throws {@link Frameio.UnprocessableEntityError}
86
89
  * @throws {@link Frameio.TooManyRequestsError}
87
90
  *
@@ -110,6 +113,7 @@ export declare class Comments {
110
113
  * @throws {@link Frameio.UnauthorizedError}
111
114
  * @throws {@link Frameio.ForbiddenError}
112
115
  * @throws {@link Frameio.NotFoundError}
116
+ * @throws {@link Frameio.ConflictError}
113
117
  * @throws {@link Frameio.UnprocessableEntityError}
114
118
  * @throws {@link Frameio.TooManyRequestsError}
115
119
  *
@@ -134,6 +138,7 @@ export declare class Comments {
134
138
  * @throws {@link Frameio.UnauthorizedError}
135
139
  * @throws {@link Frameio.ForbiddenError}
136
140
  * @throws {@link Frameio.NotFoundError}
141
+ * @throws {@link Frameio.ConflictError}
137
142
  * @throws {@link Frameio.UnprocessableEntityError}
138
143
  * @throws {@link Frameio.TooManyRequestsError}
139
144
  *
@@ -79,6 +79,7 @@ class Comments {
79
79
  * @throws {@link Frameio.UnauthorizedError}
80
80
  * @throws {@link Frameio.ForbiddenError}
81
81
  * @throws {@link Frameio.NotFoundError}
82
+ * @throws {@link Frameio.ConflictError}
82
83
  * @throws {@link Frameio.UnprocessableEntityError}
83
84
  * @throws {@link Frameio.TooManyRequestsError}
84
85
  *
@@ -121,6 +122,8 @@ class Comments {
121
122
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
122
123
  case 404:
123
124
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
125
+ case 409:
126
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
124
127
  case 422:
125
128
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
126
129
  case 429:
@@ -161,6 +164,7 @@ class Comments {
161
164
  * @throws {@link Frameio.UnauthorizedError}
162
165
  * @throws {@link Frameio.ForbiddenError}
163
166
  * @throws {@link Frameio.NotFoundError}
167
+ * @throws {@link Frameio.ConflictError}
164
168
  * @throws {@link Frameio.UnprocessableEntityError}
165
169
  * @throws {@link Frameio.TooManyRequestsError}
166
170
  *
@@ -196,6 +200,8 @@ class Comments {
196
200
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
197
201
  case 404:
198
202
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
203
+ case 409:
204
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
199
205
  case 422:
200
206
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
201
207
  case 429:
@@ -237,6 +243,7 @@ class Comments {
237
243
  * @throws {@link Frameio.UnauthorizedError}
238
244
  * @throws {@link Frameio.ForbiddenError}
239
245
  * @throws {@link Frameio.NotFoundError}
246
+ * @throws {@link Frameio.ConflictError}
240
247
  * @throws {@link Frameio.UnprocessableEntityError}
241
248
  * @throws {@link Frameio.TooManyRequestsError}
242
249
  *
@@ -288,6 +295,8 @@ class Comments {
288
295
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
289
296
  case 404:
290
297
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
298
+ case 409:
299
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
291
300
  case 422:
292
301
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
293
302
  case 429:
@@ -329,6 +338,7 @@ class Comments {
329
338
  * @throws {@link Frameio.UnauthorizedError}
330
339
  * @throws {@link Frameio.ForbiddenError}
331
340
  * @throws {@link Frameio.NotFoundError}
341
+ * @throws {@link Frameio.ConflictError}
332
342
  * @throws {@link Frameio.UnprocessableEntityError}
333
343
  * @throws {@link Frameio.TooManyRequestsError}
334
344
  *
@@ -384,6 +394,8 @@ class Comments {
384
394
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
385
395
  case 404:
386
396
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
397
+ case 409:
398
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
387
399
  case 422:
388
400
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
389
401
  case 429:
@@ -437,6 +449,7 @@ class Comments {
437
449
  * @throws {@link Frameio.UnauthorizedError}
438
450
  * @throws {@link Frameio.ForbiddenError}
439
451
  * @throws {@link Frameio.NotFoundError}
452
+ * @throws {@link Frameio.ConflictError}
440
453
  * @throws {@link Frameio.UnprocessableEntityError}
441
454
  * @throws {@link Frameio.TooManyRequestsError}
442
455
  *
@@ -489,6 +502,8 @@ class Comments {
489
502
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
490
503
  case 404:
491
504
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
505
+ case 409:
506
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
492
507
  case 422:
493
508
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
494
509
  case 429:
@@ -41,6 +41,7 @@ export declare class Files {
41
41
  * @throws {@link Frameio.UnauthorizedError}
42
42
  * @throws {@link Frameio.ForbiddenError}
43
43
  * @throws {@link Frameio.NotFoundError}
44
+ * @throws {@link Frameio.ConflictError}
44
45
  * @throws {@link Frameio.UnprocessableEntityError}
45
46
  * @throws {@link Frameio.TooManyRequestsError}
46
47
  *
@@ -66,6 +67,7 @@ export declare class Files {
66
67
  * @throws {@link Frameio.UnauthorizedError}
67
68
  * @throws {@link Frameio.ForbiddenError}
68
69
  * @throws {@link Frameio.NotFoundError}
70
+ * @throws {@link Frameio.ConflictError}
69
71
  * @throws {@link Frameio.UnprocessableEntityError}
70
72
  * @throws {@link Frameio.TooManyRequestsError}
71
73
  *
@@ -104,6 +106,7 @@ export declare class Files {
104
106
  * @throws {@link Frameio.UnauthorizedError}
105
107
  * @throws {@link Frameio.ForbiddenError}
106
108
  * @throws {@link Frameio.NotFoundError}
109
+ * @throws {@link Frameio.ConflictError}
107
110
  * @throws {@link Frameio.UnprocessableEntityError}
108
111
  * @throws {@link Frameio.TooManyRequestsError}
109
112
  *
@@ -125,6 +128,7 @@ export declare class Files {
125
128
  * @throws {@link Frameio.UnauthorizedError}
126
129
  * @throws {@link Frameio.ForbiddenError}
127
130
  * @throws {@link Frameio.NotFoundError}
131
+ * @throws {@link Frameio.ConflictError}
128
132
  * @throws {@link Frameio.UnprocessableEntityError}
129
133
  * @throws {@link Frameio.TooManyRequestsError}
130
134
  *
@@ -145,6 +149,7 @@ export declare class Files {
145
149
  * @throws {@link Frameio.UnauthorizedError}
146
150
  * @throws {@link Frameio.ForbiddenError}
147
151
  * @throws {@link Frameio.NotFoundError}
152
+ * @throws {@link Frameio.ConflictError}
148
153
  * @throws {@link Frameio.UnprocessableEntityError}
149
154
  * @throws {@link Frameio.TooManyRequestsError}
150
155
  *
@@ -169,6 +174,7 @@ export declare class Files {
169
174
  * @throws {@link Frameio.UnauthorizedError}
170
175
  * @throws {@link Frameio.ForbiddenError}
171
176
  * @throws {@link Frameio.NotFoundError}
177
+ * @throws {@link Frameio.ConflictError}
172
178
  * @throws {@link Frameio.UnprocessableEntityError}
173
179
  * @throws {@link Frameio.TooManyRequestsError}
174
180
  *
@@ -195,6 +201,7 @@ export declare class Files {
195
201
  * @throws {@link Frameio.UnauthorizedError}
196
202
  * @throws {@link Frameio.ForbiddenError}
197
203
  * @throws {@link Frameio.NotFoundError}
204
+ * @throws {@link Frameio.ConflictError}
198
205
  * @throws {@link Frameio.UnprocessableEntityError}
199
206
  * @throws {@link Frameio.TooManyRequestsError}
200
207
  *
@@ -220,6 +227,7 @@ export declare class Files {
220
227
  * @throws {@link Frameio.UnauthorizedError}
221
228
  * @throws {@link Frameio.ForbiddenError}
222
229
  * @throws {@link Frameio.NotFoundError}
230
+ * @throws {@link Frameio.ConflictError}
223
231
  * @throws {@link Frameio.UnprocessableEntityError}
224
232
  * @throws {@link Frameio.TooManyRequestsError}
225
233
  *
@@ -244,6 +252,7 @@ export declare class Files {
244
252
  * @throws {@link Frameio.UnauthorizedError}
245
253
  * @throws {@link Frameio.ForbiddenError}
246
254
  * @throws {@link Frameio.NotFoundError}
255
+ * @throws {@link Frameio.ConflictError}
247
256
  * @throws {@link Frameio.UnprocessableEntityError}
248
257
  * @throws {@link Frameio.TooManyRequestsError}
249
258
  *
@@ -268,6 +277,7 @@ export declare class Files {
268
277
  * @throws {@link Frameio.UnauthorizedError}
269
278
  * @throws {@link Frameio.ForbiddenError}
270
279
  * @throws {@link Frameio.NotFoundError}
280
+ * @throws {@link Frameio.ConflictError}
271
281
  * @throws {@link Frameio.UnprocessableEntityError}
272
282
  * @throws {@link Frameio.TooManyRequestsError}
273
283
  *
@@ -79,6 +79,7 @@ class Files {
79
79
  * @throws {@link Frameio.UnauthorizedError}
80
80
  * @throws {@link Frameio.ForbiddenError}
81
81
  * @throws {@link Frameio.NotFoundError}
82
+ * @throws {@link Frameio.ConflictError}
82
83
  * @throws {@link Frameio.UnprocessableEntityError}
83
84
  * @throws {@link Frameio.TooManyRequestsError}
84
85
  *
@@ -133,6 +134,8 @@ class Files {
133
134
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
134
135
  case 404:
135
136
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
137
+ case 409:
138
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
136
139
  case 422:
137
140
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
138
141
  case 429:
@@ -174,6 +177,7 @@ class Files {
174
177
  * @throws {@link Frameio.UnauthorizedError}
175
178
  * @throws {@link Frameio.ForbiddenError}
176
179
  * @throws {@link Frameio.NotFoundError}
180
+ * @throws {@link Frameio.ConflictError}
177
181
  * @throws {@link Frameio.UnprocessableEntityError}
178
182
  * @throws {@link Frameio.TooManyRequestsError}
179
183
  *
@@ -218,6 +222,8 @@ class Files {
218
222
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
219
223
  case 404:
220
224
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
225
+ case 409:
226
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
221
227
  case 422:
222
228
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
223
229
  case 429:
@@ -271,6 +277,7 @@ class Files {
271
277
  * @throws {@link Frameio.UnauthorizedError}
272
278
  * @throws {@link Frameio.ForbiddenError}
273
279
  * @throws {@link Frameio.NotFoundError}
280
+ * @throws {@link Frameio.ConflictError}
274
281
  * @throws {@link Frameio.UnprocessableEntityError}
275
282
  * @throws {@link Frameio.TooManyRequestsError}
276
283
  *
@@ -313,6 +320,8 @@ class Files {
313
320
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
314
321
  case 404:
315
322
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
323
+ case 409:
324
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
316
325
  case 422:
317
326
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
318
327
  case 429:
@@ -353,6 +362,7 @@ class Files {
353
362
  * @throws {@link Frameio.UnauthorizedError}
354
363
  * @throws {@link Frameio.ForbiddenError}
355
364
  * @throws {@link Frameio.NotFoundError}
365
+ * @throws {@link Frameio.ConflictError}
356
366
  * @throws {@link Frameio.UnprocessableEntityError}
357
367
  * @throws {@link Frameio.TooManyRequestsError}
358
368
  *
@@ -388,6 +398,8 @@ class Files {
388
398
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
389
399
  case 404:
390
400
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
401
+ case 409:
402
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
391
403
  case 422:
392
404
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
393
405
  case 429:
@@ -429,6 +441,7 @@ class Files {
429
441
  * @throws {@link Frameio.UnauthorizedError}
430
442
  * @throws {@link Frameio.ForbiddenError}
431
443
  * @throws {@link Frameio.NotFoundError}
444
+ * @throws {@link Frameio.ConflictError}
432
445
  * @throws {@link Frameio.UnprocessableEntityError}
433
446
  * @throws {@link Frameio.TooManyRequestsError}
434
447
  *
@@ -471,6 +484,8 @@ class Files {
471
484
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
472
485
  case 404:
473
486
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
487
+ case 409:
488
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
474
489
  case 422:
475
490
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
476
491
  case 429:
@@ -512,6 +527,7 @@ class Files {
512
527
  * @throws {@link Frameio.UnauthorizedError}
513
528
  * @throws {@link Frameio.ForbiddenError}
514
529
  * @throws {@link Frameio.NotFoundError}
530
+ * @throws {@link Frameio.ConflictError}
515
531
  * @throws {@link Frameio.UnprocessableEntityError}
516
532
  * @throws {@link Frameio.TooManyRequestsError}
517
533
  *
@@ -564,6 +580,8 @@ class Files {
564
580
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
565
581
  case 404:
566
582
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
583
+ case 409:
584
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
567
585
  case 422:
568
586
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
569
587
  case 429:
@@ -605,6 +623,7 @@ class Files {
605
623
  * @throws {@link Frameio.UnauthorizedError}
606
624
  * @throws {@link Frameio.ForbiddenError}
607
625
  * @throws {@link Frameio.NotFoundError}
626
+ * @throws {@link Frameio.ConflictError}
608
627
  * @throws {@link Frameio.UnprocessableEntityError}
609
628
  * @throws {@link Frameio.TooManyRequestsError}
610
629
  *
@@ -648,6 +667,8 @@ class Files {
648
667
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
649
668
  case 404:
650
669
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
670
+ case 409:
671
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
651
672
  case 422:
652
673
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
653
674
  case 429:
@@ -689,6 +710,7 @@ class Files {
689
710
  * @throws {@link Frameio.UnauthorizedError}
690
711
  * @throws {@link Frameio.ForbiddenError}
691
712
  * @throws {@link Frameio.NotFoundError}
713
+ * @throws {@link Frameio.ConflictError}
692
714
  * @throws {@link Frameio.UnprocessableEntityError}
693
715
  * @throws {@link Frameio.TooManyRequestsError}
694
716
  *
@@ -731,6 +753,8 @@ class Files {
731
753
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
732
754
  case 404:
733
755
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
756
+ case 409:
757
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
734
758
  case 422:
735
759
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
736
760
  case 429:
@@ -772,6 +796,7 @@ class Files {
772
796
  * @throws {@link Frameio.UnauthorizedError}
773
797
  * @throws {@link Frameio.ForbiddenError}
774
798
  * @throws {@link Frameio.NotFoundError}
799
+ * @throws {@link Frameio.ConflictError}
775
800
  * @throws {@link Frameio.UnprocessableEntityError}
776
801
  * @throws {@link Frameio.TooManyRequestsError}
777
802
  *
@@ -815,6 +840,8 @@ class Files {
815
840
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
816
841
  case 404:
817
842
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
843
+ case 409:
844
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
818
845
  case 422:
819
846
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
820
847
  case 429:
@@ -855,6 +882,7 @@ class Files {
855
882
  * @throws {@link Frameio.UnauthorizedError}
856
883
  * @throws {@link Frameio.ForbiddenError}
857
884
  * @throws {@link Frameio.NotFoundError}
885
+ * @throws {@link Frameio.ConflictError}
858
886
  * @throws {@link Frameio.UnprocessableEntityError}
859
887
  * @throws {@link Frameio.TooManyRequestsError}
860
888
  *
@@ -890,6 +918,8 @@ class Files {
890
918
  throw new Frameio.ForbiddenError(_response.error.body, _response.rawResponse);
891
919
  case 404:
892
920
  throw new Frameio.NotFoundError(_response.error.body, _response.rawResponse);
921
+ case 409:
922
+ throw new Frameio.ConflictError(_response.error.body, _response.rawResponse);
893
923
  case 422:
894
924
  throw new Frameio.UnprocessableEntityError(_response.error.body, _response.rawResponse);
895
925
  case 429:
@@ -41,6 +41,7 @@ export declare class Folders {
41
41
  * @throws {@link Frameio.UnauthorizedError}
42
42
  * @throws {@link Frameio.ForbiddenError}
43
43
  * @throws {@link Frameio.NotFoundError}
44
+ * @throws {@link Frameio.ConflictError}
44
45
  * @throws {@link Frameio.UnprocessableEntityError}
45
46
  * @throws {@link Frameio.TooManyRequestsError}
46
47
  *
@@ -62,6 +63,7 @@ export declare class Folders {
62
63
  * @throws {@link Frameio.UnauthorizedError}
63
64
  * @throws {@link Frameio.ForbiddenError}
64
65
  * @throws {@link Frameio.NotFoundError}
66
+ * @throws {@link Frameio.ConflictError}
65
67
  * @throws {@link Frameio.UnprocessableEntityError}
66
68
  * @throws {@link Frameio.TooManyRequestsError}
67
69
  *
@@ -82,6 +84,7 @@ export declare class Folders {
82
84
  * @throws {@link Frameio.UnauthorizedError}
83
85
  * @throws {@link Frameio.ForbiddenError}
84
86
  * @throws {@link Frameio.NotFoundError}
87
+ * @throws {@link Frameio.ConflictError}
85
88
  * @throws {@link Frameio.UnprocessableEntityError}
86
89
  * @throws {@link Frameio.TooManyRequestsError}
87
90
  *
@@ -118,6 +121,7 @@ export declare class Folders {
118
121
  * @throws {@link Frameio.UnauthorizedError}
119
122
  * @throws {@link Frameio.ForbiddenError}
120
123
  * @throws {@link Frameio.NotFoundError}
124
+ * @throws {@link Frameio.ConflictError}
121
125
  * @throws {@link Frameio.UnprocessableEntityError}
122
126
  * @throws {@link Frameio.TooManyRequestsError}
123
127
  *
@@ -144,6 +148,7 @@ export declare class Folders {
144
148
  * @throws {@link Frameio.UnauthorizedError}
145
149
  * @throws {@link Frameio.ForbiddenError}
146
150
  * @throws {@link Frameio.NotFoundError}
151
+ * @throws {@link Frameio.ConflictError}
147
152
  * @throws {@link Frameio.UnprocessableEntityError}
148
153
  * @throws {@link Frameio.TooManyRequestsError}
149
154
  *
@@ -169,6 +174,7 @@ export declare class Folders {
169
174
  * @throws {@link Frameio.UnauthorizedError}
170
175
  * @throws {@link Frameio.ForbiddenError}
171
176
  * @throws {@link Frameio.NotFoundError}
177
+ * @throws {@link Frameio.ConflictError}
172
178
  * @throws {@link Frameio.UnprocessableEntityError}
173
179
  * @throws {@link Frameio.TooManyRequestsError}
174
180
  *
@@ -194,6 +200,7 @@ export declare class Folders {
194
200
  * @throws {@link Frameio.UnauthorizedError}
195
201
  * @throws {@link Frameio.ForbiddenError}
196
202
  * @throws {@link Frameio.NotFoundError}
203
+ * @throws {@link Frameio.ConflictError}
197
204
  * @throws {@link Frameio.UnprocessableEntityError}
198
205
  * @throws {@link Frameio.TooManyRequestsError}
199
206
  *
@@ -218,6 +225,7 @@ export declare class Folders {
218
225
  * @throws {@link Frameio.UnauthorizedError}
219
226
  * @throws {@link Frameio.ForbiddenError}
220
227
  * @throws {@link Frameio.NotFoundError}
228
+ * @throws {@link Frameio.ConflictError}
221
229
  * @throws {@link Frameio.UnprocessableEntityError}
222
230
  * @throws {@link Frameio.TooManyRequestsError}
223
231
  *