@smartytalent/openai-tools 0.1.19 → 0.1.20

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 +473 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -6919,6 +6919,479 @@
6919
6919
  }
6920
6920
  }
6921
6921
  },
6922
+ {
6923
+ "type": "function",
6924
+ "function": {
6925
+ "name": "list_feedbacks",
6926
+ "description": "List Feedbacks",
6927
+ "parameters": {
6928
+ "type": "object",
6929
+ "properties": {
6930
+ "filterStatus": {
6931
+ "type": "string",
6932
+ "description": "Returns feedbacks with the current status.",
6933
+ "enum": [
6934
+ "active",
6935
+ "draft",
6936
+ "archived",
6937
+ "failed"
6938
+ ]
6939
+ },
6940
+ "filterCreatedFrom": {
6941
+ "type": "string",
6942
+ "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
6943
+ },
6944
+ "filterCreatedTo": {
6945
+ "type": "string",
6946
+ "description": "Filters results to include only those created up to the specified date and time. The value must be in ISO 8601 format."
6947
+ },
6948
+ "filterModifiedFrom": {
6949
+ "type": "string",
6950
+ "description": "Filters results to include only those modified from the specified date and time. The value must be in ISO 8601 format."
6951
+ },
6952
+ "filterModifiedTo": {
6953
+ "type": "string",
6954
+ "description": "Filters results to include only those modified up to the specified date and time. The value must be in ISO 8601 format."
6955
+ },
6956
+ "pageSize": {
6957
+ "type": "integer",
6958
+ "description": "Specifies the number of items to retrieve per page. The maximum value is 100."
6959
+ },
6960
+ "pageNumber": {
6961
+ "type": "integer",
6962
+ "description": "Specifies the page number to retrieve. Used for traditional pagination."
6963
+ },
6964
+ "pageAfter": {
6965
+ "type": "string",
6966
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6967
+ },
6968
+ "pageBefore": {
6969
+ "type": "string",
6970
+ "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6971
+ }
6972
+ }
6973
+ }
6974
+ }
6975
+ },
6976
+ {
6977
+ "type": "function",
6978
+ "function": {
6979
+ "name": "create_feedback",
6980
+ "description": "Create Feedback",
6981
+ "parameters": {
6982
+ "title": "CreateFeedbackRequestBody",
6983
+ "type": "object",
6984
+ "required": [
6985
+ "data"
6986
+ ],
6987
+ "properties": {
6988
+ "data": {
6989
+ "title": "CreateFeedbackRequestBodyData",
6990
+ "type": "object",
6991
+ "required": [
6992
+ "type",
6993
+ "attributes"
6994
+ ],
6995
+ "properties": {
6996
+ "type": {
6997
+ "type": "string",
6998
+ "enum": [
6999
+ "feedbacks"
7000
+ ]
7001
+ },
7002
+ "attributes": {
7003
+ "title": "FeedbackAttributesSchema",
7004
+ "type": "object",
7005
+ "required": [
7006
+ "name"
7007
+ ],
7008
+ "properties": {
7009
+ "name": {
7010
+ "type": "string"
7011
+ },
7012
+ "transparency": {
7013
+ "type": "string",
7014
+ "enum": [
7015
+ "generic",
7016
+ "category",
7017
+ "specific"
7018
+ ]
7019
+ },
7020
+ "tone": {
7021
+ "type": "string",
7022
+ "enum": [
7023
+ "casual",
7024
+ "formal",
7025
+ "superFormal"
7026
+ ]
7027
+ },
7028
+ "delay": {
7029
+ "type": "integer",
7030
+ "default": 72
7031
+ },
7032
+ "respectBusinessDays": {
7033
+ "type": "boolean",
7034
+ "default": false
7035
+ },
7036
+ "signature": {
7037
+ "type": "object",
7038
+ "properties": {
7039
+ "name": {
7040
+ "type": "string"
7041
+ },
7042
+ "title": {
7043
+ "type": "string"
7044
+ },
7045
+ "company": {
7046
+ "type": "string"
7047
+ }
7048
+ }
7049
+ },
7050
+ "aiDisclosure": {
7051
+ "type": "boolean",
7052
+ "default": true
7053
+ },
7054
+ "instructions": {
7055
+ "type": "string"
7056
+ },
7057
+ "categories": {
7058
+ "type": "array",
7059
+ "items": {
7060
+ "type": "string"
7061
+ }
7062
+ },
7063
+ "reasons": {
7064
+ "type": "array",
7065
+ "items": {
7066
+ "type": "string"
7067
+ }
7068
+ },
7069
+ "links": {
7070
+ "type": "array",
7071
+ "items": {
7072
+ "type": "object",
7073
+ "properties": {
7074
+ "label": {
7075
+ "type": "string"
7076
+ },
7077
+ "url": {
7078
+ "type": "string"
7079
+ }
7080
+ }
7081
+ }
7082
+ },
7083
+ "feedbackFormUrl": {
7084
+ "type": "string"
7085
+ },
7086
+ "status": {
7087
+ "type": "string",
7088
+ "enum": [
7089
+ "active",
7090
+ "draft",
7091
+ "archived",
7092
+ "failed"
7093
+ ]
7094
+ },
7095
+ "source": {
7096
+ "type": "string"
7097
+ },
7098
+ "timestamps": {
7099
+ "title": "ResourceTimestampsSchema",
7100
+ "type": "object",
7101
+ "properties": {
7102
+ "created": {
7103
+ "type": "string",
7104
+ "format": "date-time"
7105
+ },
7106
+ "modified": {
7107
+ "type": "string",
7108
+ "format": "date-time"
7109
+ }
7110
+ }
7111
+ }
7112
+ }
7113
+ },
7114
+ "relationships": {
7115
+ "title": "FeedbackRelationshipsSchema",
7116
+ "type": "object",
7117
+ "properties": {
7118
+ "jobs": {
7119
+ "title": "FeedbackRelationshipsJobsSchema",
7120
+ "type": "object",
7121
+ "properties": {
7122
+ "data": {
7123
+ "type": "object",
7124
+ "properties": {
7125
+ "type": {
7126
+ "type": "string"
7127
+ },
7128
+ "id": {
7129
+ "type": "string"
7130
+ }
7131
+ }
7132
+ }
7133
+ }
7134
+ }
7135
+ }
7136
+ }
7137
+ }
7138
+ }
7139
+ }
7140
+ }
7141
+ }
7142
+ },
7143
+ {
7144
+ "type": "function",
7145
+ "function": {
7146
+ "name": "feedbacks_options",
7147
+ "description": "Feedbacks Options",
7148
+ "parameters": {
7149
+ "type": "object",
7150
+ "properties": {}
7151
+ }
7152
+ }
7153
+ },
7154
+ {
7155
+ "type": "function",
7156
+ "function": {
7157
+ "name": "show_feedback",
7158
+ "description": "Show Feedback",
7159
+ "parameters": {
7160
+ "type": "object",
7161
+ "properties": {
7162
+ "feedbackId": {
7163
+ "type": "string",
7164
+ "description": "feedbackId parameter"
7165
+ }
7166
+ },
7167
+ "required": [
7168
+ "feedbackId"
7169
+ ]
7170
+ }
7171
+ }
7172
+ },
7173
+ {
7174
+ "type": "function",
7175
+ "function": {
7176
+ "name": "update_feedback",
7177
+ "description": "Update Feedback",
7178
+ "parameters": {
7179
+ "type": "object",
7180
+ "properties": {
7181
+ "feedbackId": {
7182
+ "type": "string",
7183
+ "description": "feedbackId parameter"
7184
+ },
7185
+ "requestBody": {
7186
+ "title": "UpdateFeedbackRequestBody",
7187
+ "type": "object",
7188
+ "required": [
7189
+ "data"
7190
+ ],
7191
+ "properties": {
7192
+ "data": {
7193
+ "title": "UpdateFeedbackRequestBodyData",
7194
+ "type": "object",
7195
+ "required": [
7196
+ "type",
7197
+ "id",
7198
+ "attributes"
7199
+ ],
7200
+ "properties": {
7201
+ "type": {
7202
+ "type": "string",
7203
+ "enum": [
7204
+ "feedbacks"
7205
+ ]
7206
+ },
7207
+ "id": {
7208
+ "type": "string"
7209
+ },
7210
+ "attributes": {
7211
+ "title": "FeedbackAttributesSchema",
7212
+ "type": "object",
7213
+ "required": [
7214
+ "name"
7215
+ ],
7216
+ "properties": {
7217
+ "name": {
7218
+ "type": "string"
7219
+ },
7220
+ "transparency": {
7221
+ "type": "string",
7222
+ "enum": [
7223
+ "generic",
7224
+ "category",
7225
+ "specific"
7226
+ ]
7227
+ },
7228
+ "tone": {
7229
+ "type": "string",
7230
+ "enum": [
7231
+ "casual",
7232
+ "formal",
7233
+ "superFormal"
7234
+ ]
7235
+ },
7236
+ "delay": {
7237
+ "type": "integer",
7238
+ "default": 72
7239
+ },
7240
+ "respectBusinessDays": {
7241
+ "type": "boolean",
7242
+ "default": false
7243
+ },
7244
+ "signature": {
7245
+ "type": "object",
7246
+ "properties": {
7247
+ "name": {
7248
+ "type": "string"
7249
+ },
7250
+ "title": {
7251
+ "type": "string"
7252
+ },
7253
+ "company": {
7254
+ "type": "string"
7255
+ }
7256
+ }
7257
+ },
7258
+ "aiDisclosure": {
7259
+ "type": "boolean",
7260
+ "default": true
7261
+ },
7262
+ "instructions": {
7263
+ "type": "string"
7264
+ },
7265
+ "categories": {
7266
+ "type": "array",
7267
+ "items": {
7268
+ "type": "string"
7269
+ }
7270
+ },
7271
+ "reasons": {
7272
+ "type": "array",
7273
+ "items": {
7274
+ "type": "string"
7275
+ }
7276
+ },
7277
+ "links": {
7278
+ "type": "array",
7279
+ "items": {
7280
+ "type": "object",
7281
+ "properties": {
7282
+ "label": {
7283
+ "type": "string"
7284
+ },
7285
+ "url": {
7286
+ "type": "string"
7287
+ }
7288
+ }
7289
+ }
7290
+ },
7291
+ "feedbackFormUrl": {
7292
+ "type": "string"
7293
+ },
7294
+ "status": {
7295
+ "type": "string",
7296
+ "enum": [
7297
+ "active",
7298
+ "draft",
7299
+ "archived",
7300
+ "failed"
7301
+ ]
7302
+ },
7303
+ "source": {
7304
+ "type": "string"
7305
+ },
7306
+ "timestamps": {
7307
+ "title": "ResourceTimestampsSchema",
7308
+ "type": "object",
7309
+ "properties": {
7310
+ "created": {
7311
+ "type": "string",
7312
+ "format": "date-time"
7313
+ },
7314
+ "modified": {
7315
+ "type": "string",
7316
+ "format": "date-time"
7317
+ }
7318
+ }
7319
+ }
7320
+ }
7321
+ },
7322
+ "relationships": {
7323
+ "title": "FeedbackRelationshipsSchema",
7324
+ "type": "object",
7325
+ "properties": {
7326
+ "jobs": {
7327
+ "title": "FeedbackRelationshipsJobsSchema",
7328
+ "type": "object",
7329
+ "properties": {
7330
+ "data": {
7331
+ "type": "object",
7332
+ "properties": {
7333
+ "type": {
7334
+ "type": "string"
7335
+ },
7336
+ "id": {
7337
+ "type": "string"
7338
+ }
7339
+ }
7340
+ }
7341
+ }
7342
+ }
7343
+ }
7344
+ }
7345
+ }
7346
+ }
7347
+ }
7348
+ }
7349
+ },
7350
+ "required": [
7351
+ "feedbackId",
7352
+ "requestBody"
7353
+ ]
7354
+ }
7355
+ }
7356
+ },
7357
+ {
7358
+ "type": "function",
7359
+ "function": {
7360
+ "name": "delete_feedback",
7361
+ "description": "Delete Feedback",
7362
+ "parameters": {
7363
+ "type": "object",
7364
+ "properties": {
7365
+ "feedbackId": {
7366
+ "type": "string",
7367
+ "description": "feedbackId parameter"
7368
+ },
7369
+ "permanentDelete": {
7370
+ "type": "string",
7371
+ "description": "Set to true for permanent deletion.",
7372
+ "enum": [
7373
+ "true",
7374
+ "false"
7375
+ ]
7376
+ }
7377
+ },
7378
+ "required": [
7379
+ "feedbackId"
7380
+ ]
7381
+ }
7382
+ }
7383
+ },
7384
+ {
7385
+ "type": "function",
7386
+ "function": {
7387
+ "name": "feedback_options",
7388
+ "description": "Feedback Options",
7389
+ "parameters": {
7390
+ "type": "object",
7391
+ "properties": {}
7392
+ }
7393
+ }
7394
+ },
6922
7395
  {
6923
7396
  "type": "function",
6924
7397
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",