@smartytalent/openai-tools 0.7.12 → 0.8.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/tools.json +206 -0
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -9272,6 +9272,212 @@
|
|
|
9272
9272
|
}
|
|
9273
9273
|
}
|
|
9274
9274
|
},
|
|
9275
|
+
{
|
|
9276
|
+
"type": "function",
|
|
9277
|
+
"function": {
|
|
9278
|
+
"name": "list_surveys",
|
|
9279
|
+
"description": "List Surveys",
|
|
9280
|
+
"parameters": {
|
|
9281
|
+
"type": "object",
|
|
9282
|
+
"properties": {
|
|
9283
|
+
"filterStatus": {
|
|
9284
|
+
"type": "string",
|
|
9285
|
+
"description": "Returns surveys with the current status.",
|
|
9286
|
+
"enum": [
|
|
9287
|
+
"pending",
|
|
9288
|
+
"completed",
|
|
9289
|
+
"expired"
|
|
9290
|
+
]
|
|
9291
|
+
},
|
|
9292
|
+
"filterCandidateId": {
|
|
9293
|
+
"type": "string",
|
|
9294
|
+
"description": "Filter by the candidate the survey was sent to."
|
|
9295
|
+
},
|
|
9296
|
+
"filterCreatedFrom": {
|
|
9297
|
+
"type": "string",
|
|
9298
|
+
"description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
|
|
9299
|
+
},
|
|
9300
|
+
"filterCreatedTo": {
|
|
9301
|
+
"type": "string",
|
|
9302
|
+
"description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
|
|
9303
|
+
},
|
|
9304
|
+
"filterModifiedFrom": {
|
|
9305
|
+
"type": "string",
|
|
9306
|
+
"description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
|
|
9307
|
+
},
|
|
9308
|
+
"filterModifiedTo": {
|
|
9309
|
+
"type": "string",
|
|
9310
|
+
"description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
|
|
9311
|
+
},
|
|
9312
|
+
"pageSize": {
|
|
9313
|
+
"type": "integer",
|
|
9314
|
+
"description": "Specifies the number of items to retrieve per page. The maximum value is 100."
|
|
9315
|
+
},
|
|
9316
|
+
"pageNumber": {
|
|
9317
|
+
"type": "integer",
|
|
9318
|
+
"description": "Specifies the page number to retrieve. Used for traditional pagination."
|
|
9319
|
+
},
|
|
9320
|
+
"pageAfter": {
|
|
9321
|
+
"type": "string",
|
|
9322
|
+
"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."
|
|
9323
|
+
},
|
|
9324
|
+
"pageBefore": {
|
|
9325
|
+
"type": "string",
|
|
9326
|
+
"description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
|
|
9327
|
+
}
|
|
9328
|
+
}
|
|
9329
|
+
}
|
|
9330
|
+
}
|
|
9331
|
+
},
|
|
9332
|
+
{
|
|
9333
|
+
"type": "function",
|
|
9334
|
+
"function": {
|
|
9335
|
+
"name": "surveys_options",
|
|
9336
|
+
"description": "Surveys Options",
|
|
9337
|
+
"parameters": {
|
|
9338
|
+
"type": "object",
|
|
9339
|
+
"properties": {}
|
|
9340
|
+
}
|
|
9341
|
+
}
|
|
9342
|
+
},
|
|
9343
|
+
{
|
|
9344
|
+
"type": "function",
|
|
9345
|
+
"function": {
|
|
9346
|
+
"name": "show_survey",
|
|
9347
|
+
"description": "Show Survey",
|
|
9348
|
+
"parameters": {
|
|
9349
|
+
"type": "object",
|
|
9350
|
+
"properties": {
|
|
9351
|
+
"surveyId": {
|
|
9352
|
+
"type": "string",
|
|
9353
|
+
"description": "surveyId parameter"
|
|
9354
|
+
}
|
|
9355
|
+
},
|
|
9356
|
+
"required": [
|
|
9357
|
+
"surveyId"
|
|
9358
|
+
]
|
|
9359
|
+
}
|
|
9360
|
+
}
|
|
9361
|
+
},
|
|
9362
|
+
{
|
|
9363
|
+
"type": "function",
|
|
9364
|
+
"function": {
|
|
9365
|
+
"name": "survey_options",
|
|
9366
|
+
"description": "Survey Options",
|
|
9367
|
+
"parameters": {
|
|
9368
|
+
"type": "object",
|
|
9369
|
+
"properties": {}
|
|
9370
|
+
}
|
|
9371
|
+
}
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"type": "function",
|
|
9375
|
+
"function": {
|
|
9376
|
+
"name": "show_guest_survey",
|
|
9377
|
+
"description": "Show Guest Survey",
|
|
9378
|
+
"parameters": {
|
|
9379
|
+
"type": "object",
|
|
9380
|
+
"properties": {
|
|
9381
|
+
"tenantId": {
|
|
9382
|
+
"type": "string",
|
|
9383
|
+
"description": "Base tenant id from the emailed link. Half of the guest auth pair."
|
|
9384
|
+
},
|
|
9385
|
+
"token": {
|
|
9386
|
+
"type": "string",
|
|
9387
|
+
"description": "Per-survey accessToken from the emailed link. Compared with hmac.compare_digest; mismatch returns 404."
|
|
9388
|
+
}
|
|
9389
|
+
},
|
|
9390
|
+
"required": [
|
|
9391
|
+
"tenantId",
|
|
9392
|
+
"token"
|
|
9393
|
+
]
|
|
9394
|
+
}
|
|
9395
|
+
}
|
|
9396
|
+
},
|
|
9397
|
+
{
|
|
9398
|
+
"type": "function",
|
|
9399
|
+
"function": {
|
|
9400
|
+
"name": "submit_guest_survey",
|
|
9401
|
+
"description": "Submit Guest Survey",
|
|
9402
|
+
"parameters": {
|
|
9403
|
+
"title": "SubmitGuestSurveyRequestBody",
|
|
9404
|
+
"type": "object",
|
|
9405
|
+
"required": [
|
|
9406
|
+
"data",
|
|
9407
|
+
"meta"
|
|
9408
|
+
],
|
|
9409
|
+
"properties": {
|
|
9410
|
+
"data": {
|
|
9411
|
+
"title": "SubmitGuestSurveyRequestBodyData",
|
|
9412
|
+
"type": "object",
|
|
9413
|
+
"required": [
|
|
9414
|
+
"type",
|
|
9415
|
+
"attributes"
|
|
9416
|
+
],
|
|
9417
|
+
"properties": {
|
|
9418
|
+
"type": {
|
|
9419
|
+
"type": "string",
|
|
9420
|
+
"enum": [
|
|
9421
|
+
"surveys"
|
|
9422
|
+
]
|
|
9423
|
+
},
|
|
9424
|
+
"id": {
|
|
9425
|
+
"type": "string"
|
|
9426
|
+
},
|
|
9427
|
+
"attributes": {
|
|
9428
|
+
"title": "SubmitGuestSurveyRequestBodyDataAttributes",
|
|
9429
|
+
"type": "object",
|
|
9430
|
+
"required": [
|
|
9431
|
+
"score"
|
|
9432
|
+
],
|
|
9433
|
+
"properties": {
|
|
9434
|
+
"score": {
|
|
9435
|
+
"type": "integer",
|
|
9436
|
+
"minimum": 0,
|
|
9437
|
+
"maximum": 10,
|
|
9438
|
+
"description": "The NPS answer. 0-6 buckets to detractor, 7-8 passive, 9-10 promoter - the bucketing happens server-side."
|
|
9439
|
+
},
|
|
9440
|
+
"comment": {
|
|
9441
|
+
"type": "string",
|
|
9442
|
+
"maxLength": 2000,
|
|
9443
|
+
"description": "Optional free text. Trimmed server-side; an empty string is stored as absent."
|
|
9444
|
+
}
|
|
9445
|
+
}
|
|
9446
|
+
}
|
|
9447
|
+
}
|
|
9448
|
+
},
|
|
9449
|
+
"meta": {
|
|
9450
|
+
"title": "GuestSurveyMetaSchema",
|
|
9451
|
+
"description": "Auth context for the unauthenticated PATCH /v1/guest/surveys/{id}.\nBoth values come from the emailed link, never from a session -\nthere is no authorizer on the guest path. tenantId is the BASE\ntenant id; accessToken is the per-survey token minted at create and\ncompared with hmac.compare_digest. Any mismatch returns 404,\nintentionally indistinguishable from \"survey not found\" so survey\nexistence is never leaked.",
|
|
9452
|
+
"type": "object",
|
|
9453
|
+
"required": [
|
|
9454
|
+
"tenantId",
|
|
9455
|
+
"accessToken"
|
|
9456
|
+
],
|
|
9457
|
+
"properties": {
|
|
9458
|
+
"tenantId": {
|
|
9459
|
+
"type": "string"
|
|
9460
|
+
},
|
|
9461
|
+
"accessToken": {
|
|
9462
|
+
"type": "string"
|
|
9463
|
+
}
|
|
9464
|
+
}
|
|
9465
|
+
}
|
|
9466
|
+
}
|
|
9467
|
+
}
|
|
9468
|
+
}
|
|
9469
|
+
},
|
|
9470
|
+
{
|
|
9471
|
+
"type": "function",
|
|
9472
|
+
"function": {
|
|
9473
|
+
"name": "guest_survey_options",
|
|
9474
|
+
"description": "Guest Survey Options",
|
|
9475
|
+
"parameters": {
|
|
9476
|
+
"type": "object",
|
|
9477
|
+
"properties": {}
|
|
9478
|
+
}
|
|
9479
|
+
}
|
|
9480
|
+
},
|
|
9275
9481
|
{
|
|
9276
9482
|
"type": "function",
|
|
9277
9483
|
"function": {
|