@crowdin/n8n-nodes-crowdin 0.13.0 → 0.15.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/nodes/Crowdin/properties/crowdin/fileBased/ai.js +526 -311
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +133 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js +27 -27
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +526 -311
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +133 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js +8 -8
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +527 -312
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +133 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js +27 -27
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +527 -312
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +133 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js +8 -9
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3293,6 +3293,20 @@ exports.aiProperties = [
|
|
|
3293
3293
|
typeOptions: {
|
|
3294
3294
|
password: true
|
|
3295
3295
|
}
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
displayName: 'Base Url',
|
|
3299
|
+
name: 'baseUrl',
|
|
3300
|
+
type: 'string',
|
|
3301
|
+
default: '',
|
|
3302
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
displayName: 'Headers',
|
|
3306
|
+
name: 'json:headers',
|
|
3307
|
+
type: 'json',
|
|
3308
|
+
default: '{}',
|
|
3309
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3296
3310
|
}
|
|
3297
3311
|
]
|
|
3298
3312
|
},
|
|
@@ -3330,6 +3344,20 @@ exports.aiProperties = [
|
|
|
3330
3344
|
type: 'string',
|
|
3331
3345
|
default: '',
|
|
3332
3346
|
required: true
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
displayName: 'Base Url',
|
|
3350
|
+
name: 'baseUrl',
|
|
3351
|
+
type: 'string',
|
|
3352
|
+
default: '',
|
|
3353
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
displayName: 'Headers',
|
|
3357
|
+
name: 'json:headers',
|
|
3358
|
+
type: 'json',
|
|
3359
|
+
default: '{}',
|
|
3360
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3333
3361
|
}
|
|
3334
3362
|
]
|
|
3335
3363
|
},
|
|
@@ -3357,6 +3385,20 @@ exports.aiProperties = [
|
|
|
3357
3385
|
type: 'json',
|
|
3358
3386
|
default: '{}',
|
|
3359
3387
|
required: true
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
displayName: 'Base Url',
|
|
3391
|
+
name: 'baseUrl',
|
|
3392
|
+
type: 'string',
|
|
3393
|
+
default: '',
|
|
3394
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
displayName: 'Headers',
|
|
3398
|
+
name: 'json:headers',
|
|
3399
|
+
type: 'json',
|
|
3400
|
+
default: '{}',
|
|
3401
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3360
3402
|
}
|
|
3361
3403
|
]
|
|
3362
3404
|
},
|
|
@@ -3374,6 +3416,20 @@ exports.aiProperties = [
|
|
|
3374
3416
|
typeOptions: {
|
|
3375
3417
|
password: true
|
|
3376
3418
|
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
displayName: 'Base Url',
|
|
3422
|
+
name: 'baseUrl',
|
|
3423
|
+
type: 'string',
|
|
3424
|
+
default: '',
|
|
3425
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
displayName: 'Headers',
|
|
3429
|
+
name: 'json:headers',
|
|
3430
|
+
type: 'json',
|
|
3431
|
+
default: '{}',
|
|
3432
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3377
3433
|
}
|
|
3378
3434
|
]
|
|
3379
3435
|
},
|
|
@@ -3390,6 +3446,20 @@ exports.aiProperties = [
|
|
|
3390
3446
|
typeOptions: {
|
|
3391
3447
|
password: true
|
|
3392
3448
|
}
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
displayName: 'Base Url',
|
|
3452
|
+
name: 'baseUrl',
|
|
3453
|
+
type: 'string',
|
|
3454
|
+
default: '',
|
|
3455
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
displayName: 'Headers',
|
|
3459
|
+
name: 'json:headers',
|
|
3460
|
+
type: 'json',
|
|
3461
|
+
default: '{}',
|
|
3462
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3393
3463
|
}
|
|
3394
3464
|
]
|
|
3395
3465
|
},
|
|
@@ -3406,6 +3476,20 @@ exports.aiProperties = [
|
|
|
3406
3476
|
typeOptions: {
|
|
3407
3477
|
password: true
|
|
3408
3478
|
}
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
displayName: 'Base Url',
|
|
3482
|
+
name: 'baseUrl',
|
|
3483
|
+
type: 'string',
|
|
3484
|
+
default: '',
|
|
3485
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
displayName: 'Headers',
|
|
3489
|
+
name: 'json:headers',
|
|
3490
|
+
type: 'json',
|
|
3491
|
+
default: '{}',
|
|
3492
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3409
3493
|
}
|
|
3410
3494
|
]
|
|
3411
3495
|
},
|
|
@@ -3422,6 +3506,20 @@ exports.aiProperties = [
|
|
|
3422
3506
|
typeOptions: {
|
|
3423
3507
|
password: true
|
|
3424
3508
|
}
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
displayName: 'Base Url',
|
|
3512
|
+
name: 'baseUrl',
|
|
3513
|
+
type: 'string',
|
|
3514
|
+
default: '',
|
|
3515
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
displayName: 'Headers',
|
|
3519
|
+
name: 'json:headers',
|
|
3520
|
+
type: 'json',
|
|
3521
|
+
default: '{}',
|
|
3522
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3425
3523
|
}
|
|
3426
3524
|
]
|
|
3427
3525
|
},
|
|
@@ -3452,6 +3550,20 @@ exports.aiProperties = [
|
|
|
3452
3550
|
type: 'string',
|
|
3453
3551
|
default: '',
|
|
3454
3552
|
required: true
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
displayName: 'Base Url',
|
|
3556
|
+
name: 'baseUrl',
|
|
3557
|
+
type: 'string',
|
|
3558
|
+
default: '',
|
|
3559
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
displayName: 'Headers',
|
|
3563
|
+
name: 'json:headers',
|
|
3564
|
+
type: 'json',
|
|
3565
|
+
default: '{}',
|
|
3566
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3455
3567
|
}
|
|
3456
3568
|
]
|
|
3457
3569
|
},
|
|
@@ -3468,6 +3580,20 @@ exports.aiProperties = [
|
|
|
3468
3580
|
typeOptions: {
|
|
3469
3581
|
password: true
|
|
3470
3582
|
}
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
displayName: 'Base Url',
|
|
3586
|
+
name: 'baseUrl',
|
|
3587
|
+
type: 'string',
|
|
3588
|
+
default: '',
|
|
3589
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
displayName: 'Headers',
|
|
3593
|
+
name: 'json:headers',
|
|
3594
|
+
type: 'json',
|
|
3595
|
+
default: '{}',
|
|
3596
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
3471
3597
|
}
|
|
3472
3598
|
]
|
|
3473
3599
|
},
|
|
@@ -4132,20 +4258,11 @@ exports.aiProperties = [
|
|
|
4132
4258
|
}
|
|
4133
4259
|
},
|
|
4134
4260
|
{
|
|
4135
|
-
displayName: '
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
type: 'fixedCollection',
|
|
4261
|
+
displayName: 'Body',
|
|
4262
|
+
name: '_body',
|
|
4263
|
+
description: 'Select configuration type',
|
|
4139
4264
|
default: {},
|
|
4140
|
-
|
|
4141
|
-
routing: {
|
|
4142
|
-
send: {
|
|
4143
|
-
property: 'strings',
|
|
4144
|
-
propertyInDotNotation: false,
|
|
4145
|
-
type: 'body',
|
|
4146
|
-
value: '={{ $value.items?.map(i => i._value) || undefined }}'
|
|
4147
|
-
}
|
|
4148
|
-
},
|
|
4265
|
+
type: 'fixedCollection',
|
|
4149
4266
|
displayOptions: {
|
|
4150
4267
|
show: {
|
|
4151
4268
|
resource: [
|
|
@@ -4156,322 +4273,294 @@ exports.aiProperties = [
|
|
|
4156
4273
|
]
|
|
4157
4274
|
}
|
|
4158
4275
|
},
|
|
4159
|
-
typeOptions: {
|
|
4160
|
-
multipleValues: true
|
|
4161
|
-
},
|
|
4162
|
-
placeholder: 'Add Item',
|
|
4163
4276
|
options: [
|
|
4164
4277
|
{
|
|
4165
|
-
displayName: '
|
|
4166
|
-
name: '
|
|
4278
|
+
displayName: 'Ai Translate By Prompt Form',
|
|
4279
|
+
name: '_aiTranslateByPromptForm',
|
|
4167
4280
|
values: [
|
|
4168
4281
|
{
|
|
4169
|
-
displayName: '
|
|
4170
|
-
name: '
|
|
4171
|
-
type: '
|
|
4172
|
-
|
|
4282
|
+
displayName: 'Strings',
|
|
4283
|
+
name: 'strings',
|
|
4284
|
+
type: 'fixedCollection',
|
|
4285
|
+
typeOptions: {
|
|
4286
|
+
multipleValues: true
|
|
4287
|
+
},
|
|
4288
|
+
default: {},
|
|
4289
|
+
description: 'Array of strings to translate (max 500 strings, each max 10000 characters)',
|
|
4290
|
+
placeholder: 'Add Item',
|
|
4291
|
+
options: [
|
|
4292
|
+
{
|
|
4293
|
+
displayName: 'Items',
|
|
4294
|
+
name: 'items',
|
|
4295
|
+
values: [
|
|
4296
|
+
{
|
|
4297
|
+
displayName: 'Value',
|
|
4298
|
+
name: '_value',
|
|
4299
|
+
type: 'string',
|
|
4300
|
+
default: '',
|
|
4301
|
+
description: undefined
|
|
4302
|
+
}
|
|
4303
|
+
]
|
|
4304
|
+
}
|
|
4305
|
+
],
|
|
4306
|
+
required: true
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
displayName: 'Source Language Id',
|
|
4310
|
+
name: 'sourceLanguageId',
|
|
4311
|
+
type: 'options',
|
|
4312
|
+
default: '',
|
|
4313
|
+
description: 'Source Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany). If not specified, auto-detection will be used.',
|
|
4314
|
+
typeOptions: {
|
|
4315
|
+
loadOptionsMethod: 'getLanguages'
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
displayName: 'Target Language Id',
|
|
4320
|
+
name: 'targetLanguageId',
|
|
4321
|
+
type: 'options',
|
|
4322
|
+
default: '',
|
|
4323
|
+
description: 'Target Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)',
|
|
4324
|
+
required: true,
|
|
4325
|
+
typeOptions: {
|
|
4326
|
+
loadOptionsMethod: 'getLanguages'
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
displayName: 'Tm Ids',
|
|
4331
|
+
name: 'tmIds',
|
|
4332
|
+
type: 'multiOptions',
|
|
4333
|
+
typeOptions: {
|
|
4334
|
+
loadOptionsMethod: 'getTranslationMemoriesMulti'
|
|
4335
|
+
},
|
|
4336
|
+
default: [],
|
|
4337
|
+
description: 'Array of Translation Memory Identifiers. Get via [List TMs](#operation/api.tms.getMany)'
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
displayName: 'Glossary Ids',
|
|
4341
|
+
name: 'glossaryIds',
|
|
4342
|
+
type: 'multiOptions',
|
|
4343
|
+
typeOptions: {
|
|
4344
|
+
loadOptionsMethod: 'getGlossariesMulti'
|
|
4345
|
+
},
|
|
4346
|
+
default: [],
|
|
4347
|
+
description: 'Array of Glossary Identifiers. Get via [List Glossaries](#operation/api.glossaries.getMany)'
|
|
4348
|
+
},
|
|
4349
|
+
{
|
|
4350
|
+
displayName: 'Style Guide Ids',
|
|
4351
|
+
name: 'styleGuideIds',
|
|
4352
|
+
type: 'multiOptions',
|
|
4353
|
+
typeOptions: {
|
|
4354
|
+
loadOptionsMethod: 'getStyleGuidesMulti'
|
|
4355
|
+
},
|
|
4356
|
+
default: [],
|
|
4357
|
+
description: 'Array of Style Guide Identifiers. Get via [List Style Guides](#operation/api.style-guides.getMany)'
|
|
4358
|
+
},
|
|
4359
|
+
{
|
|
4360
|
+
displayName: 'Instructions',
|
|
4361
|
+
name: 'instructions',
|
|
4362
|
+
type: 'fixedCollection',
|
|
4363
|
+
typeOptions: {
|
|
4364
|
+
multipleValues: true
|
|
4365
|
+
},
|
|
4366
|
+
default: {},
|
|
4367
|
+
description: 'Custom instructions for translation',
|
|
4368
|
+
placeholder: 'Add Item',
|
|
4369
|
+
options: [
|
|
4370
|
+
{
|
|
4371
|
+
displayName: 'Items',
|
|
4372
|
+
name: 'items',
|
|
4373
|
+
values: [
|
|
4374
|
+
{
|
|
4375
|
+
displayName: 'Value',
|
|
4376
|
+
name: '_value',
|
|
4377
|
+
type: 'string',
|
|
4378
|
+
default: '',
|
|
4379
|
+
description: undefined
|
|
4380
|
+
}
|
|
4381
|
+
]
|
|
4382
|
+
}
|
|
4383
|
+
]
|
|
4384
|
+
},
|
|
4385
|
+
{
|
|
4386
|
+
displayName: 'Attachment Ids',
|
|
4387
|
+
name: 'attachmentIds',
|
|
4388
|
+
type: 'multiOptions',
|
|
4389
|
+
typeOptions: {
|
|
4390
|
+
loadOptionsMethod: 'getStoragesMulti'
|
|
4391
|
+
},
|
|
4392
|
+
default: [],
|
|
4393
|
+
description: 'Storage IDs of images to pass to AI as attachments (max 10). Get via [List Storages](#operation/api.storages.getMany)\n\nOnly image files are allowed:\n * jpeg\n * jpg\n * png\n * gif\n * webp'
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
displayName: 'Ai Prompt Id',
|
|
4397
|
+
name: 'aiPromptId',
|
|
4398
|
+
type: 'options',
|
|
4399
|
+
default: '',
|
|
4400
|
+
description: 'Pre-Translation Prompt Identifier. Get via [List Prompts](#operation/api.ai.prompts.getMany)\n\n__Note:__ Can\'t be used with `aiProviderId` or `aiModelId` in same request',
|
|
4401
|
+
required: true,
|
|
4402
|
+
typeOptions: {
|
|
4403
|
+
loadOptionsMethod: 'getAiPrompts'
|
|
4404
|
+
}
|
|
4173
4405
|
}
|
|
4174
4406
|
]
|
|
4175
|
-
}
|
|
4176
|
-
]
|
|
4177
|
-
},
|
|
4178
|
-
{
|
|
4179
|
-
displayName: 'Source Language Id',
|
|
4180
|
-
name: 'sourceLanguageId',
|
|
4181
|
-
type: 'options',
|
|
4182
|
-
default: '',
|
|
4183
|
-
description: 'Source Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany). If not specified, auto-detection will be used.',
|
|
4184
|
-
routing: {
|
|
4185
|
-
send: {
|
|
4186
|
-
property: 'sourceLanguageId',
|
|
4187
|
-
propertyInDotNotation: false,
|
|
4188
|
-
type: 'body',
|
|
4189
|
-
value: '={{ $value || undefined }}'
|
|
4190
|
-
}
|
|
4191
|
-
},
|
|
4192
|
-
displayOptions: {
|
|
4193
|
-
show: {
|
|
4194
|
-
resource: [
|
|
4195
|
-
'ai'
|
|
4196
|
-
],
|
|
4197
|
-
operation: [
|
|
4198
|
-
'api.users.ai.translate.strings.post'
|
|
4199
|
-
]
|
|
4200
|
-
}
|
|
4201
|
-
},
|
|
4202
|
-
typeOptions: {
|
|
4203
|
-
loadOptionsMethod: 'getLanguages'
|
|
4204
|
-
}
|
|
4205
|
-
},
|
|
4206
|
-
{
|
|
4207
|
-
displayName: 'Target Language Id',
|
|
4208
|
-
required: true,
|
|
4209
|
-
name: 'targetLanguageId',
|
|
4210
|
-
type: 'options',
|
|
4211
|
-
default: '',
|
|
4212
|
-
description: 'Target Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)',
|
|
4213
|
-
routing: {
|
|
4214
|
-
send: {
|
|
4215
|
-
property: 'targetLanguageId',
|
|
4216
|
-
propertyInDotNotation: false,
|
|
4217
|
-
type: 'body',
|
|
4218
|
-
value: '={{ $value || undefined }}'
|
|
4219
|
-
}
|
|
4220
|
-
},
|
|
4221
|
-
displayOptions: {
|
|
4222
|
-
show: {
|
|
4223
|
-
resource: [
|
|
4224
|
-
'ai'
|
|
4225
|
-
],
|
|
4226
|
-
operation: [
|
|
4227
|
-
'api.users.ai.translate.strings.post'
|
|
4228
|
-
]
|
|
4229
|
-
}
|
|
4230
|
-
},
|
|
4231
|
-
typeOptions: {
|
|
4232
|
-
loadOptionsMethod: 'getLanguages'
|
|
4233
|
-
}
|
|
4234
|
-
},
|
|
4235
|
-
{
|
|
4236
|
-
displayName: 'Tm Ids',
|
|
4237
|
-
name: 'tmIds',
|
|
4238
|
-
type: 'multiOptions',
|
|
4239
|
-
default: [],
|
|
4240
|
-
description: 'Array of Translation Memory Identifiers. Get via [List TMs](#operation/api.tms.getMany)',
|
|
4241
|
-
routing: {
|
|
4242
|
-
send: {
|
|
4243
|
-
property: 'tmIds',
|
|
4244
|
-
propertyInDotNotation: false,
|
|
4245
|
-
type: 'body',
|
|
4246
|
-
value: '={{ $value }}'
|
|
4247
|
-
}
|
|
4248
|
-
},
|
|
4249
|
-
displayOptions: {
|
|
4250
|
-
show: {
|
|
4251
|
-
resource: [
|
|
4252
|
-
'ai'
|
|
4253
|
-
],
|
|
4254
|
-
operation: [
|
|
4255
|
-
'api.users.ai.translate.strings.post'
|
|
4256
|
-
]
|
|
4257
|
-
}
|
|
4258
|
-
},
|
|
4259
|
-
typeOptions: {
|
|
4260
|
-
loadOptionsMethod: 'getTranslationMemoriesMulti'
|
|
4261
|
-
}
|
|
4262
|
-
},
|
|
4263
|
-
{
|
|
4264
|
-
displayName: 'Glossary Ids',
|
|
4265
|
-
name: 'glossaryIds',
|
|
4266
|
-
type: 'multiOptions',
|
|
4267
|
-
default: [],
|
|
4268
|
-
description: 'Array of Glossary Identifiers. Get via [List Glossaries](#operation/api.glossaries.getMany)',
|
|
4269
|
-
routing: {
|
|
4270
|
-
send: {
|
|
4271
|
-
property: 'glossaryIds',
|
|
4272
|
-
propertyInDotNotation: false,
|
|
4273
|
-
type: 'body',
|
|
4274
|
-
value: '={{ $value }}'
|
|
4275
|
-
}
|
|
4276
|
-
},
|
|
4277
|
-
displayOptions: {
|
|
4278
|
-
show: {
|
|
4279
|
-
resource: [
|
|
4280
|
-
'ai'
|
|
4281
|
-
],
|
|
4282
|
-
operation: [
|
|
4283
|
-
'api.users.ai.translate.strings.post'
|
|
4284
|
-
]
|
|
4285
|
-
}
|
|
4286
|
-
},
|
|
4287
|
-
typeOptions: {
|
|
4288
|
-
loadOptionsMethod: 'getGlossariesMulti'
|
|
4289
|
-
}
|
|
4290
|
-
},
|
|
4291
|
-
{
|
|
4292
|
-
displayName: 'Style Guide Ids',
|
|
4293
|
-
name: 'styleGuideIds',
|
|
4294
|
-
type: 'multiOptions',
|
|
4295
|
-
default: [],
|
|
4296
|
-
description: 'Array of Style Guide Identifiers. Get via [List Style Guides](#operation/api.style-guides.getMany)',
|
|
4297
|
-
routing: {
|
|
4298
|
-
send: {
|
|
4299
|
-
property: 'styleGuideIds',
|
|
4300
|
-
propertyInDotNotation: false,
|
|
4301
|
-
type: 'body',
|
|
4302
|
-
value: '={{ $value }}'
|
|
4303
|
-
}
|
|
4304
|
-
},
|
|
4305
|
-
displayOptions: {
|
|
4306
|
-
show: {
|
|
4307
|
-
resource: [
|
|
4308
|
-
'ai'
|
|
4309
|
-
],
|
|
4310
|
-
operation: [
|
|
4311
|
-
'api.users.ai.translate.strings.post'
|
|
4312
|
-
]
|
|
4313
|
-
}
|
|
4314
|
-
},
|
|
4315
|
-
typeOptions: {
|
|
4316
|
-
loadOptionsMethod: 'getStyleGuidesMulti'
|
|
4317
|
-
}
|
|
4318
|
-
},
|
|
4319
|
-
{
|
|
4320
|
-
displayName: 'Ai Prompt Id',
|
|
4321
|
-
name: 'aiPromptId',
|
|
4322
|
-
type: 'options',
|
|
4323
|
-
default: '',
|
|
4324
|
-
description: 'Pre-Translation Prompt Identifier. Get via [List Prompts](#operation/api.ai.prompts.getMany)\n\n__Note:__ Can\'t be used with `aiProviderId` or `aiModelId` in same request',
|
|
4325
|
-
routing: {
|
|
4326
|
-
send: {
|
|
4327
|
-
property: 'aiPromptId',
|
|
4328
|
-
propertyInDotNotation: false,
|
|
4329
|
-
type: 'body',
|
|
4330
|
-
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
4331
|
-
}
|
|
4332
|
-
},
|
|
4333
|
-
displayOptions: {
|
|
4334
|
-
show: {
|
|
4335
|
-
resource: [
|
|
4336
|
-
'ai'
|
|
4337
|
-
],
|
|
4338
|
-
operation: [
|
|
4339
|
-
'api.users.ai.translate.strings.post'
|
|
4340
|
-
]
|
|
4341
|
-
}
|
|
4342
|
-
},
|
|
4343
|
-
typeOptions: {
|
|
4344
|
-
loadOptionsMethod: 'getAiPrompts'
|
|
4345
|
-
}
|
|
4346
|
-
},
|
|
4347
|
-
{
|
|
4348
|
-
displayName: 'Ai Provider Id',
|
|
4349
|
-
name: 'aiProviderId',
|
|
4350
|
-
type: 'options',
|
|
4351
|
-
default: '',
|
|
4352
|
-
description: 'AI Provider Identifier. Get via [List AI Providers](#operation/api.ai.providers.getMany)\n\n__Note:__ Must be used together with `aiModelId`. Can\'t be used with `aiPromptId` in same request',
|
|
4353
|
-
routing: {
|
|
4354
|
-
send: {
|
|
4355
|
-
property: 'aiProviderId',
|
|
4356
|
-
propertyInDotNotation: false,
|
|
4357
|
-
type: 'body',
|
|
4358
|
-
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
4359
|
-
}
|
|
4360
|
-
},
|
|
4361
|
-
displayOptions: {
|
|
4362
|
-
show: {
|
|
4363
|
-
resource: [
|
|
4364
|
-
'ai'
|
|
4365
|
-
],
|
|
4366
|
-
operation: [
|
|
4367
|
-
'api.users.ai.translate.strings.post'
|
|
4368
|
-
]
|
|
4369
|
-
}
|
|
4370
|
-
},
|
|
4371
|
-
typeOptions: {
|
|
4372
|
-
loadOptionsMethod: 'getAiProviders'
|
|
4373
|
-
}
|
|
4374
|
-
},
|
|
4375
|
-
{
|
|
4376
|
-
displayName: 'Ai Model Id',
|
|
4377
|
-
name: 'aiModelId',
|
|
4378
|
-
type: 'options',
|
|
4379
|
-
default: '',
|
|
4380
|
-
description: 'AI Model ID. Get via [List AI Provider Models](#operation/api.ai.providers.models.getMany)\n\n__Note:__ Must be used together with `aiProviderId`. Can\'t be used with `aiPromptId` in same request',
|
|
4381
|
-
routing: {
|
|
4382
|
-
send: {
|
|
4383
|
-
property: 'aiModelId',
|
|
4384
|
-
propertyInDotNotation: false,
|
|
4385
|
-
type: 'body',
|
|
4386
|
-
value: '={{ $value || undefined }}'
|
|
4387
|
-
}
|
|
4388
|
-
},
|
|
4389
|
-
displayOptions: {
|
|
4390
|
-
show: {
|
|
4391
|
-
resource: [
|
|
4392
|
-
'ai'
|
|
4393
|
-
],
|
|
4394
|
-
operation: [
|
|
4395
|
-
'api.users.ai.translate.strings.post'
|
|
4396
|
-
]
|
|
4397
|
-
}
|
|
4398
|
-
},
|
|
4399
|
-
typeOptions: {
|
|
4400
|
-
loadOptionsMethod: 'getAiProviderModels',
|
|
4401
|
-
loadOptionsDependsOn: [
|
|
4402
|
-
'aiProviderId'
|
|
4403
|
-
]
|
|
4404
|
-
}
|
|
4405
|
-
},
|
|
4406
|
-
{
|
|
4407
|
-
displayName: 'Instructions',
|
|
4408
|
-
name: 'instructions',
|
|
4409
|
-
type: 'fixedCollection',
|
|
4410
|
-
default: {},
|
|
4411
|
-
description: 'Custom instructions for translation',
|
|
4412
|
-
routing: {
|
|
4413
|
-
send: {
|
|
4414
|
-
property: 'instructions',
|
|
4415
|
-
propertyInDotNotation: false,
|
|
4416
|
-
type: 'body',
|
|
4417
|
-
value: '={{ $value.items?.map(i => i._value) || undefined }}'
|
|
4418
|
-
}
|
|
4419
|
-
},
|
|
4420
|
-
displayOptions: {
|
|
4421
|
-
show: {
|
|
4422
|
-
resource: [
|
|
4423
|
-
'ai'
|
|
4424
|
-
],
|
|
4425
|
-
operation: [
|
|
4426
|
-
'api.users.ai.translate.strings.post'
|
|
4427
|
-
]
|
|
4428
|
-
}
|
|
4429
|
-
},
|
|
4430
|
-
typeOptions: {
|
|
4431
|
-
multipleValues: true
|
|
4432
|
-
},
|
|
4433
|
-
placeholder: 'Add Item',
|
|
4434
|
-
options: [
|
|
4407
|
+
},
|
|
4435
4408
|
{
|
|
4436
|
-
displayName: '
|
|
4437
|
-
name: '
|
|
4409
|
+
displayName: 'Ai Translate By Provider Model Form',
|
|
4410
|
+
name: '_aiTranslateByProviderModelForm',
|
|
4438
4411
|
values: [
|
|
4439
4412
|
{
|
|
4440
|
-
displayName: '
|
|
4441
|
-
name: '
|
|
4442
|
-
type: '
|
|
4443
|
-
|
|
4413
|
+
displayName: 'Strings',
|
|
4414
|
+
name: 'strings',
|
|
4415
|
+
type: 'fixedCollection',
|
|
4416
|
+
typeOptions: {
|
|
4417
|
+
multipleValues: true
|
|
4418
|
+
},
|
|
4419
|
+
default: {},
|
|
4420
|
+
description: 'Array of strings to translate (max 500 strings, each max 10000 characters)',
|
|
4421
|
+
placeholder: 'Add Item',
|
|
4422
|
+
options: [
|
|
4423
|
+
{
|
|
4424
|
+
displayName: 'Items',
|
|
4425
|
+
name: 'items',
|
|
4426
|
+
values: [
|
|
4427
|
+
{
|
|
4428
|
+
displayName: 'Value',
|
|
4429
|
+
name: '_value',
|
|
4430
|
+
type: 'string',
|
|
4431
|
+
default: '',
|
|
4432
|
+
description: undefined
|
|
4433
|
+
}
|
|
4434
|
+
]
|
|
4435
|
+
}
|
|
4436
|
+
],
|
|
4437
|
+
required: true
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
displayName: 'Source Language Id',
|
|
4441
|
+
name: 'sourceLanguageId',
|
|
4442
|
+
type: 'options',
|
|
4443
|
+
default: '',
|
|
4444
|
+
description: 'Source Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany). If not specified, auto-detection will be used.',
|
|
4445
|
+
typeOptions: {
|
|
4446
|
+
loadOptionsMethod: 'getLanguages'
|
|
4447
|
+
}
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
displayName: 'Target Language Id',
|
|
4451
|
+
name: 'targetLanguageId',
|
|
4452
|
+
type: 'options',
|
|
4453
|
+
default: '',
|
|
4454
|
+
description: 'Target Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)',
|
|
4455
|
+
required: true,
|
|
4456
|
+
typeOptions: {
|
|
4457
|
+
loadOptionsMethod: 'getLanguages'
|
|
4458
|
+
}
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
displayName: 'Tm Ids',
|
|
4462
|
+
name: 'tmIds',
|
|
4463
|
+
type: 'multiOptions',
|
|
4464
|
+
typeOptions: {
|
|
4465
|
+
loadOptionsMethod: 'getTranslationMemoriesMulti'
|
|
4466
|
+
},
|
|
4467
|
+
default: [],
|
|
4468
|
+
description: 'Array of Translation Memory Identifiers. Get via [List TMs](#operation/api.tms.getMany)'
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
displayName: 'Glossary Ids',
|
|
4472
|
+
name: 'glossaryIds',
|
|
4473
|
+
type: 'multiOptions',
|
|
4474
|
+
typeOptions: {
|
|
4475
|
+
loadOptionsMethod: 'getGlossariesMulti'
|
|
4476
|
+
},
|
|
4477
|
+
default: [],
|
|
4478
|
+
description: 'Array of Glossary Identifiers. Get via [List Glossaries](#operation/api.glossaries.getMany)'
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
displayName: 'Style Guide Ids',
|
|
4482
|
+
name: 'styleGuideIds',
|
|
4483
|
+
type: 'multiOptions',
|
|
4484
|
+
typeOptions: {
|
|
4485
|
+
loadOptionsMethod: 'getStyleGuidesMulti'
|
|
4486
|
+
},
|
|
4487
|
+
default: [],
|
|
4488
|
+
description: 'Array of Style Guide Identifiers. Get via [List Style Guides](#operation/api.style-guides.getMany)'
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
displayName: 'Instructions',
|
|
4492
|
+
name: 'instructions',
|
|
4493
|
+
type: 'fixedCollection',
|
|
4494
|
+
typeOptions: {
|
|
4495
|
+
multipleValues: true
|
|
4496
|
+
},
|
|
4497
|
+
default: {},
|
|
4498
|
+
description: 'Custom instructions for translation',
|
|
4499
|
+
placeholder: 'Add Item',
|
|
4500
|
+
options: [
|
|
4501
|
+
{
|
|
4502
|
+
displayName: 'Items',
|
|
4503
|
+
name: 'items',
|
|
4504
|
+
values: [
|
|
4505
|
+
{
|
|
4506
|
+
displayName: 'Value',
|
|
4507
|
+
name: '_value',
|
|
4508
|
+
type: 'string',
|
|
4509
|
+
default: '',
|
|
4510
|
+
description: undefined
|
|
4511
|
+
}
|
|
4512
|
+
]
|
|
4513
|
+
}
|
|
4514
|
+
]
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
displayName: 'Attachment Ids',
|
|
4518
|
+
name: 'attachmentIds',
|
|
4519
|
+
type: 'multiOptions',
|
|
4520
|
+
typeOptions: {
|
|
4521
|
+
loadOptionsMethod: 'getStoragesMulti'
|
|
4522
|
+
},
|
|
4523
|
+
default: [],
|
|
4524
|
+
description: 'Storage IDs of images to pass to AI as attachments (max 10). Get via [List Storages](#operation/api.storages.getMany)\n\nOnly image files are allowed:\n * jpeg\n * jpg\n * png\n * gif\n * webp'
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
displayName: 'Ai Provider Id',
|
|
4528
|
+
name: 'aiProviderId',
|
|
4529
|
+
type: 'options',
|
|
4530
|
+
default: '',
|
|
4531
|
+
description: 'AI Provider Identifier. Get via [List AI Providers](#operation/api.ai.providers.getMany)\n\n__Note:__ Must be used together with `aiModelId`. Can\'t be used with `aiPromptId` in same request',
|
|
4532
|
+
required: true,
|
|
4533
|
+
typeOptions: {
|
|
4534
|
+
loadOptionsMethod: 'getAiProviders'
|
|
4535
|
+
}
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
displayName: 'Ai Model Id',
|
|
4539
|
+
name: 'aiModelId',
|
|
4540
|
+
type: 'options',
|
|
4541
|
+
default: '',
|
|
4542
|
+
description: 'AI Model ID. Get via [List AI Provider Models](#operation/api.ai.providers.models.getMany)\n\n__Note:__ Must be used together with `aiProviderId`. Can\'t be used with `aiPromptId` in same request',
|
|
4543
|
+
required: true,
|
|
4544
|
+
typeOptions: {
|
|
4545
|
+
loadOptionsMethod: 'getAiProviderModels',
|
|
4546
|
+
loadOptionsDependsOn: [
|
|
4547
|
+
'aiProviderId'
|
|
4548
|
+
]
|
|
4549
|
+
}
|
|
4444
4550
|
}
|
|
4445
4551
|
]
|
|
4446
4552
|
}
|
|
4447
|
-
]
|
|
4448
|
-
},
|
|
4449
|
-
{
|
|
4450
|
-
displayName: 'Attachment Ids',
|
|
4451
|
-
name: 'attachmentIds',
|
|
4452
|
-
type: 'multiOptions',
|
|
4453
|
-
default: [],
|
|
4454
|
-
description: 'Storage IDs of images to pass to AI as attachments (max 10). Get via [List Storages](#operation/api.storages.getMany)\n\nOnly image files are allowed:\n * jpeg\n * jpg\n * png\n * gif\n * webp',
|
|
4553
|
+
],
|
|
4455
4554
|
routing: {
|
|
4456
4555
|
send: {
|
|
4457
|
-
|
|
4556
|
+
preSend: [
|
|
4557
|
+
preSend_1.normalizeRootBody
|
|
4558
|
+
],
|
|
4559
|
+
property: '_body',
|
|
4458
4560
|
propertyInDotNotation: false,
|
|
4459
4561
|
type: 'body',
|
|
4460
4562
|
value: '={{ $value }}'
|
|
4461
4563
|
}
|
|
4462
|
-
},
|
|
4463
|
-
displayOptions: {
|
|
4464
|
-
show: {
|
|
4465
|
-
resource: [
|
|
4466
|
-
'ai'
|
|
4467
|
-
],
|
|
4468
|
-
operation: [
|
|
4469
|
-
'api.users.ai.translate.strings.post'
|
|
4470
|
-
]
|
|
4471
|
-
}
|
|
4472
|
-
},
|
|
4473
|
-
typeOptions: {
|
|
4474
|
-
loadOptionsMethod: 'getStoragesMulti'
|
|
4475
4564
|
}
|
|
4476
4565
|
},
|
|
4477
4566
|
{
|
|
@@ -5095,6 +5184,20 @@ exports.aiProperties = [
|
|
|
5095
5184
|
typeOptions: {
|
|
5096
5185
|
password: true
|
|
5097
5186
|
}
|
|
5187
|
+
},
|
|
5188
|
+
{
|
|
5189
|
+
displayName: 'Base Url',
|
|
5190
|
+
name: 'baseUrl',
|
|
5191
|
+
type: 'string',
|
|
5192
|
+
default: '',
|
|
5193
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5194
|
+
},
|
|
5195
|
+
{
|
|
5196
|
+
displayName: 'Headers',
|
|
5197
|
+
name: 'json:headers',
|
|
5198
|
+
type: 'json',
|
|
5199
|
+
default: '{}',
|
|
5200
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5098
5201
|
}
|
|
5099
5202
|
]
|
|
5100
5203
|
},
|
|
@@ -5132,6 +5235,20 @@ exports.aiProperties = [
|
|
|
5132
5235
|
type: 'string',
|
|
5133
5236
|
default: '',
|
|
5134
5237
|
required: true
|
|
5238
|
+
},
|
|
5239
|
+
{
|
|
5240
|
+
displayName: 'Base Url',
|
|
5241
|
+
name: 'baseUrl',
|
|
5242
|
+
type: 'string',
|
|
5243
|
+
default: '',
|
|
5244
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5245
|
+
},
|
|
5246
|
+
{
|
|
5247
|
+
displayName: 'Headers',
|
|
5248
|
+
name: 'json:headers',
|
|
5249
|
+
type: 'json',
|
|
5250
|
+
default: '{}',
|
|
5251
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5135
5252
|
}
|
|
5136
5253
|
]
|
|
5137
5254
|
},
|
|
@@ -5159,6 +5276,20 @@ exports.aiProperties = [
|
|
|
5159
5276
|
type: 'json',
|
|
5160
5277
|
default: '{}',
|
|
5161
5278
|
required: true
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
displayName: 'Base Url',
|
|
5282
|
+
name: 'baseUrl',
|
|
5283
|
+
type: 'string',
|
|
5284
|
+
default: '',
|
|
5285
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5286
|
+
},
|
|
5287
|
+
{
|
|
5288
|
+
displayName: 'Headers',
|
|
5289
|
+
name: 'json:headers',
|
|
5290
|
+
type: 'json',
|
|
5291
|
+
default: '{}',
|
|
5292
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5162
5293
|
}
|
|
5163
5294
|
]
|
|
5164
5295
|
},
|
|
@@ -5176,6 +5307,20 @@ exports.aiProperties = [
|
|
|
5176
5307
|
typeOptions: {
|
|
5177
5308
|
password: true
|
|
5178
5309
|
}
|
|
5310
|
+
},
|
|
5311
|
+
{
|
|
5312
|
+
displayName: 'Base Url',
|
|
5313
|
+
name: 'baseUrl',
|
|
5314
|
+
type: 'string',
|
|
5315
|
+
default: '',
|
|
5316
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5317
|
+
},
|
|
5318
|
+
{
|
|
5319
|
+
displayName: 'Headers',
|
|
5320
|
+
name: 'json:headers',
|
|
5321
|
+
type: 'json',
|
|
5322
|
+
default: '{}',
|
|
5323
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5179
5324
|
}
|
|
5180
5325
|
]
|
|
5181
5326
|
},
|
|
@@ -5192,6 +5337,20 @@ exports.aiProperties = [
|
|
|
5192
5337
|
typeOptions: {
|
|
5193
5338
|
password: true
|
|
5194
5339
|
}
|
|
5340
|
+
},
|
|
5341
|
+
{
|
|
5342
|
+
displayName: 'Base Url',
|
|
5343
|
+
name: 'baseUrl',
|
|
5344
|
+
type: 'string',
|
|
5345
|
+
default: '',
|
|
5346
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5347
|
+
},
|
|
5348
|
+
{
|
|
5349
|
+
displayName: 'Headers',
|
|
5350
|
+
name: 'json:headers',
|
|
5351
|
+
type: 'json',
|
|
5352
|
+
default: '{}',
|
|
5353
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5195
5354
|
}
|
|
5196
5355
|
]
|
|
5197
5356
|
},
|
|
@@ -5208,6 +5367,20 @@ exports.aiProperties = [
|
|
|
5208
5367
|
typeOptions: {
|
|
5209
5368
|
password: true
|
|
5210
5369
|
}
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
displayName: 'Base Url',
|
|
5373
|
+
name: 'baseUrl',
|
|
5374
|
+
type: 'string',
|
|
5375
|
+
default: '',
|
|
5376
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5377
|
+
},
|
|
5378
|
+
{
|
|
5379
|
+
displayName: 'Headers',
|
|
5380
|
+
name: 'json:headers',
|
|
5381
|
+
type: 'json',
|
|
5382
|
+
default: '{}',
|
|
5383
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5211
5384
|
}
|
|
5212
5385
|
]
|
|
5213
5386
|
},
|
|
@@ -5224,6 +5397,20 @@ exports.aiProperties = [
|
|
|
5224
5397
|
typeOptions: {
|
|
5225
5398
|
password: true
|
|
5226
5399
|
}
|
|
5400
|
+
},
|
|
5401
|
+
{
|
|
5402
|
+
displayName: 'Base Url',
|
|
5403
|
+
name: 'baseUrl',
|
|
5404
|
+
type: 'string',
|
|
5405
|
+
default: '',
|
|
5406
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5407
|
+
},
|
|
5408
|
+
{
|
|
5409
|
+
displayName: 'Headers',
|
|
5410
|
+
name: 'json:headers',
|
|
5411
|
+
type: 'json',
|
|
5412
|
+
default: '{}',
|
|
5413
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5227
5414
|
}
|
|
5228
5415
|
]
|
|
5229
5416
|
},
|
|
@@ -5254,6 +5441,20 @@ exports.aiProperties = [
|
|
|
5254
5441
|
type: 'string',
|
|
5255
5442
|
default: '',
|
|
5256
5443
|
required: true
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
displayName: 'Base Url',
|
|
5447
|
+
name: 'baseUrl',
|
|
5448
|
+
type: 'string',
|
|
5449
|
+
default: '',
|
|
5450
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5451
|
+
},
|
|
5452
|
+
{
|
|
5453
|
+
displayName: 'Headers',
|
|
5454
|
+
name: 'json:headers',
|
|
5455
|
+
type: 'json',
|
|
5456
|
+
default: '{}',
|
|
5457
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5257
5458
|
}
|
|
5258
5459
|
]
|
|
5259
5460
|
},
|
|
@@ -5270,6 +5471,20 @@ exports.aiProperties = [
|
|
|
5270
5471
|
typeOptions: {
|
|
5271
5472
|
password: true
|
|
5272
5473
|
}
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
displayName: 'Base Url',
|
|
5477
|
+
name: 'baseUrl',
|
|
5478
|
+
type: 'string',
|
|
5479
|
+
default: '',
|
|
5480
|
+
description: 'Override the provider API base URL (e.g. a self-hosted proxy or third-party gateway)'
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
displayName: 'Headers',
|
|
5484
|
+
name: 'json:headers',
|
|
5485
|
+
type: 'json',
|
|
5486
|
+
default: '{}',
|
|
5487
|
+
description: 'Custom HTTP headers sent with every request to the provider. Authorization headers are managed by the provider and can\'t be overridden.'
|
|
5273
5488
|
}
|
|
5274
5489
|
]
|
|
5275
5490
|
},
|