@crowdin/n8n-nodes-crowdin 0.27.0 → 0.28.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 +922 -20
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +138 -106
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/placeholders.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/placeholders.js +136 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/placeholders.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +39 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +32 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +58 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js +10 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +922 -20
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +138 -106
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/placeholders.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/placeholders.js +136 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/placeholders.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +39 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +32 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +58 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js +10 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +885 -88
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/fields.js +120 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/fields.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +138 -106
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/placeholders.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/placeholders.js +1194 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/placeholders.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +39 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +32 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +58 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js +10 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +885 -88
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/fields.js +120 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/fields.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +138 -106
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/placeholders.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/placeholders.js +1194 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/placeholders.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +39 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +32 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +58 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js +10 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js +5 -0
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js +5 -0
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js +5 -0
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js +5 -0
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -497,6 +497,42 @@ exports.aiProperties = [
|
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
},
|
|
500
|
+
{
|
|
501
|
+
name: 'Export AI Request Logs',
|
|
502
|
+
value: 'api.ai.requestLogs.exports.post',
|
|
503
|
+
action: 'Export AI Request Logs',
|
|
504
|
+
description: '**Required scopes:** `ai.request-log` (Read only).\n\nStarts an [asynchronous operation](#section/Introduction/Asynchronous-Operations) that builds a file with the AI request logs matching the filters, and returns its `identifier`. Poll [Check AI Request Logs Export Status](#operation/api.ai.requestLogs.exports.get) until `status` is `finished`, then call [Download AI Request Logs Export](#operation/api.ai.requestLogs.exports.download) for a link to the file.\n\nPassing no filters exports every log entry of the organization, newest first. Columns and value formatting are identical to [List AI Request Logs](#operation/api.ai.requestLogs.getMany).',
|
|
505
|
+
routing: {
|
|
506
|
+
request: {
|
|
507
|
+
method: 'POST',
|
|
508
|
+
url: '=/users/{{$parameter["userId"]}}/ai/request-logs/exports'
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
name: 'Check AI Request Logs Export Status',
|
|
514
|
+
value: 'api.ai.requestLogs.exports.get',
|
|
515
|
+
action: 'Check AI Request Logs Export Status',
|
|
516
|
+
description: '**Required scopes:** `ai.request-log` (Read only).\n\nReturns the status of an export started by [Export AI Request Logs](#operation/api.ai.requestLogs.exports.post). The file can be downloaded once `status` is `finished`.',
|
|
517
|
+
routing: {
|
|
518
|
+
request: {
|
|
519
|
+
method: 'GET',
|
|
520
|
+
url: '=/users/{{$parameter["userId"]}}/ai/request-logs/exports/{{$parameter["exportId"]}}'
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: 'Download AI Request Logs Export',
|
|
526
|
+
value: 'api.ai.requestLogs.exports.download',
|
|
527
|
+
action: 'Download AI Request Logs Export',
|
|
528
|
+
description: '**Required scopes:** `ai.request-log` (Read only).\n\nReturns a link to the exported file, which expires one hour after this call. The export has to be `finished`; until it is, this operation answers 404.',
|
|
529
|
+
routing: {
|
|
530
|
+
request: {
|
|
531
|
+
method: 'GET',
|
|
532
|
+
url: '=/users/{{$parameter["userId"]}}/ai/request-logs/exports/{{$parameter["exportId"]}}/download'
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
500
536
|
{
|
|
501
537
|
name: 'Get AI Settings',
|
|
502
538
|
value: 'api.users.ai.settings.get',
|
|
@@ -521,6 +557,44 @@ exports.aiProperties = [
|
|
|
521
557
|
}
|
|
522
558
|
}
|
|
523
559
|
},
|
|
560
|
+
{
|
|
561
|
+
name: 'List AI Usage Members',
|
|
562
|
+
value: 'api.ai.usage.members.getMany',
|
|
563
|
+
action: 'List AI Usage Members',
|
|
564
|
+
description: '**Required scopes:** `ai` (Read only).',
|
|
565
|
+
routing: {
|
|
566
|
+
request: {
|
|
567
|
+
method: 'GET',
|
|
568
|
+
url: '=/users/{{$parameter["userId"]}}/ai/usage/members'
|
|
569
|
+
},
|
|
570
|
+
send: {
|
|
571
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
572
|
+
},
|
|
573
|
+
output: {
|
|
574
|
+
postReceive: [
|
|
575
|
+
{
|
|
576
|
+
type: 'rootProperty',
|
|
577
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
578
|
+
properties: {
|
|
579
|
+
property: 'data'
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'Get AI Usage Member',
|
|
588
|
+
value: 'api.ai.usage.members.get',
|
|
589
|
+
action: 'Get AI Usage Member',
|
|
590
|
+
description: '**Required scopes:** `ai` (Read only).',
|
|
591
|
+
routing: {
|
|
592
|
+
request: {
|
|
593
|
+
method: 'GET',
|
|
594
|
+
url: '=/users/{{$parameter["userId"]}}/ai/usage/members/{{$parameter["memberId"]}}'
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
},
|
|
524
598
|
{
|
|
525
599
|
name: 'Get Project AI Settings',
|
|
526
600
|
value: 'api.projects.ai.settings.get',
|
|
@@ -1068,6 +1142,63 @@ exports.aiProperties = [
|
|
|
1068
1142
|
}
|
|
1069
1143
|
}
|
|
1070
1144
|
},
|
|
1145
|
+
{
|
|
1146
|
+
displayName: 'POST /users/{userId}/ai/request-logs/exports',
|
|
1147
|
+
name: 'operation',
|
|
1148
|
+
type: 'notice',
|
|
1149
|
+
typeOptions: {
|
|
1150
|
+
theme: 'info'
|
|
1151
|
+
},
|
|
1152
|
+
default: '',
|
|
1153
|
+
displayOptions: {
|
|
1154
|
+
show: {
|
|
1155
|
+
resource: [
|
|
1156
|
+
'ai'
|
|
1157
|
+
],
|
|
1158
|
+
operation: [
|
|
1159
|
+
'api.ai.requestLogs.exports.post'
|
|
1160
|
+
]
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
displayName: 'GET /users/{userId}/ai/request-logs/exports/{exportId}',
|
|
1166
|
+
name: 'operation',
|
|
1167
|
+
type: 'notice',
|
|
1168
|
+
typeOptions: {
|
|
1169
|
+
theme: 'info'
|
|
1170
|
+
},
|
|
1171
|
+
default: '',
|
|
1172
|
+
displayOptions: {
|
|
1173
|
+
show: {
|
|
1174
|
+
resource: [
|
|
1175
|
+
'ai'
|
|
1176
|
+
],
|
|
1177
|
+
operation: [
|
|
1178
|
+
'api.ai.requestLogs.exports.get'
|
|
1179
|
+
]
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
displayName: 'GET /users/{userId}/ai/request-logs/exports/{exportId}/download',
|
|
1185
|
+
name: 'operation',
|
|
1186
|
+
type: 'notice',
|
|
1187
|
+
typeOptions: {
|
|
1188
|
+
theme: 'info'
|
|
1189
|
+
},
|
|
1190
|
+
default: '',
|
|
1191
|
+
displayOptions: {
|
|
1192
|
+
show: {
|
|
1193
|
+
resource: [
|
|
1194
|
+
'ai'
|
|
1195
|
+
],
|
|
1196
|
+
operation: [
|
|
1197
|
+
'api.ai.requestLogs.exports.download'
|
|
1198
|
+
]
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1071
1202
|
{
|
|
1072
1203
|
displayName: 'GET /users/{userId}/ai/settings',
|
|
1073
1204
|
name: 'operation',
|
|
@@ -1106,6 +1237,44 @@ exports.aiProperties = [
|
|
|
1106
1237
|
}
|
|
1107
1238
|
}
|
|
1108
1239
|
},
|
|
1240
|
+
{
|
|
1241
|
+
displayName: 'GET /users/{userId}/ai/usage/members',
|
|
1242
|
+
name: 'operation',
|
|
1243
|
+
type: 'notice',
|
|
1244
|
+
typeOptions: {
|
|
1245
|
+
theme: 'info'
|
|
1246
|
+
},
|
|
1247
|
+
default: '',
|
|
1248
|
+
displayOptions: {
|
|
1249
|
+
show: {
|
|
1250
|
+
resource: [
|
|
1251
|
+
'ai'
|
|
1252
|
+
],
|
|
1253
|
+
operation: [
|
|
1254
|
+
'api.ai.usage.members.getMany'
|
|
1255
|
+
]
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
displayName: 'GET /users/{userId}/ai/usage/members/{memberId}',
|
|
1261
|
+
name: 'operation',
|
|
1262
|
+
type: 'notice',
|
|
1263
|
+
typeOptions: {
|
|
1264
|
+
theme: 'info'
|
|
1265
|
+
},
|
|
1266
|
+
default: '',
|
|
1267
|
+
displayOptions: {
|
|
1268
|
+
show: {
|
|
1269
|
+
resource: [
|
|
1270
|
+
'ai'
|
|
1271
|
+
],
|
|
1272
|
+
operation: [
|
|
1273
|
+
'api.ai.usage.members.get'
|
|
1274
|
+
]
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1109
1278
|
{
|
|
1110
1279
|
displayName: 'GET /projects/{projectId}/ai/settings',
|
|
1111
1280
|
name: 'operation',
|
|
@@ -4341,7 +4510,7 @@ exports.aiProperties = [
|
|
|
4341
4510
|
name: 'schema',
|
|
4342
4511
|
type: 'fixedCollection',
|
|
4343
4512
|
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
|
|
4513
|
+
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 Usage page shows',
|
|
4345
4514
|
options: [
|
|
4346
4515
|
{
|
|
4347
4516
|
displayName: 'General',
|
|
@@ -4994,7 +5163,7 @@ exports.aiProperties = [
|
|
|
4994
5163
|
'ai'
|
|
4995
5164
|
],
|
|
4996
5165
|
operation: [
|
|
4997
|
-
'api.
|
|
5166
|
+
'api.ai.requestLogs.exports.post'
|
|
4998
5167
|
]
|
|
4999
5168
|
}
|
|
5000
5169
|
},
|
|
@@ -5002,20 +5171,116 @@ exports.aiProperties = [
|
|
|
5002
5171
|
loadOptionsMethod: 'getUsers'
|
|
5003
5172
|
}
|
|
5004
5173
|
},
|
|
5174
|
+
{
|
|
5175
|
+
displayName: 'Format',
|
|
5176
|
+
name: 'format',
|
|
5177
|
+
type: 'options',
|
|
5178
|
+
default: '',
|
|
5179
|
+
description: 'Format of the exported file. One of: `csv`. Default is `csv`',
|
|
5180
|
+
options: [
|
|
5181
|
+
{
|
|
5182
|
+
name: '-',
|
|
5183
|
+
value: ''
|
|
5184
|
+
},
|
|
5185
|
+
{
|
|
5186
|
+
name: 'csv',
|
|
5187
|
+
value: 'csv'
|
|
5188
|
+
}
|
|
5189
|
+
],
|
|
5190
|
+
routing: {
|
|
5191
|
+
send: {
|
|
5192
|
+
property: 'format',
|
|
5193
|
+
propertyInDotNotation: false,
|
|
5194
|
+
type: 'body',
|
|
5195
|
+
value: '={{ $value || undefined }}'
|
|
5196
|
+
}
|
|
5197
|
+
},
|
|
5198
|
+
displayOptions: {
|
|
5199
|
+
show: {
|
|
5200
|
+
resource: [
|
|
5201
|
+
'ai'
|
|
5202
|
+
],
|
|
5203
|
+
operation: [
|
|
5204
|
+
'api.ai.requestLogs.exports.post'
|
|
5205
|
+
]
|
|
5206
|
+
}
|
|
5207
|
+
}
|
|
5208
|
+
},
|
|
5209
|
+
{
|
|
5210
|
+
displayName: 'Request Id',
|
|
5211
|
+
name: 'requestId',
|
|
5212
|
+
type: 'string',
|
|
5213
|
+
default: '',
|
|
5214
|
+
description: 'Filter results to the log entry with this request identifier',
|
|
5215
|
+
routing: {
|
|
5216
|
+
send: {
|
|
5217
|
+
property: 'requestId',
|
|
5218
|
+
propertyInDotNotation: false,
|
|
5219
|
+
type: 'body',
|
|
5220
|
+
value: '={{ $value || undefined }}'
|
|
5221
|
+
}
|
|
5222
|
+
},
|
|
5223
|
+
displayOptions: {
|
|
5224
|
+
show: {
|
|
5225
|
+
resource: [
|
|
5226
|
+
'ai'
|
|
5227
|
+
],
|
|
5228
|
+
operation: [
|
|
5229
|
+
'api.ai.requestLogs.exports.post'
|
|
5230
|
+
]
|
|
5231
|
+
}
|
|
5232
|
+
},
|
|
5233
|
+
placeholder: '9d3b1c4e-2f3a-4b5c-8d6e-7f8a9b0c1d2e'
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
displayName: 'Project Id',
|
|
5237
|
+
name: 'projectId',
|
|
5238
|
+
type: 'options',
|
|
5239
|
+
default: '',
|
|
5240
|
+
description: 'Filter results to requests made in this project. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5241
|
+
routing: {
|
|
5242
|
+
send: {
|
|
5243
|
+
property: 'projectId',
|
|
5244
|
+
propertyInDotNotation: false,
|
|
5245
|
+
type: 'body',
|
|
5246
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
5247
|
+
}
|
|
5248
|
+
},
|
|
5249
|
+
displayOptions: {
|
|
5250
|
+
show: {
|
|
5251
|
+
resource: [
|
|
5252
|
+
'ai'
|
|
5253
|
+
],
|
|
5254
|
+
operation: [
|
|
5255
|
+
'api.ai.requestLogs.exports.post'
|
|
5256
|
+
]
|
|
5257
|
+
}
|
|
5258
|
+
},
|
|
5259
|
+
typeOptions: {
|
|
5260
|
+
loadOptionsMethod: 'getProjects'
|
|
5261
|
+
}
|
|
5262
|
+
},
|
|
5005
5263
|
{
|
|
5006
5264
|
displayName: 'User Id',
|
|
5007
5265
|
name: 'userId',
|
|
5008
|
-
required: true,
|
|
5009
|
-
description: 'User Identifier',
|
|
5010
|
-
default: '',
|
|
5011
5266
|
type: 'options',
|
|
5267
|
+
default: '',
|
|
5268
|
+
description: 'Filter results to requests attributed to this user. Get via [List Users](#operation/api.users.getMany)',
|
|
5269
|
+
routing: {
|
|
5270
|
+
send: {
|
|
5271
|
+
property: 'userId',
|
|
5272
|
+
propertyInDotNotation: false,
|
|
5273
|
+
type: 'body',
|
|
5274
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
5275
|
+
}
|
|
5276
|
+
},
|
|
5012
5277
|
displayOptions: {
|
|
5013
5278
|
show: {
|
|
5014
5279
|
resource: [
|
|
5015
5280
|
'ai'
|
|
5016
5281
|
],
|
|
5017
5282
|
operation: [
|
|
5018
|
-
'api.
|
|
5283
|
+
'api.ai.requestLogs.exports.post'
|
|
5019
5284
|
]
|
|
5020
5285
|
}
|
|
5021
5286
|
},
|
|
@@ -5024,29 +5289,501 @@ exports.aiProperties = [
|
|
|
5024
5289
|
}
|
|
5025
5290
|
},
|
|
5026
5291
|
{
|
|
5027
|
-
displayName: '
|
|
5028
|
-
name: '
|
|
5029
|
-
|
|
5030
|
-
default:
|
|
5031
|
-
|
|
5292
|
+
displayName: 'Ai Provider Id',
|
|
5293
|
+
name: 'aiProviderId',
|
|
5294
|
+
type: 'options',
|
|
5295
|
+
default: '',
|
|
5296
|
+
description: 'Filter results to requests served by this AI provider. Get via [List AI Providers](#operation/api.ai.providers.getMany)',
|
|
5297
|
+
routing: {
|
|
5298
|
+
send: {
|
|
5299
|
+
property: 'aiProviderId',
|
|
5300
|
+
propertyInDotNotation: false,
|
|
5301
|
+
type: 'body',
|
|
5302
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
5303
|
+
}
|
|
5304
|
+
},
|
|
5032
5305
|
displayOptions: {
|
|
5033
5306
|
show: {
|
|
5034
5307
|
resource: [
|
|
5035
5308
|
'ai'
|
|
5036
5309
|
],
|
|
5037
5310
|
operation: [
|
|
5038
|
-
'api.
|
|
5311
|
+
'api.ai.requestLogs.exports.post'
|
|
5039
5312
|
]
|
|
5040
5313
|
}
|
|
5041
5314
|
},
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5315
|
+
typeOptions: {
|
|
5316
|
+
loadOptionsMethod: 'getAiProviders'
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
displayName: 'Model',
|
|
5321
|
+
name: 'model',
|
|
5322
|
+
type: 'string',
|
|
5323
|
+
default: '',
|
|
5324
|
+
description: 'Filter results to requests made with this AI model',
|
|
5325
|
+
routing: {
|
|
5326
|
+
send: {
|
|
5327
|
+
property: 'model',
|
|
5328
|
+
propertyInDotNotation: false,
|
|
5329
|
+
type: 'body',
|
|
5330
|
+
value: '={{ $value || undefined }}'
|
|
5331
|
+
}
|
|
5332
|
+
},
|
|
5333
|
+
displayOptions: {
|
|
5334
|
+
show: {
|
|
5335
|
+
resource: [
|
|
5336
|
+
'ai'
|
|
5337
|
+
],
|
|
5338
|
+
operation: [
|
|
5339
|
+
'api.ai.requestLogs.exports.post'
|
|
5340
|
+
]
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
placeholder: 'gpt-5.6-sol'
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
displayName: 'Source Action',
|
|
5347
|
+
name: 'sourceAction',
|
|
5348
|
+
type: 'options',
|
|
5349
|
+
default: '',
|
|
5350
|
+
description: 'Filter results to requests produced by this feature or channel',
|
|
5351
|
+
options: [
|
|
5352
|
+
{
|
|
5353
|
+
name: '-',
|
|
5354
|
+
value: ''
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
name: 'ai_proxy',
|
|
5358
|
+
value: 'ai_proxy'
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
name: 'ai_gateway',
|
|
5362
|
+
value: 'ai_gateway'
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
name: 'ai_translate_strings',
|
|
5366
|
+
value: 'ai_translate_strings'
|
|
5367
|
+
},
|
|
5368
|
+
{
|
|
5369
|
+
name: 'ai_file_translate',
|
|
5370
|
+
value: 'ai_file_translate'
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
name: 'ai_prompt_completion',
|
|
5374
|
+
value: 'ai_prompt_completion'
|
|
5375
|
+
},
|
|
5376
|
+
{
|
|
5377
|
+
name: 'pre_translate:manual',
|
|
5378
|
+
value: 'pre_translate:manual'
|
|
5379
|
+
},
|
|
5380
|
+
{
|
|
5381
|
+
name: 'pre_translate:workflow',
|
|
5382
|
+
value: 'pre_translate:workflow'
|
|
5383
|
+
},
|
|
5384
|
+
{
|
|
5385
|
+
name: 'ai_alignment',
|
|
5386
|
+
value: 'ai_alignment'
|
|
5387
|
+
},
|
|
5388
|
+
{
|
|
5389
|
+
name: 'qa_check',
|
|
5390
|
+
value: 'qa_check'
|
|
5391
|
+
},
|
|
5392
|
+
{
|
|
5393
|
+
name: 'ai_suggestion',
|
|
5394
|
+
value: 'ai_suggestion'
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
name: 'advisor',
|
|
5398
|
+
value: 'advisor'
|
|
5399
|
+
}
|
|
5400
|
+
],
|
|
5401
|
+
routing: {
|
|
5402
|
+
send: {
|
|
5403
|
+
property: 'sourceAction',
|
|
5404
|
+
propertyInDotNotation: false,
|
|
5405
|
+
type: 'body',
|
|
5406
|
+
value: '={{ $value || undefined }}'
|
|
5407
|
+
}
|
|
5408
|
+
},
|
|
5409
|
+
displayOptions: {
|
|
5410
|
+
show: {
|
|
5411
|
+
resource: [
|
|
5412
|
+
'ai'
|
|
5413
|
+
],
|
|
5414
|
+
operation: [
|
|
5415
|
+
'api.ai.requestLogs.exports.post'
|
|
5416
|
+
]
|
|
5417
|
+
}
|
|
5418
|
+
}
|
|
5419
|
+
},
|
|
5420
|
+
{
|
|
5421
|
+
displayName: 'Prompt Action',
|
|
5422
|
+
name: 'promptAction',
|
|
5423
|
+
type: 'string',
|
|
5424
|
+
default: '',
|
|
5425
|
+
description: 'Filter results to requests made for this prompt action, e.g. `pre_translate`, `qa_check`, `advisor_context_review`, or a `custom:`-prefixed value',
|
|
5426
|
+
routing: {
|
|
5427
|
+
send: {
|
|
5428
|
+
property: 'promptAction',
|
|
5429
|
+
propertyInDotNotation: false,
|
|
5430
|
+
type: 'body',
|
|
5431
|
+
value: '={{ $value || undefined }}'
|
|
5432
|
+
}
|
|
5433
|
+
},
|
|
5434
|
+
displayOptions: {
|
|
5435
|
+
show: {
|
|
5436
|
+
resource: [
|
|
5437
|
+
'ai'
|
|
5438
|
+
],
|
|
5439
|
+
operation: [
|
|
5440
|
+
'api.ai.requestLogs.exports.post'
|
|
5441
|
+
]
|
|
5442
|
+
}
|
|
5443
|
+
},
|
|
5444
|
+
placeholder: 'qa_check'
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
displayName: 'Statuses',
|
|
5448
|
+
name: 'statuses',
|
|
5449
|
+
type: 'multiOptions',
|
|
5450
|
+
default: [],
|
|
5451
|
+
description: 'Filter results to requests in any of these statuses',
|
|
5452
|
+
routing: {
|
|
5453
|
+
send: {
|
|
5454
|
+
property: 'statuses',
|
|
5455
|
+
propertyInDotNotation: false,
|
|
5456
|
+
type: 'body',
|
|
5457
|
+
value: '={{ $value }}'
|
|
5458
|
+
}
|
|
5459
|
+
},
|
|
5460
|
+
displayOptions: {
|
|
5461
|
+
show: {
|
|
5462
|
+
resource: [
|
|
5463
|
+
'ai'
|
|
5464
|
+
],
|
|
5465
|
+
operation: [
|
|
5466
|
+
'api.ai.requestLogs.exports.post'
|
|
5467
|
+
]
|
|
5468
|
+
}
|
|
5469
|
+
},
|
|
5470
|
+
options: [
|
|
5471
|
+
{
|
|
5472
|
+
name: 'pending',
|
|
5473
|
+
value: 'pending'
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
name: 'success',
|
|
5477
|
+
value: 'success'
|
|
5478
|
+
},
|
|
5479
|
+
{
|
|
5480
|
+
name: 'error',
|
|
5481
|
+
value: 'error'
|
|
5482
|
+
},
|
|
5483
|
+
{
|
|
5484
|
+
name: 'timeout',
|
|
5485
|
+
value: 'timeout'
|
|
5486
|
+
}
|
|
5487
|
+
]
|
|
5488
|
+
},
|
|
5489
|
+
{
|
|
5490
|
+
displayName: 'Token Name',
|
|
5491
|
+
name: 'tokenName',
|
|
5492
|
+
type: 'string',
|
|
5493
|
+
default: '',
|
|
5494
|
+
description: 'Filter results to requests authenticated with a personal access token of this name',
|
|
5495
|
+
routing: {
|
|
5496
|
+
send: {
|
|
5497
|
+
property: 'tokenName',
|
|
5498
|
+
propertyInDotNotation: false,
|
|
5499
|
+
type: 'body',
|
|
5500
|
+
value: '={{ $value || undefined }}'
|
|
5501
|
+
}
|
|
5502
|
+
},
|
|
5503
|
+
displayOptions: {
|
|
5504
|
+
show: {
|
|
5505
|
+
resource: [
|
|
5506
|
+
'ai'
|
|
5507
|
+
],
|
|
5508
|
+
operation: [
|
|
5509
|
+
'api.ai.requestLogs.exports.post'
|
|
5510
|
+
]
|
|
5511
|
+
}
|
|
5512
|
+
},
|
|
5513
|
+
placeholder: 'Token name'
|
|
5514
|
+
},
|
|
5515
|
+
{
|
|
5516
|
+
displayName: 'Oauth Client Id',
|
|
5517
|
+
name: 'oauthClientId',
|
|
5518
|
+
type: 'string',
|
|
5519
|
+
default: '',
|
|
5520
|
+
description: 'Filter results to requests authenticated by the OAuth application with this `client_id`',
|
|
5521
|
+
routing: {
|
|
5522
|
+
send: {
|
|
5523
|
+
property: 'oauthClientId',
|
|
5524
|
+
propertyInDotNotation: false,
|
|
5525
|
+
type: 'body',
|
|
5526
|
+
value: '={{ $value || undefined }}'
|
|
5527
|
+
}
|
|
5528
|
+
},
|
|
5529
|
+
displayOptions: {
|
|
5530
|
+
show: {
|
|
5531
|
+
resource: [
|
|
5532
|
+
'ai'
|
|
5533
|
+
],
|
|
5534
|
+
operation: [
|
|
5535
|
+
'api.ai.requestLogs.exports.post'
|
|
5536
|
+
]
|
|
5537
|
+
}
|
|
5538
|
+
},
|
|
5539
|
+
placeholder: 'gpbccUFxAKZDrLm5Nq8t'
|
|
5540
|
+
},
|
|
5541
|
+
{
|
|
5542
|
+
displayName: 'System Credentials',
|
|
5543
|
+
name: 'systemCredentials',
|
|
5544
|
+
type: 'boolean',
|
|
5545
|
+
default: true,
|
|
5546
|
+
description: 'If `true`, only requests that used system-provided credentials are exported',
|
|
5547
|
+
routing: {
|
|
5548
|
+
send: {
|
|
5549
|
+
property: 'systemCredentials',
|
|
5550
|
+
propertyInDotNotation: false,
|
|
5551
|
+
type: 'body',
|
|
5552
|
+
value: '={{ $value }}'
|
|
5553
|
+
}
|
|
5554
|
+
},
|
|
5555
|
+
displayOptions: {
|
|
5556
|
+
show: {
|
|
5557
|
+
resource: [
|
|
5558
|
+
'ai'
|
|
5559
|
+
],
|
|
5560
|
+
operation: [
|
|
5561
|
+
'api.ai.requestLogs.exports.post'
|
|
5562
|
+
]
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
},
|
|
5566
|
+
{
|
|
5567
|
+
displayName: 'Is Auto Triggered',
|
|
5568
|
+
name: 'isAutoTriggered',
|
|
5569
|
+
type: 'boolean',
|
|
5570
|
+
default: true,
|
|
5571
|
+
description: 'If `true`, only requests triggered automatically rather than by an interactive user action are exported',
|
|
5572
|
+
routing: {
|
|
5573
|
+
send: {
|
|
5574
|
+
property: 'isAutoTriggered',
|
|
5575
|
+
propertyInDotNotation: false,
|
|
5576
|
+
type: 'body',
|
|
5577
|
+
value: '={{ $value }}'
|
|
5578
|
+
}
|
|
5579
|
+
},
|
|
5580
|
+
displayOptions: {
|
|
5581
|
+
show: {
|
|
5582
|
+
resource: [
|
|
5583
|
+
'ai'
|
|
5584
|
+
],
|
|
5585
|
+
operation: [
|
|
5586
|
+
'api.ai.requestLogs.exports.post'
|
|
5587
|
+
]
|
|
5588
|
+
}
|
|
5589
|
+
}
|
|
5590
|
+
},
|
|
5591
|
+
{
|
|
5592
|
+
displayName: 'Created After',
|
|
5593
|
+
name: 'dateTime:createdAfter',
|
|
5594
|
+
type: 'dateTime',
|
|
5595
|
+
default: '',
|
|
5596
|
+
description: 'Filter results to requests logged after this date, in ISO 8601 format',
|
|
5597
|
+
routing: {
|
|
5598
|
+
send: {
|
|
5599
|
+
property: 'createdAfter',
|
|
5600
|
+
propertyInDotNotation: false,
|
|
5601
|
+
type: 'body',
|
|
5602
|
+
value: '={{ $value || undefined }}'
|
|
5603
|
+
}
|
|
5604
|
+
},
|
|
5605
|
+
displayOptions: {
|
|
5606
|
+
show: {
|
|
5607
|
+
resource: [
|
|
5608
|
+
'ai'
|
|
5609
|
+
],
|
|
5610
|
+
operation: [
|
|
5611
|
+
'api.ai.requestLogs.exports.post'
|
|
5612
|
+
]
|
|
5613
|
+
}
|
|
5614
|
+
},
|
|
5615
|
+
placeholder: '2026-07-01T10:41:33+00:00'
|
|
5616
|
+
},
|
|
5617
|
+
{
|
|
5618
|
+
displayName: 'Created Before',
|
|
5619
|
+
name: 'dateTime:createdBefore',
|
|
5620
|
+
type: 'dateTime',
|
|
5621
|
+
default: '',
|
|
5622
|
+
description: 'Filter results to requests logged before this date, in ISO 8601 format',
|
|
5623
|
+
routing: {
|
|
5624
|
+
send: {
|
|
5625
|
+
property: 'createdBefore',
|
|
5626
|
+
propertyInDotNotation: false,
|
|
5627
|
+
type: 'body',
|
|
5628
|
+
value: '={{ $value || undefined }}'
|
|
5629
|
+
}
|
|
5630
|
+
},
|
|
5631
|
+
displayOptions: {
|
|
5632
|
+
show: {
|
|
5633
|
+
resource: [
|
|
5634
|
+
'ai'
|
|
5635
|
+
],
|
|
5636
|
+
operation: [
|
|
5637
|
+
'api.ai.requestLogs.exports.post'
|
|
5638
|
+
]
|
|
5639
|
+
}
|
|
5640
|
+
},
|
|
5641
|
+
placeholder: '2026-07-31T23:59:59+00:00'
|
|
5642
|
+
},
|
|
5643
|
+
{
|
|
5644
|
+
displayName: 'User Id',
|
|
5645
|
+
name: 'userId',
|
|
5646
|
+
required: true,
|
|
5647
|
+
description: 'User Identifier',
|
|
5648
|
+
default: '',
|
|
5649
|
+
type: 'options',
|
|
5650
|
+
displayOptions: {
|
|
5651
|
+
show: {
|
|
5652
|
+
resource: [
|
|
5653
|
+
'ai'
|
|
5654
|
+
],
|
|
5655
|
+
operation: [
|
|
5656
|
+
'api.ai.requestLogs.exports.get'
|
|
5657
|
+
]
|
|
5658
|
+
}
|
|
5659
|
+
},
|
|
5660
|
+
typeOptions: {
|
|
5661
|
+
loadOptionsMethod: 'getUsers'
|
|
5662
|
+
}
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
5665
|
+
displayName: 'Export Id',
|
|
5666
|
+
name: 'exportId',
|
|
5667
|
+
required: true,
|
|
5668
|
+
description: 'ID of the AI request logs export, 36 characters. Get via [Export AI Request Logs](#operation/api.ai.requestLogs.exports.post)',
|
|
5669
|
+
default: '',
|
|
5670
|
+
type: 'string',
|
|
5671
|
+
displayOptions: {
|
|
5672
|
+
show: {
|
|
5673
|
+
resource: [
|
|
5674
|
+
'ai'
|
|
5675
|
+
],
|
|
5676
|
+
operation: [
|
|
5677
|
+
'api.ai.requestLogs.exports.get'
|
|
5678
|
+
]
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
},
|
|
5682
|
+
{
|
|
5683
|
+
displayName: 'User Id',
|
|
5684
|
+
name: 'userId',
|
|
5685
|
+
required: true,
|
|
5686
|
+
description: 'User Identifier',
|
|
5687
|
+
default: '',
|
|
5688
|
+
type: 'options',
|
|
5689
|
+
displayOptions: {
|
|
5690
|
+
show: {
|
|
5691
|
+
resource: [
|
|
5692
|
+
'ai'
|
|
5693
|
+
],
|
|
5694
|
+
operation: [
|
|
5695
|
+
'api.ai.requestLogs.exports.download'
|
|
5696
|
+
]
|
|
5697
|
+
}
|
|
5698
|
+
},
|
|
5699
|
+
typeOptions: {
|
|
5700
|
+
loadOptionsMethod: 'getUsers'
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
displayName: 'Export Id',
|
|
5705
|
+
name: 'exportId',
|
|
5706
|
+
required: true,
|
|
5707
|
+
description: 'ID of the AI request logs export, 36 characters. Get via [Export AI Request Logs](#operation/api.ai.requestLogs.exports.post)',
|
|
5708
|
+
default: '',
|
|
5709
|
+
type: 'string',
|
|
5710
|
+
displayOptions: {
|
|
5711
|
+
show: {
|
|
5712
|
+
resource: [
|
|
5713
|
+
'ai'
|
|
5714
|
+
],
|
|
5715
|
+
operation: [
|
|
5716
|
+
'api.ai.requestLogs.exports.download'
|
|
5717
|
+
]
|
|
5718
|
+
}
|
|
5719
|
+
}
|
|
5720
|
+
},
|
|
5721
|
+
{
|
|
5722
|
+
displayName: 'User Id',
|
|
5723
|
+
name: 'userId',
|
|
5724
|
+
required: true,
|
|
5725
|
+
description: 'User Identifier',
|
|
5726
|
+
default: '',
|
|
5727
|
+
type: 'options',
|
|
5728
|
+
displayOptions: {
|
|
5729
|
+
show: {
|
|
5730
|
+
resource: [
|
|
5731
|
+
'ai'
|
|
5732
|
+
],
|
|
5733
|
+
operation: [
|
|
5734
|
+
'api.users.ai.settings.get'
|
|
5735
|
+
]
|
|
5736
|
+
}
|
|
5737
|
+
},
|
|
5738
|
+
typeOptions: {
|
|
5739
|
+
loadOptionsMethod: 'getUsers'
|
|
5740
|
+
}
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
displayName: 'User Id',
|
|
5744
|
+
name: 'userId',
|
|
5745
|
+
required: true,
|
|
5746
|
+
description: 'User Identifier',
|
|
5747
|
+
default: '',
|
|
5748
|
+
type: 'options',
|
|
5749
|
+
displayOptions: {
|
|
5750
|
+
show: {
|
|
5751
|
+
resource: [
|
|
5752
|
+
'ai'
|
|
5753
|
+
],
|
|
5754
|
+
operation: [
|
|
5755
|
+
'api.users.ai.translate.strings.post'
|
|
5756
|
+
]
|
|
5757
|
+
}
|
|
5758
|
+
},
|
|
5759
|
+
typeOptions: {
|
|
5760
|
+
loadOptionsMethod: 'getUsers'
|
|
5761
|
+
}
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
displayName: 'Body',
|
|
5765
|
+
name: '_body',
|
|
5766
|
+
description: 'Select configuration type',
|
|
5767
|
+
default: {},
|
|
5768
|
+
type: 'fixedCollection',
|
|
5769
|
+
displayOptions: {
|
|
5770
|
+
show: {
|
|
5771
|
+
resource: [
|
|
5772
|
+
'ai'
|
|
5773
|
+
],
|
|
5774
|
+
operation: [
|
|
5775
|
+
'api.users.ai.translate.strings.post'
|
|
5776
|
+
]
|
|
5777
|
+
}
|
|
5778
|
+
},
|
|
5779
|
+
options: [
|
|
5780
|
+
{
|
|
5781
|
+
displayName: 'Ai Translate By Prompt Form',
|
|
5782
|
+
name: '_aiTranslateByPromptForm',
|
|
5783
|
+
values: [
|
|
5784
|
+
{
|
|
5785
|
+
displayName: 'Strings',
|
|
5786
|
+
name: 'strings',
|
|
5050
5787
|
type: 'fixedCollection',
|
|
5051
5788
|
typeOptions: {
|
|
5052
5789
|
multipleValues: true
|
|
@@ -5329,6 +6066,154 @@ exports.aiProperties = [
|
|
|
5329
6066
|
}
|
|
5330
6067
|
}
|
|
5331
6068
|
},
|
|
6069
|
+
{
|
|
6070
|
+
displayName: 'User Id',
|
|
6071
|
+
name: 'userId',
|
|
6072
|
+
required: true,
|
|
6073
|
+
description: 'User Identifier',
|
|
6074
|
+
default: '',
|
|
6075
|
+
type: 'options',
|
|
6076
|
+
displayOptions: {
|
|
6077
|
+
show: {
|
|
6078
|
+
resource: [
|
|
6079
|
+
'ai'
|
|
6080
|
+
],
|
|
6081
|
+
operation: [
|
|
6082
|
+
'api.ai.usage.members.getMany'
|
|
6083
|
+
]
|
|
6084
|
+
}
|
|
6085
|
+
},
|
|
6086
|
+
typeOptions: {
|
|
6087
|
+
loadOptionsMethod: 'getUsers'
|
|
6088
|
+
}
|
|
6089
|
+
},
|
|
6090
|
+
{
|
|
6091
|
+
displayName: 'Limit',
|
|
6092
|
+
name: 'limit',
|
|
6093
|
+
description: 'Max number of results to return',
|
|
6094
|
+
default: 50,
|
|
6095
|
+
type: 'number',
|
|
6096
|
+
routing: {
|
|
6097
|
+
send: {
|
|
6098
|
+
type: 'query',
|
|
6099
|
+
property: 'limit',
|
|
6100
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
6101
|
+
propertyInDotNotation: false
|
|
6102
|
+
}
|
|
6103
|
+
},
|
|
6104
|
+
displayOptions: {
|
|
6105
|
+
show: {
|
|
6106
|
+
resource: [
|
|
6107
|
+
'ai'
|
|
6108
|
+
],
|
|
6109
|
+
operation: [
|
|
6110
|
+
'api.ai.usage.members.getMany'
|
|
6111
|
+
],
|
|
6112
|
+
returnAll: [
|
|
6113
|
+
false
|
|
6114
|
+
]
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
typeOptions: {
|
|
6118
|
+
minValue: 1
|
|
6119
|
+
}
|
|
6120
|
+
},
|
|
6121
|
+
{
|
|
6122
|
+
displayName: 'User Ids',
|
|
6123
|
+
name: 'userIds',
|
|
6124
|
+
description: 'Filter by user identifier, comma-separated. Get via [List Project Members](#operation/api.projects.members.getMany)',
|
|
6125
|
+
default: [],
|
|
6126
|
+
type: 'multiOptions',
|
|
6127
|
+
routing: {
|
|
6128
|
+
send: {
|
|
6129
|
+
type: 'query',
|
|
6130
|
+
property: 'userIds',
|
|
6131
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
6132
|
+
propertyInDotNotation: false
|
|
6133
|
+
}
|
|
6134
|
+
},
|
|
6135
|
+
displayOptions: {
|
|
6136
|
+
show: {
|
|
6137
|
+
resource: [
|
|
6138
|
+
'ai'
|
|
6139
|
+
],
|
|
6140
|
+
operation: [
|
|
6141
|
+
'api.ai.usage.members.getMany'
|
|
6142
|
+
]
|
|
6143
|
+
}
|
|
6144
|
+
},
|
|
6145
|
+
typeOptions: {
|
|
6146
|
+
loadOptionsMethod: 'getUsersMulti'
|
|
6147
|
+
}
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
displayName: 'Order By',
|
|
6151
|
+
name: 'orderBy',
|
|
6152
|
+
description: 'Read more about [sorting rules](#section/Introduction/Sorting)',
|
|
6153
|
+
default: '',
|
|
6154
|
+
type: 'string',
|
|
6155
|
+
routing: {
|
|
6156
|
+
send: {
|
|
6157
|
+
type: 'query',
|
|
6158
|
+
property: 'orderBy',
|
|
6159
|
+
value: '={{ $value || undefined }}',
|
|
6160
|
+
propertyInDotNotation: false
|
|
6161
|
+
}
|
|
6162
|
+
},
|
|
6163
|
+
displayOptions: {
|
|
6164
|
+
show: {
|
|
6165
|
+
resource: [
|
|
6166
|
+
'ai'
|
|
6167
|
+
],
|
|
6168
|
+
operation: [
|
|
6169
|
+
'api.ai.usage.members.getMany'
|
|
6170
|
+
]
|
|
6171
|
+
}
|
|
6172
|
+
},
|
|
6173
|
+
placeholder: 'dailyCostSpent desc'
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
displayName: 'User Id',
|
|
6177
|
+
name: 'userId',
|
|
6178
|
+
required: true,
|
|
6179
|
+
description: 'User Identifier',
|
|
6180
|
+
default: '',
|
|
6181
|
+
type: 'options',
|
|
6182
|
+
displayOptions: {
|
|
6183
|
+
show: {
|
|
6184
|
+
resource: [
|
|
6185
|
+
'ai'
|
|
6186
|
+
],
|
|
6187
|
+
operation: [
|
|
6188
|
+
'api.ai.usage.members.get'
|
|
6189
|
+
]
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6192
|
+
typeOptions: {
|
|
6193
|
+
loadOptionsMethod: 'getUsers'
|
|
6194
|
+
}
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
displayName: 'Member Id',
|
|
6198
|
+
name: 'memberId',
|
|
6199
|
+
required: true,
|
|
6200
|
+
description: 'User Identifier. Get via [List Project Members](#operation/api.projects.members.getMany) or via [Get Authenticated User](#operation/api.user.get) for own usage',
|
|
6201
|
+
default: '',
|
|
6202
|
+
type: 'options',
|
|
6203
|
+
displayOptions: {
|
|
6204
|
+
show: {
|
|
6205
|
+
resource: [
|
|
6206
|
+
'ai'
|
|
6207
|
+
],
|
|
6208
|
+
operation: [
|
|
6209
|
+
'api.ai.usage.members.get'
|
|
6210
|
+
]
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
typeOptions: {
|
|
6214
|
+
loadOptionsMethod: 'getUsers'
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
5332
6217
|
{
|
|
5333
6218
|
displayName: 'Project Id',
|
|
5334
6219
|
name: 'projectId',
|
|
@@ -6532,6 +7417,23 @@ exports.aiProperties = [
|
|
|
6532
7417
|
]
|
|
6533
7418
|
}
|
|
6534
7419
|
}
|
|
7420
|
+
},
|
|
7421
|
+
{
|
|
7422
|
+
displayName: 'Return All',
|
|
7423
|
+
name: 'returnAll',
|
|
7424
|
+
type: 'boolean',
|
|
7425
|
+
default: true,
|
|
7426
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
7427
|
+
displayOptions: {
|
|
7428
|
+
show: {
|
|
7429
|
+
resource: [
|
|
7430
|
+
'ai'
|
|
7431
|
+
],
|
|
7432
|
+
operation: [
|
|
7433
|
+
'api.ai.usage.members.getMany'
|
|
7434
|
+
]
|
|
7435
|
+
}
|
|
7436
|
+
}
|
|
6535
7437
|
}
|
|
6536
7438
|
];
|
|
6537
7439
|
//# sourceMappingURL=ai.js.map
|