@smartytalent/openai-tools 0.1.18 → 0.1.19

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 +297 -62
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -6925,74 +6925,219 @@
6925
6925
  "name": "create_submission",
6926
6926
  "description": "Create Submission",
6927
6927
  "parameters": {
6928
+ "title": "CreateSubmissionRequestBody",
6928
6929
  "type": "object",
6929
6930
  "required": [
6930
- "name",
6931
- "email",
6932
- "tenantId",
6933
- "formId"
6931
+ "data"
6934
6932
  ],
6935
6933
  "properties": {
6936
- "tenantId": {
6937
- "type": "string"
6938
- },
6939
- "formId": {
6940
- "type": "string"
6941
- },
6942
- "name": {
6943
- "type": "string"
6944
- },
6945
- "email": {
6946
- "type": "string"
6947
- },
6948
- "phone": {
6949
- "type": "string"
6950
- },
6951
- "files": {
6952
- "type": "array",
6953
- "items": {
6954
- "type": "object",
6955
- "properties": {
6956
- "fileKey": {
6957
- "type": "string"
6958
- },
6959
- "originalFilename": {
6960
- "type": "string"
6961
- }
6962
- }
6963
- }
6964
- },
6965
- "fields": {
6966
- "type": "object"
6967
- },
6968
- "language": {
6969
- "type": "string"
6970
- },
6971
- "jobId": {
6972
- "type": "string"
6973
- },
6974
- "referral": {
6934
+ "data": {
6935
+ "title": "CreateSubmissionRequestBodyData",
6975
6936
  "type": "object",
6937
+ "required": [
6938
+ "type",
6939
+ "attributes"
6940
+ ],
6976
6941
  "properties": {
6977
- "referrerName": {
6978
- "type": "string"
6979
- },
6980
- "referrerEmail": {
6981
- "type": "string"
6942
+ "type": {
6943
+ "type": "string",
6944
+ "enum": [
6945
+ "submissions"
6946
+ ]
6982
6947
  },
6983
- "relationship": {
6984
- "type": "string"
6948
+ "attributes": {
6949
+ "title": "SubmissionAttributesSchema",
6950
+ "type": "object",
6951
+ "required": [
6952
+ "name",
6953
+ "email"
6954
+ ],
6955
+ "properties": {
6956
+ "name": {
6957
+ "type": "string"
6958
+ },
6959
+ "email": {
6960
+ "type": "string"
6961
+ },
6962
+ "phone": {
6963
+ "type": "string"
6964
+ },
6965
+ "source": {
6966
+ "type": "string",
6967
+ "enum": [
6968
+ "form",
6969
+ "email",
6970
+ "call",
6971
+ "api"
6972
+ ]
6973
+ },
6974
+ "status": {
6975
+ "type": "string",
6976
+ "enum": [
6977
+ "received",
6978
+ "processing",
6979
+ "processed",
6980
+ "failed"
6981
+ ]
6982
+ },
6983
+ "language": {
6984
+ "type": "string"
6985
+ },
6986
+ "fields": {
6987
+ "type": "object",
6988
+ "description": "Custom form field answers keyed by field identifier"
6989
+ },
6990
+ "files": {
6991
+ "type": "array",
6992
+ "items": {
6993
+ "type": "object",
6994
+ "properties": {
6995
+ "key": {
6996
+ "type": "string"
6997
+ },
6998
+ "bucket": {
6999
+ "type": "string"
7000
+ },
7001
+ "name": {
7002
+ "type": "string"
7003
+ },
7004
+ "contentType": {
7005
+ "type": "string"
7006
+ }
7007
+ }
7008
+ }
7009
+ },
7010
+ "referral": {
7011
+ "type": "object",
7012
+ "properties": {
7013
+ "referrerName": {
7014
+ "type": "string"
7015
+ },
7016
+ "referrerEmail": {
7017
+ "type": "string"
7018
+ },
7019
+ "relationship": {
7020
+ "type": "string"
7021
+ },
7022
+ "note": {
7023
+ "type": "string"
7024
+ }
7025
+ }
7026
+ },
7027
+ "consent": {
7028
+ "type": "object",
7029
+ "properties": {
7030
+ "current": {
7031
+ "type": "boolean"
7032
+ },
7033
+ "future": {
7034
+ "type": "boolean"
7035
+ }
7036
+ }
7037
+ },
7038
+ "timestamps": {
7039
+ "title": "ResourceTimestampsSchema",
7040
+ "type": "object",
7041
+ "properties": {
7042
+ "created": {
7043
+ "type": "string",
7044
+ "format": "date-time"
7045
+ },
7046
+ "modified": {
7047
+ "type": "string",
7048
+ "format": "date-time"
7049
+ }
7050
+ }
7051
+ }
7052
+ }
6985
7053
  },
6986
- "note": {
6987
- "type": "string"
7054
+ "relationships": {
7055
+ "title": "SubmissionRelationshipsSchema",
7056
+ "type": "object",
7057
+ "properties": {
7058
+ "forms": {
7059
+ "title": "SubmissionRelationshipsFormsSchema",
7060
+ "type": "object",
7061
+ "properties": {
7062
+ "data": {
7063
+ "type": "array",
7064
+ "items": {
7065
+ "type": "object",
7066
+ "properties": {
7067
+ "type": {
7068
+ "type": "string"
7069
+ },
7070
+ "id": {
7071
+ "type": "string"
7072
+ }
7073
+ }
7074
+ }
7075
+ }
7076
+ }
7077
+ },
7078
+ "jobs": {
7079
+ "title": "SubmissionRelationshipsJobsSchema",
7080
+ "type": "object",
7081
+ "properties": {
7082
+ "data": {
7083
+ "type": "array",
7084
+ "items": {
7085
+ "type": "object",
7086
+ "properties": {
7087
+ "type": {
7088
+ "type": "string"
7089
+ },
7090
+ "id": {
7091
+ "type": "string"
7092
+ }
7093
+ }
7094
+ }
7095
+ }
7096
+ }
7097
+ },
7098
+ "talents": {
7099
+ "title": "SubmissionRelationshipsTalentsSchema",
7100
+ "type": "object",
7101
+ "properties": {
7102
+ "data": {
7103
+ "type": "array",
7104
+ "items": {
7105
+ "type": "object",
7106
+ "properties": {
7107
+ "type": {
7108
+ "type": "string"
7109
+ },
7110
+ "id": {
7111
+ "type": "string"
7112
+ }
7113
+ }
7114
+ }
7115
+ }
7116
+ }
7117
+ },
7118
+ "candidates": {
7119
+ "title": "SubmissionRelationshipsCandidatesSchema",
7120
+ "type": "object",
7121
+ "properties": {
7122
+ "data": {
7123
+ "type": "array",
7124
+ "items": {
7125
+ "type": "object",
7126
+ "properties": {
7127
+ "type": {
7128
+ "type": "string"
7129
+ },
7130
+ "id": {
7131
+ "type": "string"
7132
+ }
7133
+ }
7134
+ }
7135
+ }
7136
+ }
7137
+ }
7138
+ }
6988
7139
  }
6989
7140
  }
6990
- },
6991
- "consentCurrent": {
6992
- "type": "boolean"
6993
- },
6994
- "consentFuture": {
6995
- "type": "boolean"
6996
7141
  }
6997
7142
  }
6998
7143
  }
@@ -7070,8 +7215,98 @@
7070
7215
  {
7071
7216
  "type": "function",
7072
7217
  "function": {
7073
- "name": "upload_submission_file",
7074
- "description": "Upload Submission File",
7218
+ "name": "create_guest_submission",
7219
+ "description": "Create Submission (Guest)",
7220
+ "parameters": {
7221
+ "type": "object",
7222
+ "required": [
7223
+ "name",
7224
+ "email",
7225
+ "tenantId",
7226
+ "formId"
7227
+ ],
7228
+ "properties": {
7229
+ "tenantId": {
7230
+ "type": "string"
7231
+ },
7232
+ "formId": {
7233
+ "type": "string"
7234
+ },
7235
+ "name": {
7236
+ "type": "string"
7237
+ },
7238
+ "email": {
7239
+ "type": "string"
7240
+ },
7241
+ "phone": {
7242
+ "type": "string"
7243
+ },
7244
+ "files": {
7245
+ "type": "array",
7246
+ "items": {
7247
+ "type": "object",
7248
+ "properties": {
7249
+ "fileKey": {
7250
+ "type": "string"
7251
+ },
7252
+ "originalFilename": {
7253
+ "type": "string"
7254
+ }
7255
+ }
7256
+ }
7257
+ },
7258
+ "fields": {
7259
+ "type": "object"
7260
+ },
7261
+ "language": {
7262
+ "type": "string"
7263
+ },
7264
+ "jobId": {
7265
+ "type": "string"
7266
+ },
7267
+ "referral": {
7268
+ "type": "object",
7269
+ "properties": {
7270
+ "referrerName": {
7271
+ "type": "string"
7272
+ },
7273
+ "referrerEmail": {
7274
+ "type": "string"
7275
+ },
7276
+ "relationship": {
7277
+ "type": "string"
7278
+ },
7279
+ "note": {
7280
+ "type": "string"
7281
+ }
7282
+ }
7283
+ },
7284
+ "consentCurrent": {
7285
+ "type": "boolean"
7286
+ },
7287
+ "consentFuture": {
7288
+ "type": "boolean"
7289
+ }
7290
+ }
7291
+ }
7292
+ }
7293
+ },
7294
+ {
7295
+ "type": "function",
7296
+ "function": {
7297
+ "name": "guest_submissions_options",
7298
+ "description": "Guest Submissions Options",
7299
+ "parameters": {
7300
+ "type": "object",
7301
+ "properties": {}
7302
+ }
7303
+ }
7304
+ },
7305
+ {
7306
+ "type": "function",
7307
+ "function": {
7308
+ "name": "upload_guest_submission_file",
7309
+ "description": "Upload Submission File (Guest)",
7075
7310
  "parameters": {
7076
7311
  "type": "object",
7077
7312
  "required": [
@@ -7100,8 +7335,8 @@
7100
7335
  {
7101
7336
  "type": "function",
7102
7337
  "function": {
7103
- "name": "submission_uploads_options",
7104
- "description": "Submission Uploads Options",
7338
+ "name": "guest_submission_uploads_options",
7339
+ "description": "Guest Submission Uploads Options",
7105
7340
  "parameters": {
7106
7341
  "type": "object",
7107
7342
  "properties": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",