@smartytalent/openai-tools 0.1.33-dev.35 → 0.1.33-dev.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/tools.json +436 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -16070,6 +16070,442 @@
16070
16070
  }
16071
16071
  }
16072
16072
  },
16073
+ {
16074
+ "type": "function",
16075
+ "function": {
16076
+ "name": "create_attempt",
16077
+ "description": "Create Attempt",
16078
+ "parameters": {
16079
+ "type": "object",
16080
+ "required": [
16081
+ "data"
16082
+ ],
16083
+ "properties": {
16084
+ "data": {
16085
+ "type": "object",
16086
+ "required": [
16087
+ "type",
16088
+ "relationships"
16089
+ ],
16090
+ "properties": {
16091
+ "type": {
16092
+ "type": "string",
16093
+ "enum": [
16094
+ "attempts"
16095
+ ]
16096
+ },
16097
+ "attributes": {
16098
+ "type": "object",
16099
+ "properties": {
16100
+ "languageCode": {
16101
+ "type": "string"
16102
+ },
16103
+ "durationMinutes": {
16104
+ "type": "number"
16105
+ },
16106
+ "expiresAt": {
16107
+ "type": "string",
16108
+ "format": "date-time"
16109
+ }
16110
+ }
16111
+ },
16112
+ "relationships": {
16113
+ "type": "object",
16114
+ "required": [
16115
+ "assessment",
16116
+ "candidate"
16117
+ ],
16118
+ "properties": {
16119
+ "assessment": {
16120
+ "type": "object"
16121
+ },
16122
+ "candidate": {
16123
+ "type": "object"
16124
+ },
16125
+ "job": {
16126
+ "type": "object"
16127
+ }
16128
+ }
16129
+ }
16130
+ }
16131
+ }
16132
+ }
16133
+ }
16134
+ }
16135
+ },
16136
+ {
16137
+ "type": "function",
16138
+ "function": {
16139
+ "name": "list_attempts",
16140
+ "description": "List Attempts",
16141
+ "parameters": {
16142
+ "type": "object",
16143
+ "properties": {
16144
+ "filterStatus": {
16145
+ "type": "string",
16146
+ "description": "Filter by attempt status.",
16147
+ "enum": [
16148
+ "pending",
16149
+ "inProgress",
16150
+ "submitted",
16151
+ "evaluated",
16152
+ "reviewed",
16153
+ "anonymized",
16154
+ "failed"
16155
+ ]
16156
+ },
16157
+ "filterAssessmentId": {
16158
+ "type": "string",
16159
+ "description": "Filter by assessment template id."
16160
+ },
16161
+ "filterCandidateId": {
16162
+ "type": "string",
16163
+ "description": "Filter by candidate id."
16164
+ },
16165
+ "filterCreatedFrom": {
16166
+ "type": "string",
16167
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
16168
+ },
16169
+ "filterCreatedTo": {
16170
+ "type": "string",
16171
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
16172
+ },
16173
+ "filterModifiedFrom": {
16174
+ "type": "string",
16175
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
16176
+ },
16177
+ "filterModifiedTo": {
16178
+ "type": "string",
16179
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
16180
+ },
16181
+ "pageSize": {
16182
+ "type": "integer",
16183
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
16184
+ },
16185
+ "pageNumber": {
16186
+ "type": "integer",
16187
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
16188
+ },
16189
+ "pageAfter": {
16190
+ "type": "string",
16191
+ "description": "Opaque base64-encoded cursor returned by a previous list response, used for forward cursor-based pagination. Pass the value verbatim; do not decode or mutate it."
16192
+ },
16193
+ "pageBefore": {
16194
+ "type": "string",
16195
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
16196
+ }
16197
+ }
16198
+ }
16199
+ }
16200
+ },
16201
+ {
16202
+ "type": "function",
16203
+ "function": {
16204
+ "name": "attempts_options",
16205
+ "description": "Attempts Options",
16206
+ "parameters": {
16207
+ "type": "object",
16208
+ "properties": {}
16209
+ }
16210
+ }
16211
+ },
16212
+ {
16213
+ "type": "function",
16214
+ "function": {
16215
+ "name": "show_attempt",
16216
+ "description": "Show Attempt",
16217
+ "parameters": {
16218
+ "type": "object",
16219
+ "properties": {}
16220
+ }
16221
+ }
16222
+ },
16223
+ {
16224
+ "type": "function",
16225
+ "function": {
16226
+ "name": "update_attempt",
16227
+ "description": "Update Attempt",
16228
+ "parameters": {
16229
+ "type": "object",
16230
+ "required": [
16231
+ "data"
16232
+ ],
16233
+ "properties": {
16234
+ "data": {
16235
+ "type": "object",
16236
+ "required": [
16237
+ "type",
16238
+ "id"
16239
+ ],
16240
+ "properties": {
16241
+ "type": {
16242
+ "type": "string",
16243
+ "enum": [
16244
+ "attempts"
16245
+ ]
16246
+ },
16247
+ "id": {
16248
+ "type": "string"
16249
+ },
16250
+ "attributes": {
16251
+ "type": "object"
16252
+ },
16253
+ "relationships": {
16254
+ "type": "object"
16255
+ }
16256
+ }
16257
+ }
16258
+ }
16259
+ }
16260
+ }
16261
+ },
16262
+ {
16263
+ "type": "function",
16264
+ "function": {
16265
+ "name": "delete_attempt",
16266
+ "description": "Delete Attempt",
16267
+ "parameters": {
16268
+ "type": "object",
16269
+ "properties": {
16270
+ "permanentDelete": {
16271
+ "type": "string",
16272
+ "description": "permanentDelete parameter",
16273
+ "enum": [
16274
+ "true",
16275
+ "false"
16276
+ ]
16277
+ }
16278
+ }
16279
+ }
16280
+ }
16281
+ },
16282
+ {
16283
+ "type": "function",
16284
+ "function": {
16285
+ "name": "attempt_options",
16286
+ "description": "Attempt Options",
16287
+ "parameters": {
16288
+ "type": "object",
16289
+ "properties": {}
16290
+ }
16291
+ }
16292
+ },
16293
+ {
16294
+ "type": "function",
16295
+ "function": {
16296
+ "name": "reevaluate_attempt",
16297
+ "description": "Reevaluate Attempt",
16298
+ "parameters": {
16299
+ "type": "object",
16300
+ "properties": {}
16301
+ }
16302
+ }
16303
+ },
16304
+ {
16305
+ "type": "function",
16306
+ "function": {
16307
+ "name": "reevaluate_attempt_options",
16308
+ "description": "Reevaluate Options",
16309
+ "parameters": {
16310
+ "type": "object",
16311
+ "properties": {}
16312
+ }
16313
+ }
16314
+ },
16315
+ {
16316
+ "type": "function",
16317
+ "function": {
16318
+ "name": "start_guest_attempt",
16319
+ "description": "Start Guest Attempt",
16320
+ "parameters": {
16321
+ "type": "object",
16322
+ "required": [
16323
+ "data",
16324
+ "meta"
16325
+ ],
16326
+ "properties": {
16327
+ "data": {
16328
+ "type": "object",
16329
+ "required": [
16330
+ "type",
16331
+ "id"
16332
+ ],
16333
+ "properties": {
16334
+ "type": {
16335
+ "type": "string",
16336
+ "enum": [
16337
+ "attempts"
16338
+ ]
16339
+ },
16340
+ "id": {
16341
+ "type": "string"
16342
+ }
16343
+ }
16344
+ },
16345
+ "meta": {
16346
+ "type": "object",
16347
+ "required": [
16348
+ "tenantId",
16349
+ "accessToken"
16350
+ ],
16351
+ "properties": {
16352
+ "tenantId": {
16353
+ "type": "string"
16354
+ },
16355
+ "accessToken": {
16356
+ "type": "string"
16357
+ }
16358
+ }
16359
+ }
16360
+ }
16361
+ }
16362
+ }
16363
+ },
16364
+ {
16365
+ "type": "function",
16366
+ "function": {
16367
+ "name": "guest_attempts_options",
16368
+ "description": "Guest Attempts Options",
16369
+ "parameters": {
16370
+ "type": "object",
16371
+ "properties": {}
16372
+ }
16373
+ }
16374
+ },
16375
+ {
16376
+ "type": "function",
16377
+ "function": {
16378
+ "name": "show_guest_attempt",
16379
+ "description": "Show Guest Attempt",
16380
+ "parameters": {
16381
+ "type": "object",
16382
+ "properties": {
16383
+ "tenantId": {
16384
+ "type": "string",
16385
+ "description": "tenantId parameter"
16386
+ },
16387
+ "token": {
16388
+ "type": "string",
16389
+ "description": "token parameter"
16390
+ }
16391
+ },
16392
+ "required": [
16393
+ "tenantId",
16394
+ "token"
16395
+ ]
16396
+ }
16397
+ }
16398
+ },
16399
+ {
16400
+ "type": "function",
16401
+ "function": {
16402
+ "name": "update_guest_attempt",
16403
+ "description": "Update Guest Attempt",
16404
+ "parameters": {
16405
+ "type": "object",
16406
+ "required": [
16407
+ "data",
16408
+ "meta"
16409
+ ],
16410
+ "properties": {
16411
+ "data": {
16412
+ "type": "object",
16413
+ "required": [
16414
+ "type",
16415
+ "id"
16416
+ ],
16417
+ "properties": {
16418
+ "type": {
16419
+ "type": "string",
16420
+ "enum": [
16421
+ "attempts"
16422
+ ]
16423
+ },
16424
+ "id": {
16425
+ "type": "string"
16426
+ },
16427
+ "attributes": {
16428
+ "type": "object",
16429
+ "properties": {
16430
+ "answers": {
16431
+ "type": "array",
16432
+ "description": "Per-question answer objects. Free-form because question types vary (multiple-choice, free-text, file upload, code editor).",
16433
+ "items": {
16434
+ "type": "object",
16435
+ "properties": {
16436
+ "questionId": {
16437
+ "type": "string"
16438
+ },
16439
+ "answer": {
16440
+ "description": "Candidate's answer - string, number, array of selected option ids, etc. Validation against the template's question type happens at evaluation time."
16441
+ },
16442
+ "files": {
16443
+ "type": "array",
16444
+ "description": "Optional file uploads attached to this answer.",
16445
+ "items": {
16446
+ "type": "object",
16447
+ "properties": {
16448
+ "fileKey": {
16449
+ "type": "string"
16450
+ },
16451
+ "fileName": {
16452
+ "type": "string"
16453
+ },
16454
+ "contentType": {
16455
+ "type": "string"
16456
+ },
16457
+ "size": {
16458
+ "type": "integer"
16459
+ }
16460
+ }
16461
+ }
16462
+ }
16463
+ }
16464
+ }
16465
+ },
16466
+ "proctoring": {
16467
+ "type": "object"
16468
+ },
16469
+ "status": {
16470
+ "type": "string",
16471
+ "enum": [
16472
+ "submitted"
16473
+ ]
16474
+ }
16475
+ }
16476
+ }
16477
+ }
16478
+ },
16479
+ "meta": {
16480
+ "type": "object",
16481
+ "required": [
16482
+ "tenantId",
16483
+ "accessToken"
16484
+ ],
16485
+ "properties": {
16486
+ "tenantId": {
16487
+ "type": "string"
16488
+ },
16489
+ "accessToken": {
16490
+ "type": "string"
16491
+ }
16492
+ }
16493
+ }
16494
+ }
16495
+ }
16496
+ }
16497
+ },
16498
+ {
16499
+ "type": "function",
16500
+ "function": {
16501
+ "name": "guest_attempt_options",
16502
+ "description": "Guest Attempt Options",
16503
+ "parameters": {
16504
+ "type": "object",
16505
+ "properties": {}
16506
+ }
16507
+ }
16508
+ },
16073
16509
  {
16074
16510
  "type": "function",
16075
16511
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.35",
3
+ "version": "0.1.33-dev.36",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",