generaltranslation 9.5.9 → 9.5.10
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/CHANGELOG.md +9 -0
- package/dist/adapter/createGtApi.d.ts +15 -1
- package/dist/adapter/createGtApi.js +44 -1
- package/dist/{derive-BcAOcvDD.mjs → derive-CWs1dhPq.mjs} +17 -2
- package/dist/derive-CWs1dhPq.mjs.map +1 -0
- package/dist/{derive-Bj85yN5p.cjs → derive-aTPfLRLA.cjs} +16 -1
- package/dist/derive-aTPfLRLA.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +14 -1
- package/dist/internal.d.mts +14 -1
- package/dist/internal.mjs +1 -1
- package/dist/openapi.json +576 -0
- package/package.json +2 -2
- package/dist/derive-BcAOcvDD.mjs.map +0 -1
- package/dist/derive-Bj85yN5p.cjs.map +0 -1
package/dist/openapi.json
CHANGED
|
@@ -5122,6 +5122,562 @@
|
|
|
5122
5122
|
}
|
|
5123
5123
|
}
|
|
5124
5124
|
},
|
|
5125
|
+
"/v2/projects/{projectId}/files": {
|
|
5126
|
+
"patch": {
|
|
5127
|
+
"operationId": "updateFiles",
|
|
5128
|
+
"summary": "Update files",
|
|
5129
|
+
"description": "Update 1–100 source files or translations in one atomic batch. Requires `project:files:write`.",
|
|
5130
|
+
"security": [
|
|
5131
|
+
{
|
|
5132
|
+
"BearerAuth": []
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
"UserBearerAuth": []
|
|
5136
|
+
}
|
|
5137
|
+
],
|
|
5138
|
+
"parameters": [
|
|
5139
|
+
{
|
|
5140
|
+
"schema": {
|
|
5141
|
+
"type": "string",
|
|
5142
|
+
"minLength": 1,
|
|
5143
|
+
"maxLength": 128
|
|
5144
|
+
},
|
|
5145
|
+
"required": true,
|
|
5146
|
+
"name": "projectId",
|
|
5147
|
+
"in": "path"
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"schema": {
|
|
5151
|
+
"$ref": "#/components/schemas/ApiVersion"
|
|
5152
|
+
},
|
|
5153
|
+
"required": false,
|
|
5154
|
+
"description": "API contract version. Defaults to the oldest supported version.",
|
|
5155
|
+
"name": "gt-api-version",
|
|
5156
|
+
"in": "header"
|
|
5157
|
+
}
|
|
5158
|
+
],
|
|
5159
|
+
"requestBody": {
|
|
5160
|
+
"required": true,
|
|
5161
|
+
"content": {
|
|
5162
|
+
"application/json": {
|
|
5163
|
+
"schema": {
|
|
5164
|
+
"type": "object",
|
|
5165
|
+
"properties": {
|
|
5166
|
+
"files": {
|
|
5167
|
+
"type": "array",
|
|
5168
|
+
"items": {
|
|
5169
|
+
"type": "object",
|
|
5170
|
+
"properties": {
|
|
5171
|
+
"fileId": {
|
|
5172
|
+
"type": "string",
|
|
5173
|
+
"minLength": 1
|
|
5174
|
+
},
|
|
5175
|
+
"branchId": {
|
|
5176
|
+
"type": "string",
|
|
5177
|
+
"minLength": 1,
|
|
5178
|
+
"description": "Branch ID. Defaults to the project default branch."
|
|
5179
|
+
},
|
|
5180
|
+
"versionId": {
|
|
5181
|
+
"type": "string",
|
|
5182
|
+
"minLength": 1,
|
|
5183
|
+
"description": "Source version ID."
|
|
5184
|
+
},
|
|
5185
|
+
"locale": {
|
|
5186
|
+
"type": "string",
|
|
5187
|
+
"minLength": 1,
|
|
5188
|
+
"description": "Translation locale. Omit to update the source file.",
|
|
5189
|
+
"examples": ["es"]
|
|
5190
|
+
},
|
|
5191
|
+
"metadata": {
|
|
5192
|
+
"type": "object",
|
|
5193
|
+
"properties": {
|
|
5194
|
+
"previewUrl": {
|
|
5195
|
+
"type": ["string", "null"],
|
|
5196
|
+
"format": "uri",
|
|
5197
|
+
"description": "Page that shows this version of the file."
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
5200
|
+
}
|
|
5201
|
+
},
|
|
5202
|
+
"required": ["fileId", "versionId", "metadata"]
|
|
5203
|
+
},
|
|
5204
|
+
"minItems": 1,
|
|
5205
|
+
"maxItems": 100,
|
|
5206
|
+
"description": "1–100 source files or translations; each branch, file, version and locale may appear once."
|
|
5207
|
+
}
|
|
5208
|
+
},
|
|
5209
|
+
"required": ["files"],
|
|
5210
|
+
"description": "An absent field keeps its stored value. `null` clears a nullable field or removes a map entry; other fields reject `null`. In batches and imports, items match stored items by natural key, stored items absent from the batch are untouched, and nothing else is deleted. A blank CSV cell counts as absent."
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
}
|
|
5214
|
+
},
|
|
5215
|
+
"responses": {
|
|
5216
|
+
"200": {
|
|
5217
|
+
"description": "Each file after the update, in request order. Repeating a request is safe.",
|
|
5218
|
+
"content": {
|
|
5219
|
+
"application/json": {
|
|
5220
|
+
"schema": {
|
|
5221
|
+
"type": "object",
|
|
5222
|
+
"properties": {
|
|
5223
|
+
"files": {
|
|
5224
|
+
"type": "array",
|
|
5225
|
+
"items": {
|
|
5226
|
+
"type": "object",
|
|
5227
|
+
"properties": {
|
|
5228
|
+
"branchId": {
|
|
5229
|
+
"type": "string"
|
|
5230
|
+
},
|
|
5231
|
+
"fileId": {
|
|
5232
|
+
"type": "string"
|
|
5233
|
+
},
|
|
5234
|
+
"versionId": {
|
|
5235
|
+
"type": "string"
|
|
5236
|
+
},
|
|
5237
|
+
"locale": {
|
|
5238
|
+
"type": "string",
|
|
5239
|
+
"description": "Translation locale as stored. Absent for a source file."
|
|
5240
|
+
},
|
|
5241
|
+
"metadata": {
|
|
5242
|
+
"type": "object",
|
|
5243
|
+
"properties": {
|
|
5244
|
+
"previewUrl": {
|
|
5245
|
+
"type": ["string", "null"],
|
|
5246
|
+
"format": "uri",
|
|
5247
|
+
"description": "Page that shows this version of the file."
|
|
5248
|
+
}
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
5252
|
+
"required": [
|
|
5253
|
+
"branchId",
|
|
5254
|
+
"fileId",
|
|
5255
|
+
"versionId",
|
|
5256
|
+
"metadata"
|
|
5257
|
+
]
|
|
5258
|
+
},
|
|
5259
|
+
"description": "Each file after the update, in request order."
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
"required": ["files"]
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
}
|
|
5266
|
+
},
|
|
5267
|
+
"400": {
|
|
5268
|
+
"description": "The request is malformed or failed validation.",
|
|
5269
|
+
"content": {
|
|
5270
|
+
"application/json": {
|
|
5271
|
+
"examples": {
|
|
5272
|
+
"invalid_request": {
|
|
5273
|
+
"summary": "invalid_request",
|
|
5274
|
+
"value": {
|
|
5275
|
+
"error": "The request is malformed or failed validation.",
|
|
5276
|
+
"code": "invalid_request"
|
|
5277
|
+
}
|
|
5278
|
+
},
|
|
5279
|
+
"api_version_unsupported": {
|
|
5280
|
+
"summary": "api_version_unsupported",
|
|
5281
|
+
"value": {
|
|
5282
|
+
"error": "The gt-api-version header does not name a known API version.",
|
|
5283
|
+
"code": "api_version_unsupported"
|
|
5284
|
+
}
|
|
5285
|
+
},
|
|
5286
|
+
"user_ip_missing": {
|
|
5287
|
+
"summary": "user_ip_missing",
|
|
5288
|
+
"value": {
|
|
5289
|
+
"error": "A dashboard-actor token must send the user's IP address header.",
|
|
5290
|
+
"code": "user_ip_missing"
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
},
|
|
5294
|
+
"schema": {
|
|
5295
|
+
"allOf": [
|
|
5296
|
+
{
|
|
5297
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5298
|
+
},
|
|
5299
|
+
{
|
|
5300
|
+
"type": "object",
|
|
5301
|
+
"properties": {
|
|
5302
|
+
"code": {
|
|
5303
|
+
"type": "string",
|
|
5304
|
+
"enum": [
|
|
5305
|
+
"invalid_request",
|
|
5306
|
+
"api_version_unsupported",
|
|
5307
|
+
"user_ip_missing"
|
|
5308
|
+
]
|
|
5309
|
+
}
|
|
5310
|
+
}
|
|
5311
|
+
}
|
|
5312
|
+
]
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5315
|
+
"text/html": {
|
|
5316
|
+
"schema": {
|
|
5317
|
+
"type": "string"
|
|
5318
|
+
}
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
},
|
|
5322
|
+
"401": {
|
|
5323
|
+
"description": "Authentication is missing or invalid.",
|
|
5324
|
+
"content": {
|
|
5325
|
+
"application/json": {
|
|
5326
|
+
"examples": {
|
|
5327
|
+
"unauthenticated": {
|
|
5328
|
+
"summary": "unauthenticated",
|
|
5329
|
+
"value": {
|
|
5330
|
+
"error": "Authentication is missing or invalid.",
|
|
5331
|
+
"code": "unauthenticated"
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5334
|
+
"api_key_invalid": {
|
|
5335
|
+
"summary": "api_key_invalid",
|
|
5336
|
+
"value": {
|
|
5337
|
+
"error": "The API key is not recognized. It may be mistyped, revoked, or rotated.",
|
|
5338
|
+
"code": "api_key_invalid"
|
|
5339
|
+
}
|
|
5340
|
+
},
|
|
5341
|
+
"token_invalid": {
|
|
5342
|
+
"summary": "token_invalid",
|
|
5343
|
+
"value": {
|
|
5344
|
+
"error": "The access token is invalid or expired. Sign in again.",
|
|
5345
|
+
"code": "token_invalid"
|
|
5346
|
+
}
|
|
5347
|
+
},
|
|
5348
|
+
"super_user_grant_revoked": {
|
|
5349
|
+
"summary": "super_user_grant_revoked",
|
|
5350
|
+
"value": {
|
|
5351
|
+
"error": "The super-user access grant behind this token is no longer active.",
|
|
5352
|
+
"code": "super_user_grant_revoked"
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5355
|
+
},
|
|
5356
|
+
"schema": {
|
|
5357
|
+
"allOf": [
|
|
5358
|
+
{
|
|
5359
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
"type": "object",
|
|
5363
|
+
"properties": {
|
|
5364
|
+
"code": {
|
|
5365
|
+
"type": "string",
|
|
5366
|
+
"enum": [
|
|
5367
|
+
"unauthenticated",
|
|
5368
|
+
"api_key_invalid",
|
|
5369
|
+
"token_invalid",
|
|
5370
|
+
"super_user_grant_revoked"
|
|
5371
|
+
]
|
|
5372
|
+
}
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
]
|
|
5376
|
+
}
|
|
5377
|
+
},
|
|
5378
|
+
"text/html": {
|
|
5379
|
+
"schema": {
|
|
5380
|
+
"type": "string"
|
|
5381
|
+
}
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
},
|
|
5385
|
+
"403": {
|
|
5386
|
+
"description": "The caller is authenticated but not allowed to perform this operation or access the requested resource.",
|
|
5387
|
+
"content": {
|
|
5388
|
+
"application/json": {
|
|
5389
|
+
"examples": {
|
|
5390
|
+
"scope_missing": {
|
|
5391
|
+
"summary": "scope_missing",
|
|
5392
|
+
"value": {
|
|
5393
|
+
"error": "The user token lacks an OAuth scope this operation requires. The error names the scope.",
|
|
5394
|
+
"code": "scope_missing"
|
|
5395
|
+
}
|
|
5396
|
+
},
|
|
5397
|
+
"ip_not_allowed": {
|
|
5398
|
+
"summary": "ip_not_allowed",
|
|
5399
|
+
"value": {
|
|
5400
|
+
"error": "The caller's IP address is blocked by the credential's access policy.",
|
|
5401
|
+
"code": "ip_not_allowed"
|
|
5402
|
+
}
|
|
5403
|
+
},
|
|
5404
|
+
"permission_missing": {
|
|
5405
|
+
"summary": "permission_missing",
|
|
5406
|
+
"value": {
|
|
5407
|
+
"error": "The credential lacks a permission this operation requires. The error names the permission.",
|
|
5408
|
+
"code": "permission_missing"
|
|
5409
|
+
}
|
|
5410
|
+
},
|
|
5411
|
+
"target_inaccessible": {
|
|
5412
|
+
"summary": "target_inaccessible",
|
|
5413
|
+
"value": {
|
|
5414
|
+
"error": "The target project or organization does not exist, or the credential cannot access it.",
|
|
5415
|
+
"code": "target_inaccessible"
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
},
|
|
5419
|
+
"schema": {
|
|
5420
|
+
"allOf": [
|
|
5421
|
+
{
|
|
5422
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
"type": "object",
|
|
5426
|
+
"properties": {
|
|
5427
|
+
"code": {
|
|
5428
|
+
"type": "string",
|
|
5429
|
+
"enum": [
|
|
5430
|
+
"scope_missing",
|
|
5431
|
+
"ip_not_allowed",
|
|
5432
|
+
"permission_missing",
|
|
5433
|
+
"target_inaccessible"
|
|
5434
|
+
]
|
|
5435
|
+
}
|
|
5436
|
+
}
|
|
5437
|
+
}
|
|
5438
|
+
]
|
|
5439
|
+
}
|
|
5440
|
+
},
|
|
5441
|
+
"text/html": {
|
|
5442
|
+
"schema": {
|
|
5443
|
+
"type": "string"
|
|
5444
|
+
}
|
|
5445
|
+
}
|
|
5446
|
+
}
|
|
5447
|
+
},
|
|
5448
|
+
"404": {
|
|
5449
|
+
"description": "A translation does not exist. Nothing is written.",
|
|
5450
|
+
"content": {
|
|
5451
|
+
"application/json": {
|
|
5452
|
+
"examples": {
|
|
5453
|
+
"source_file_not_found": {
|
|
5454
|
+
"summary": "source_file_not_found",
|
|
5455
|
+
"value": {
|
|
5456
|
+
"error": "A referenced source file or version does not exist in this project.",
|
|
5457
|
+
"code": "source_file_not_found"
|
|
5458
|
+
}
|
|
5459
|
+
},
|
|
5460
|
+
"not_found": {
|
|
5461
|
+
"summary": "not_found",
|
|
5462
|
+
"value": {
|
|
5463
|
+
"error": "A translation does not exist. Nothing is written.",
|
|
5464
|
+
"code": "not_found"
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
},
|
|
5468
|
+
"schema": {
|
|
5469
|
+
"allOf": [
|
|
5470
|
+
{
|
|
5471
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5472
|
+
},
|
|
5473
|
+
{
|
|
5474
|
+
"type": "object",
|
|
5475
|
+
"properties": {
|
|
5476
|
+
"code": {
|
|
5477
|
+
"type": "string",
|
|
5478
|
+
"enum": ["source_file_not_found", "not_found"]
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
}
|
|
5482
|
+
]
|
|
5483
|
+
}
|
|
5484
|
+
},
|
|
5485
|
+
"text/html": {
|
|
5486
|
+
"schema": {
|
|
5487
|
+
"type": "string"
|
|
5488
|
+
}
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
},
|
|
5492
|
+
"409": {
|
|
5493
|
+
"description": "A source file version belongs to an integration, which owns its metadata. Nothing is written.",
|
|
5494
|
+
"content": {
|
|
5495
|
+
"application/json": {
|
|
5496
|
+
"examples": {
|
|
5497
|
+
"integration_managed_file": {
|
|
5498
|
+
"summary": "integration_managed_file",
|
|
5499
|
+
"value": {
|
|
5500
|
+
"error": "The file belongs to an integration, which owns its metadata. Change it through that integration.",
|
|
5501
|
+
"code": "integration_managed_file"
|
|
5502
|
+
}
|
|
5503
|
+
}
|
|
5504
|
+
},
|
|
5505
|
+
"schema": {
|
|
5506
|
+
"allOf": [
|
|
5507
|
+
{
|
|
5508
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"type": "object",
|
|
5512
|
+
"properties": {
|
|
5513
|
+
"code": {
|
|
5514
|
+
"type": "string",
|
|
5515
|
+
"enum": ["integration_managed_file"]
|
|
5516
|
+
}
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
]
|
|
5520
|
+
}
|
|
5521
|
+
},
|
|
5522
|
+
"text/html": {
|
|
5523
|
+
"schema": {
|
|
5524
|
+
"type": "string"
|
|
5525
|
+
}
|
|
5526
|
+
}
|
|
5527
|
+
}
|
|
5528
|
+
},
|
|
5529
|
+
"413": {
|
|
5530
|
+
"description": "The request, or the data it would return, exceeds a size or item limit.",
|
|
5531
|
+
"content": {
|
|
5532
|
+
"application/json": {
|
|
5533
|
+
"examples": {
|
|
5534
|
+
"payload_too_large": {
|
|
5535
|
+
"summary": "payload_too_large",
|
|
5536
|
+
"value": {
|
|
5537
|
+
"error": "The request, or the data it would return, exceeds a size or item limit.",
|
|
5538
|
+
"code": "payload_too_large"
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
},
|
|
5542
|
+
"schema": {
|
|
5543
|
+
"allOf": [
|
|
5544
|
+
{
|
|
5545
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5546
|
+
},
|
|
5547
|
+
{
|
|
5548
|
+
"type": "object",
|
|
5549
|
+
"properties": {
|
|
5550
|
+
"code": {
|
|
5551
|
+
"type": "string",
|
|
5552
|
+
"enum": ["payload_too_large"]
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
}
|
|
5556
|
+
]
|
|
5557
|
+
}
|
|
5558
|
+
},
|
|
5559
|
+
"text/html": {
|
|
5560
|
+
"schema": {
|
|
5561
|
+
"type": "string"
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
},
|
|
5566
|
+
"415": {
|
|
5567
|
+
"description": "The request body's Content-Type is missing or not supported. Send the body as application/json.",
|
|
5568
|
+
"content": {
|
|
5569
|
+
"application/json": {
|
|
5570
|
+
"examples": {
|
|
5571
|
+
"unsupported_media_type": {
|
|
5572
|
+
"summary": "unsupported_media_type",
|
|
5573
|
+
"value": {
|
|
5574
|
+
"error": "The request body's Content-Type is missing or not supported. Send the body as application/json.",
|
|
5575
|
+
"code": "unsupported_media_type"
|
|
5576
|
+
}
|
|
5577
|
+
}
|
|
5578
|
+
},
|
|
5579
|
+
"schema": {
|
|
5580
|
+
"allOf": [
|
|
5581
|
+
{
|
|
5582
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
"type": "object",
|
|
5586
|
+
"properties": {
|
|
5587
|
+
"code": {
|
|
5588
|
+
"type": "string",
|
|
5589
|
+
"enum": ["unsupported_media_type"]
|
|
5590
|
+
}
|
|
5591
|
+
}
|
|
5592
|
+
}
|
|
5593
|
+
]
|
|
5594
|
+
}
|
|
5595
|
+
},
|
|
5596
|
+
"text/html": {
|
|
5597
|
+
"schema": {
|
|
5598
|
+
"type": "string"
|
|
5599
|
+
}
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
},
|
|
5603
|
+
"429": {
|
|
5604
|
+
"description": "Too many requests. The rate limit was exceeded.",
|
|
5605
|
+
"content": {
|
|
5606
|
+
"application/json": {
|
|
5607
|
+
"examples": {
|
|
5608
|
+
"rate_limited": {
|
|
5609
|
+
"summary": "rate_limited",
|
|
5610
|
+
"value": {
|
|
5611
|
+
"error": "Too many requests. The rate limit was exceeded.",
|
|
5612
|
+
"code": "rate_limited"
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
},
|
|
5616
|
+
"schema": {
|
|
5617
|
+
"allOf": [
|
|
5618
|
+
{
|
|
5619
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
"type": "object",
|
|
5623
|
+
"properties": {
|
|
5624
|
+
"code": {
|
|
5625
|
+
"type": "string",
|
|
5626
|
+
"enum": ["rate_limited"]
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
]
|
|
5631
|
+
}
|
|
5632
|
+
},
|
|
5633
|
+
"text/html": {
|
|
5634
|
+
"schema": {
|
|
5635
|
+
"type": "string"
|
|
5636
|
+
}
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
"500": {
|
|
5641
|
+
"description": "An unexpected server error occurred.",
|
|
5642
|
+
"content": {
|
|
5643
|
+
"application/json": {
|
|
5644
|
+
"examples": {
|
|
5645
|
+
"internal_error": {
|
|
5646
|
+
"summary": "internal_error",
|
|
5647
|
+
"value": {
|
|
5648
|
+
"error": "An unexpected server error occurred.",
|
|
5649
|
+
"code": "internal_error"
|
|
5650
|
+
}
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
"schema": {
|
|
5654
|
+
"allOf": [
|
|
5655
|
+
{
|
|
5656
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5657
|
+
},
|
|
5658
|
+
{
|
|
5659
|
+
"type": "object",
|
|
5660
|
+
"properties": {
|
|
5661
|
+
"code": {
|
|
5662
|
+
"type": "string",
|
|
5663
|
+
"enum": ["internal_error"]
|
|
5664
|
+
}
|
|
5665
|
+
}
|
|
5666
|
+
}
|
|
5667
|
+
]
|
|
5668
|
+
}
|
|
5669
|
+
},
|
|
5670
|
+
"text/html": {
|
|
5671
|
+
"schema": {
|
|
5672
|
+
"type": "string"
|
|
5673
|
+
}
|
|
5674
|
+
}
|
|
5675
|
+
}
|
|
5676
|
+
}
|
|
5677
|
+
},
|
|
5678
|
+
"tags": ["Files"]
|
|
5679
|
+
}
|
|
5680
|
+
},
|
|
5125
5681
|
"/v2/project/info/{projectId}": {
|
|
5126
5682
|
"get": {
|
|
5127
5683
|
"operationId": "getProjectInfo",
|
|
@@ -7872,6 +8428,16 @@
|
|
|
7872
8428
|
"formatMetadata": {
|
|
7873
8429
|
"type": "object",
|
|
7874
8430
|
"additionalProperties": {}
|
|
8431
|
+
},
|
|
8432
|
+
"metadata": {
|
|
8433
|
+
"type": "object",
|
|
8434
|
+
"properties": {
|
|
8435
|
+
"previewUrl": {
|
|
8436
|
+
"type": "string",
|
|
8437
|
+
"format": "uri",
|
|
8438
|
+
"description": "Page that shows this version of the file."
|
|
8439
|
+
}
|
|
8440
|
+
}
|
|
7875
8441
|
}
|
|
7876
8442
|
},
|
|
7877
8443
|
"required": [
|
|
@@ -8663,6 +9229,16 @@
|
|
|
8663
9229
|
"formatMetadata": {
|
|
8664
9230
|
"type": "object",
|
|
8665
9231
|
"additionalProperties": {}
|
|
9232
|
+
},
|
|
9233
|
+
"metadata": {
|
|
9234
|
+
"type": "object",
|
|
9235
|
+
"properties": {
|
|
9236
|
+
"previewUrl": {
|
|
9237
|
+
"type": "string",
|
|
9238
|
+
"format": "uri",
|
|
9239
|
+
"description": "Page that shows this version of the file."
|
|
9240
|
+
}
|
|
9241
|
+
}
|
|
8666
9242
|
}
|
|
8667
9243
|
},
|
|
8668
9244
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generaltranslation",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.10",
|
|
4
4
|
"description": "A language toolkit for AI developers",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@noble/hashes": "^2.2.0",
|
|
43
|
-
"@generaltranslation/api": "0.5.
|
|
43
|
+
"@generaltranslation/api": "0.5.7",
|
|
44
44
|
"@generaltranslation/icu": "0.1.2",
|
|
45
45
|
"@generaltranslation/format": "0.1.9"
|
|
46
46
|
},
|