@crowdin/n8n-nodes-crowdin 0.24.0 → 0.26.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 +115 -8
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +20 -20
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +588 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +614 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +582 -682
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +115 -8
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +20 -20
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +555 -619
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +115 -8
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +14 -14
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +588 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +614 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js +84 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +578 -680
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +115 -8
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +14 -14
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js +84 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +552 -618
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -439,7 +439,7 @@ exports.aiProperties = [
|
|
|
439
439
|
name: 'Generate AI Report',
|
|
440
440
|
value: 'api.users.ai.reports.post',
|
|
441
441
|
action: 'Generate AI Report',
|
|
442
|
-
description: '**Required scopes:** `ai.provider` (Read only).',
|
|
442
|
+
description: '**Required scopes:** `ai.provider` (Read only).\n\nGeneration is asynchronous and takes three requests. This one starts it and returns the report `identifier`. Then poll [Check AI Report Generation Status](#operation/api.users.ai.reports.get) until its `status` is `finished`; `progress` counts up to 100 meanwhile. Finally [Download AI Report](#operation/api.users.ai.reports.download.download) returns a short-lived `URL`. Fetch that URL to get the report file itself.',
|
|
443
443
|
routing: {
|
|
444
444
|
request: {
|
|
445
445
|
method: 'POST',
|
|
@@ -4219,7 +4219,7 @@ exports.aiProperties = [
|
|
|
4219
4219
|
name: 'type',
|
|
4220
4220
|
type: 'options',
|
|
4221
4221
|
default: 'tokens-usage-raw-data',
|
|
4222
|
-
description:
|
|
4222
|
+
description: undefined,
|
|
4223
4223
|
required: true,
|
|
4224
4224
|
options: [
|
|
4225
4225
|
{
|
|
@@ -4234,7 +4234,7 @@ exports.aiProperties = [
|
|
|
4234
4234
|
name: 'schema',
|
|
4235
4235
|
type: 'fixedCollection',
|
|
4236
4236
|
default: {},
|
|
4237
|
-
description: '
|
|
4237
|
+
description: 'The generated file holds one record per AI call: when it happened, the project, prompt, provider and model behind it, the user charged for it, and its input tokens, output tokens and cost',
|
|
4238
4238
|
options: [
|
|
4239
4239
|
{
|
|
4240
4240
|
displayName: 'General',
|
|
@@ -4254,7 +4254,114 @@ exports.aiProperties = [
|
|
|
4254
4254
|
name: 'dateTime:dateTo',
|
|
4255
4255
|
type: 'dateTime',
|
|
4256
4256
|
default: '',
|
|
4257
|
-
description: 'Report date to in UTC, ISO 8601',
|
|
4257
|
+
description: 'Report date to in UTC, ISO 8601. Part of the period, so a whole day runs from `00:00:00` to `23:59:59`',
|
|
4258
|
+
placeholder: '2024-09-27T07:00:14+00:00',
|
|
4259
|
+
required: true
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
displayName: 'Format',
|
|
4263
|
+
name: 'format',
|
|
4264
|
+
type: 'options',
|
|
4265
|
+
default: '',
|
|
4266
|
+
description: '`csv` is a header row plus one data row per record; `json` wraps the same records and echoes the filters the report was built with',
|
|
4267
|
+
options: [
|
|
4268
|
+
{
|
|
4269
|
+
name: '-',
|
|
4270
|
+
value: ''
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
name: 'json',
|
|
4274
|
+
value: 'json'
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
name: 'csv',
|
|
4278
|
+
value: 'csv'
|
|
4279
|
+
}
|
|
4280
|
+
],
|
|
4281
|
+
placeholder: 'json'
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
displayName: 'Project Ids',
|
|
4285
|
+
name: 'projectIds',
|
|
4286
|
+
type: 'multiOptions',
|
|
4287
|
+
typeOptions: {
|
|
4288
|
+
loadOptionsMethod: 'getProjectsMulti'
|
|
4289
|
+
},
|
|
4290
|
+
default: [],
|
|
4291
|
+
description: 'Count only usage from these projects, ids via [List Projects](#operation/api.projects.getMany). Organization-level AI usage belongs to no project, so it drops out once this filter is set'
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
displayName: 'Prompt Ids',
|
|
4295
|
+
name: 'promptIds',
|
|
4296
|
+
type: 'multiOptions',
|
|
4297
|
+
typeOptions: {
|
|
4298
|
+
loadOptionsMethod: 'getAiPromptsMulti'
|
|
4299
|
+
},
|
|
4300
|
+
default: [],
|
|
4301
|
+
description: 'Count only usage made through these AI prompts, ids via [List AI Prompts](#operation/api.ai.prompts.getMany)'
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
displayName: 'User Ids',
|
|
4305
|
+
name: 'userIds',
|
|
4306
|
+
type: 'multiOptions',
|
|
4307
|
+
typeOptions: {
|
|
4308
|
+
loadOptionsMethod: 'getUsersMulti'
|
|
4309
|
+
},
|
|
4310
|
+
default: [],
|
|
4311
|
+
description: 'Count only usage by these users; by default everyone in the organization is included'
|
|
4312
|
+
}
|
|
4313
|
+
]
|
|
4314
|
+
}
|
|
4315
|
+
],
|
|
4316
|
+
required: true
|
|
4317
|
+
}
|
|
4318
|
+
]
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
displayName: 'Costs By Users',
|
|
4322
|
+
name: '_costsByUsers',
|
|
4323
|
+
values: [
|
|
4324
|
+
{
|
|
4325
|
+
displayName: 'Type',
|
|
4326
|
+
name: 'type',
|
|
4327
|
+
type: 'options',
|
|
4328
|
+
default: 'costs-by-users',
|
|
4329
|
+
description: undefined,
|
|
4330
|
+
required: true,
|
|
4331
|
+
options: [
|
|
4332
|
+
{
|
|
4333
|
+
name: 'costs-by-users',
|
|
4334
|
+
value: 'costs-by-users'
|
|
4335
|
+
}
|
|
4336
|
+
],
|
|
4337
|
+
placeholder: 'costs-by-users'
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
displayName: 'Schema',
|
|
4341
|
+
name: 'schema',
|
|
4342
|
+
type: 'fixedCollection',
|
|
4343
|
+
default: {},
|
|
4344
|
+
description: 'The generated file holds one row per user: `userId`, `userFullName` and `totalCost`, their AI spend for the period in USD; users who made no AI calls in it are omitted. Pass a calendar day or month with no filters to get exactly the figures the AI Limits page shows',
|
|
4345
|
+
options: [
|
|
4346
|
+
{
|
|
4347
|
+
displayName: 'General',
|
|
4348
|
+
name: '_aiReportCostsByUsersGeneral',
|
|
4349
|
+
values: [
|
|
4350
|
+
{
|
|
4351
|
+
displayName: 'Date From',
|
|
4352
|
+
name: 'dateTime:dateFrom',
|
|
4353
|
+
type: 'dateTime',
|
|
4354
|
+
default: '',
|
|
4355
|
+
description: 'Report date from in UTC, ISO 8601',
|
|
4356
|
+
placeholder: '2024-01-23T07:00:14+00:00',
|
|
4357
|
+
required: true
|
|
4358
|
+
},
|
|
4359
|
+
{
|
|
4360
|
+
displayName: 'Date To',
|
|
4361
|
+
name: 'dateTime:dateTo',
|
|
4362
|
+
type: 'dateTime',
|
|
4363
|
+
default: '',
|
|
4364
|
+
description: 'Report date to in UTC, ISO 8601. Part of the period, so a whole day runs from `00:00:00` to `23:59:59`',
|
|
4258
4365
|
placeholder: '2024-09-27T07:00:14+00:00',
|
|
4259
4366
|
required: true
|
|
4260
4367
|
},
|
|
@@ -4263,7 +4370,7 @@ exports.aiProperties = [
|
|
|
4263
4370
|
name: 'format',
|
|
4264
4371
|
type: 'options',
|
|
4265
4372
|
default: '',
|
|
4266
|
-
description: '
|
|
4373
|
+
description: '`csv` is a header row plus one data row per record; `json` wraps the same records and echoes the filters the report was built with',
|
|
4267
4374
|
options: [
|
|
4268
4375
|
{
|
|
4269
4376
|
name: '-',
|
|
@@ -4288,7 +4395,7 @@ exports.aiProperties = [
|
|
|
4288
4395
|
loadOptionsMethod: 'getProjectsMulti'
|
|
4289
4396
|
},
|
|
4290
4397
|
default: [],
|
|
4291
|
-
description: '
|
|
4398
|
+
description: 'Count only usage from these projects, ids via [List Projects](#operation/api.projects.getMany). Organization-level AI usage belongs to no project, so it drops out once this filter is set'
|
|
4292
4399
|
},
|
|
4293
4400
|
{
|
|
4294
4401
|
displayName: 'Prompt Ids',
|
|
@@ -4298,7 +4405,7 @@ exports.aiProperties = [
|
|
|
4298
4405
|
loadOptionsMethod: 'getAiPromptsMulti'
|
|
4299
4406
|
},
|
|
4300
4407
|
default: [],
|
|
4301
|
-
description: '
|
|
4408
|
+
description: 'Count only usage made through these AI prompts, ids via [List AI Prompts](#operation/api.ai.prompts.getMany)'
|
|
4302
4409
|
},
|
|
4303
4410
|
{
|
|
4304
4411
|
displayName: 'User Ids',
|
|
@@ -4308,7 +4415,7 @@ exports.aiProperties = [
|
|
|
4308
4415
|
loadOptionsMethod: 'getUsersMulti'
|
|
4309
4416
|
},
|
|
4310
4417
|
default: [],
|
|
4311
|
-
description: '
|
|
4418
|
+
description: 'Count only usage by these users; by default everyone in the organization is included'
|
|
4312
4419
|
}
|
|
4313
4420
|
]
|
|
4314
4421
|
}
|