@smartytalent/openai-tools 0.1.8 → 0.1.9

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 +136 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -15,6 +15,10 @@
15
15
  "archived"
16
16
  ]
17
17
  },
18
+ "filterEmail": {
19
+ "type": "string",
20
+ "description": "Returns tenants matching the given email address."
21
+ },
18
22
  "filterCreatedFrom": {
19
23
  "type": "string",
20
24
  "description": "Filters results to include only those created from the specified date and time. The value must be in ISO 8601 format."
@@ -6616,6 +6620,138 @@
6616
6620
  }
6617
6621
  }
6618
6622
  },
6623
+ {
6624
+ "type": "function",
6625
+ "function": {
6626
+ "name": "upload_form_file",
6627
+ "description": "Upload Form File",
6628
+ "parameters": {
6629
+ "type": "object",
6630
+ "properties": {
6631
+ "formId": {
6632
+ "type": "string",
6633
+ "description": "formId parameter"
6634
+ },
6635
+ "requestBody": {
6636
+ "type": "object",
6637
+ "required": [
6638
+ "fileName",
6639
+ "contentType",
6640
+ "tenantId"
6641
+ ],
6642
+ "properties": {
6643
+ "fileName": {
6644
+ "type": "string"
6645
+ },
6646
+ "contentType": {
6647
+ "type": "string"
6648
+ },
6649
+ "tenantId": {
6650
+ "type": "string"
6651
+ }
6652
+ }
6653
+ }
6654
+ },
6655
+ "required": [
6656
+ "formId",
6657
+ "requestBody"
6658
+ ]
6659
+ }
6660
+ }
6661
+ },
6662
+ {
6663
+ "type": "function",
6664
+ "function": {
6665
+ "name": "form_uploads_options",
6666
+ "description": "Form Uploads Options",
6667
+ "parameters": {
6668
+ "type": "object",
6669
+ "properties": {}
6670
+ }
6671
+ }
6672
+ },
6673
+ {
6674
+ "type": "function",
6675
+ "function": {
6676
+ "name": "submit_form",
6677
+ "description": "Submit Form",
6678
+ "parameters": {
6679
+ "type": "object",
6680
+ "properties": {
6681
+ "formId": {
6682
+ "type": "string",
6683
+ "description": "formId parameter"
6684
+ },
6685
+ "requestBody": {
6686
+ "type": "object",
6687
+ "required": [
6688
+ "name",
6689
+ "email",
6690
+ "tenantId"
6691
+ ],
6692
+ "properties": {
6693
+ "tenantId": {
6694
+ "type": "string"
6695
+ },
6696
+ "name": {
6697
+ "type": "string"
6698
+ },
6699
+ "email": {
6700
+ "type": "string"
6701
+ },
6702
+ "phone": {
6703
+ "type": "string"
6704
+ },
6705
+ "files": {
6706
+ "type": "array",
6707
+ "items": {
6708
+ "type": "object",
6709
+ "properties": {
6710
+ "fileKey": {
6711
+ "type": "string"
6712
+ },
6713
+ "originalFilename": {
6714
+ "type": "string"
6715
+ }
6716
+ }
6717
+ }
6718
+ },
6719
+ "language": {
6720
+ "type": "string"
6721
+ },
6722
+ "sourceJobShortCode": {
6723
+ "type": "string"
6724
+ },
6725
+ "jobId": {
6726
+ "type": "string"
6727
+ },
6728
+ "consentCurrent": {
6729
+ "type": "boolean"
6730
+ },
6731
+ "consentFuture": {
6732
+ "type": "boolean"
6733
+ }
6734
+ }
6735
+ }
6736
+ },
6737
+ "required": [
6738
+ "formId",
6739
+ "requestBody"
6740
+ ]
6741
+ }
6742
+ }
6743
+ },
6744
+ {
6745
+ "type": "function",
6746
+ "function": {
6747
+ "name": "form_submissions_options",
6748
+ "description": "Form Submissions Options",
6749
+ "parameters": {
6750
+ "type": "object",
6751
+ "properties": {}
6752
+ }
6753
+ }
6754
+ },
6619
6755
  {
6620
6756
  "type": "function",
6621
6757
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",