@smartytalent/openai-tools 0.1.33-dev.1 → 0.1.33-dev.2

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 +153 -39
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "pageAfter": {
47
47
  "type": "string",
48
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
48
+ "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."
49
49
  },
50
50
  "pageBefore": {
51
51
  "type": "string",
@@ -773,7 +773,7 @@
773
773
  },
774
774
  "pageAfter": {
775
775
  "type": "string",
776
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
776
+ "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."
777
777
  },
778
778
  "pageBefore": {
779
779
  "type": "string",
@@ -1472,7 +1472,7 @@
1472
1472
  },
1473
1473
  "pageAfter": {
1474
1474
  "type": "string",
1475
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
1475
+ "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."
1476
1476
  },
1477
1477
  "pageBefore": {
1478
1478
  "type": "string",
@@ -1792,7 +1792,7 @@
1792
1792
  },
1793
1793
  "pageAfter": {
1794
1794
  "type": "string",
1795
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
1795
+ "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."
1796
1796
  },
1797
1797
  "pageBefore": {
1798
1798
  "type": "string",
@@ -2046,7 +2046,7 @@
2046
2046
  },
2047
2047
  "pageAfter": {
2048
2048
  "type": "string",
2049
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
2049
+ "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."
2050
2050
  },
2051
2051
  "pageBefore": {
2052
2052
  "type": "string",
@@ -3241,7 +3241,7 @@
3241
3241
  },
3242
3242
  "pageAfter": {
3243
3243
  "type": "string",
3244
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
3244
+ "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."
3245
3245
  },
3246
3246
  "pageBefore": {
3247
3247
  "type": "string",
@@ -4484,7 +4484,7 @@
4484
4484
  },
4485
4485
  "pageAfter": {
4486
4486
  "type": "string",
4487
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
4487
+ "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."
4488
4488
  },
4489
4489
  "pageBefore": {
4490
4490
  "type": "string",
@@ -5695,7 +5695,7 @@
5695
5695
  },
5696
5696
  "pageAfter": {
5697
5697
  "type": "string",
5698
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
5698
+ "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."
5699
5699
  },
5700
5700
  "pageBefore": {
5701
5701
  "type": "string",
@@ -5976,7 +5976,7 @@
5976
5976
  },
5977
5977
  "pageAfter": {
5978
5978
  "type": "string",
5979
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
5979
+ "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."
5980
5980
  },
5981
5981
  "pageBefore": {
5982
5982
  "type": "string",
@@ -6224,7 +6224,7 @@
6224
6224
  },
6225
6225
  "pageAfter": {
6226
6226
  "type": "string",
6227
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6227
+ "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."
6228
6228
  },
6229
6229
  "pageBefore": {
6230
6230
  "type": "string",
@@ -6535,7 +6535,7 @@
6535
6535
  },
6536
6536
  "pageAfter": {
6537
6537
  "type": "string",
6538
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
6538
+ "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."
6539
6539
  },
6540
6540
  "pageBefore": {
6541
6541
  "type": "string",
@@ -6579,7 +6579,25 @@
6579
6579
  "type": "string"
6580
6580
  },
6581
6581
  "status": {
6582
- "type": "string"
6582
+ "type": "string",
6583
+ "enum": [
6584
+ "draft",
6585
+ "scheduled",
6586
+ "sent",
6587
+ "suppressed",
6588
+ "archived",
6589
+ "failed",
6590
+ "pending"
6591
+ ],
6592
+ "description": "Lifecycle status. draft = composing, scheduled = workflow owns the send, sent = delivered to SES, suppressed = SES bounce/complaint, archived = user soft-deleted, failed = internal error, pending = transitional."
6593
+ },
6594
+ "direction": {
6595
+ "type": "string",
6596
+ "enum": [
6597
+ "inbound",
6598
+ "outbound"
6599
+ ],
6600
+ "description": "Whether the email was received from an external sender (inbound, populated by the broker) or composed by the tenant/system and sent out (outbound). Populated at create time; never changes."
6583
6601
  },
6584
6602
  "emailFrom": {
6585
6603
  "type": "string"
@@ -6587,6 +6605,20 @@
6587
6605
  "emailTo": {
6588
6606
  "type": "string"
6589
6607
  },
6608
+ "emailCc": {
6609
+ "type": "array",
6610
+ "items": {
6611
+ "type": "string"
6612
+ },
6613
+ "description": "CC recipients. Each entry is an RFC 5322 address string."
6614
+ },
6615
+ "emailBcc": {
6616
+ "type": "array",
6617
+ "items": {
6618
+ "type": "string"
6619
+ },
6620
+ "description": "BCC recipients. Each entry is an RFC 5322 address string."
6621
+ },
6590
6622
  "subject": {
6591
6623
  "oneOf": [
6592
6624
  {
@@ -6624,11 +6656,36 @@
6624
6656
  "isExternalSender": {
6625
6657
  "type": "boolean"
6626
6658
  },
6659
+ "attachments": {
6660
+ "type": "array",
6661
+ "items": {
6662
+ "type": "object",
6663
+ "properties": {
6664
+ "fileName": {
6665
+ "type": "string"
6666
+ },
6667
+ "url": {
6668
+ "type": "string"
6669
+ },
6670
+ "type": {
6671
+ "type": "string",
6672
+ "description": "Resource type this attachment belongs to: jobs, personas, talents, candidates, reports, files, ads."
6673
+ }
6674
+ }
6675
+ },
6676
+ "description": "Attachments referenced by URL into the service-owned S3 buckets. Presigned fetch URLs are not included; use the corresponding resource's download flow."
6677
+ },
6678
+ "conversationLanguageCode": {
6679
+ "type": "string",
6680
+ "description": "Denormalised copy of the related conversation's languageCode (e.g. `pl-PL`, `en-US`). Avoids an N+1 fetch when the list/detail view needs to pick the right locale for the multilingual subject/body dicts. Source of truth is the conversation row; read-only from the email's perspective."
6681
+ },
6627
6682
  "ttl": {
6628
6683
  "type": "string"
6629
6684
  },
6630
6685
  "sendScheduleDate": {
6631
- "type": "string"
6686
+ "type": "string",
6687
+ "deprecated": true,
6688
+ "description": "Legacy field from the retired CRUD-scheduler path. Kept as read-only metadata on old rows. New emails do not populate it; scheduling is owned by the workflow engine's wait:process action via the Schedule resource."
6632
6689
  },
6633
6690
  "meta": {
6634
6691
  "type": "object",
@@ -6822,7 +6879,25 @@
6822
6879
  "type": "string"
6823
6880
  },
6824
6881
  "status": {
6825
- "type": "string"
6882
+ "type": "string",
6883
+ "enum": [
6884
+ "draft",
6885
+ "scheduled",
6886
+ "sent",
6887
+ "suppressed",
6888
+ "archived",
6889
+ "failed",
6890
+ "pending"
6891
+ ],
6892
+ "description": "Lifecycle status. draft = composing, scheduled = workflow owns the send, sent = delivered to SES, suppressed = SES bounce/complaint, archived = user soft-deleted, failed = internal error, pending = transitional."
6893
+ },
6894
+ "direction": {
6895
+ "type": "string",
6896
+ "enum": [
6897
+ "inbound",
6898
+ "outbound"
6899
+ ],
6900
+ "description": "Whether the email was received from an external sender (inbound, populated by the broker) or composed by the tenant/system and sent out (outbound). Populated at create time; never changes."
6826
6901
  },
6827
6902
  "emailFrom": {
6828
6903
  "type": "string"
@@ -6830,6 +6905,20 @@
6830
6905
  "emailTo": {
6831
6906
  "type": "string"
6832
6907
  },
6908
+ "emailCc": {
6909
+ "type": "array",
6910
+ "items": {
6911
+ "type": "string"
6912
+ },
6913
+ "description": "CC recipients. Each entry is an RFC 5322 address string."
6914
+ },
6915
+ "emailBcc": {
6916
+ "type": "array",
6917
+ "items": {
6918
+ "type": "string"
6919
+ },
6920
+ "description": "BCC recipients. Each entry is an RFC 5322 address string."
6921
+ },
6833
6922
  "subject": {
6834
6923
  "oneOf": [
6835
6924
  {
@@ -6867,11 +6956,36 @@
6867
6956
  "isExternalSender": {
6868
6957
  "type": "boolean"
6869
6958
  },
6959
+ "attachments": {
6960
+ "type": "array",
6961
+ "items": {
6962
+ "type": "object",
6963
+ "properties": {
6964
+ "fileName": {
6965
+ "type": "string"
6966
+ },
6967
+ "url": {
6968
+ "type": "string"
6969
+ },
6970
+ "type": {
6971
+ "type": "string",
6972
+ "description": "Resource type this attachment belongs to: jobs, personas, talents, candidates, reports, files, ads."
6973
+ }
6974
+ }
6975
+ },
6976
+ "description": "Attachments referenced by URL into the service-owned S3 buckets. Presigned fetch URLs are not included; use the corresponding resource's download flow."
6977
+ },
6978
+ "conversationLanguageCode": {
6979
+ "type": "string",
6980
+ "description": "Denormalised copy of the related conversation's languageCode (e.g. `pl-PL`, `en-US`). Avoids an N+1 fetch when the list/detail view needs to pick the right locale for the multilingual subject/body dicts. Source of truth is the conversation row; read-only from the email's perspective."
6981
+ },
6870
6982
  "ttl": {
6871
6983
  "type": "string"
6872
6984
  },
6873
6985
  "sendScheduleDate": {
6874
- "type": "string"
6986
+ "type": "string",
6987
+ "deprecated": true,
6988
+ "description": "Legacy field from the retired CRUD-scheduler path. Kept as read-only metadata on old rows. New emails do not populate it; scheduling is owned by the workflow engine's wait:process action via the Schedule resource."
6875
6989
  },
6876
6990
  "meta": {
6877
6991
  "type": "object",
@@ -6963,7 +7077,7 @@
6963
7077
  },
6964
7078
  "pageAfter": {
6965
7079
  "type": "string",
6966
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7080
+ "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."
6967
7081
  },
6968
7082
  "pageBefore": {
6969
7083
  "type": "string",
@@ -7238,7 +7352,7 @@
7238
7352
  },
7239
7353
  "pageAfter": {
7240
7354
  "type": "string",
7241
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
7355
+ "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."
7242
7356
  },
7243
7357
  "pageBefore": {
7244
7358
  "type": "string",
@@ -8111,7 +8225,7 @@
8111
8225
  },
8112
8226
  "pageAfter": {
8113
8227
  "type": "string",
8114
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
8228
+ "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."
8115
8229
  },
8116
8230
  "pageBefore": {
8117
8231
  "type": "string",
@@ -8898,7 +9012,7 @@
8898
9012
  },
8899
9013
  "pageAfter": {
8900
9014
  "type": "string",
8901
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
9015
+ "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."
8902
9016
  },
8903
9017
  "pageBefore": {
8904
9018
  "type": "string",
@@ -9609,7 +9723,7 @@
9609
9723
  },
9610
9724
  "pageAfter": {
9611
9725
  "type": "string",
9612
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
9726
+ "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."
9613
9727
  },
9614
9728
  "pageBefore": {
9615
9729
  "type": "string",
@@ -9920,7 +10034,7 @@
9920
10034
  },
9921
10035
  "pageAfter": {
9922
10036
  "type": "string",
9923
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
10037
+ "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."
9924
10038
  },
9925
10039
  "pageBefore": {
9926
10040
  "type": "string",
@@ -10171,7 +10285,7 @@
10171
10285
  },
10172
10286
  "pageAfter": {
10173
10287
  "type": "string",
10174
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
10288
+ "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."
10175
10289
  },
10176
10290
  "pageBefore": {
10177
10291
  "type": "string",
@@ -10602,7 +10716,7 @@
10602
10716
  },
10603
10717
  "pageAfter": {
10604
10718
  "type": "string",
10605
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
10719
+ "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."
10606
10720
  },
10607
10721
  "pageBefore": {
10608
10722
  "type": "string",
@@ -10921,7 +11035,7 @@
10921
11035
  },
10922
11036
  "pageAfter": {
10923
11037
  "type": "string",
10924
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
11038
+ "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."
10925
11039
  },
10926
11040
  "pageBefore": {
10927
11041
  "type": "string",
@@ -11235,7 +11349,7 @@
11235
11349
  },
11236
11350
  "pageAfter": {
11237
11351
  "type": "string",
11238
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
11352
+ "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."
11239
11353
  },
11240
11354
  "pageBefore": {
11241
11355
  "type": "string",
@@ -11572,7 +11686,7 @@
11572
11686
  },
11573
11687
  "pageAfter": {
11574
11688
  "type": "string",
11575
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
11689
+ "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."
11576
11690
  },
11577
11691
  "pageBefore": {
11578
11692
  "type": "string",
@@ -12119,7 +12233,7 @@
12119
12233
  },
12120
12234
  "pageAfter": {
12121
12235
  "type": "string",
12122
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
12236
+ "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."
12123
12237
  },
12124
12238
  "pageBefore": {
12125
12239
  "type": "string",
@@ -12453,7 +12567,7 @@
12453
12567
  },
12454
12568
  "pageAfter": {
12455
12569
  "type": "string",
12456
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
12570
+ "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."
12457
12571
  },
12458
12572
  "pageBefore": {
12459
12573
  "type": "string",
@@ -12797,7 +12911,7 @@
12797
12911
  },
12798
12912
  "pageAfter": {
12799
12913
  "type": "string",
12800
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
12914
+ "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."
12801
12915
  },
12802
12916
  "pageBefore": {
12803
12917
  "type": "string",
@@ -13087,7 +13201,7 @@
13087
13201
  },
13088
13202
  "pageAfter": {
13089
13203
  "type": "string",
13090
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
13204
+ "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."
13091
13205
  },
13092
13206
  "pageBefore": {
13093
13207
  "type": "string",
@@ -13325,7 +13439,7 @@
13325
13439
  },
13326
13440
  "pageAfter": {
13327
13441
  "type": "string",
13328
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
13442
+ "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."
13329
13443
  },
13330
13444
  "pageBefore": {
13331
13445
  "type": "string",
@@ -13631,7 +13745,7 @@
13631
13745
  },
13632
13746
  "pageAfter": {
13633
13747
  "type": "string",
13634
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
13748
+ "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."
13635
13749
  },
13636
13750
  "pageBefore": {
13637
13751
  "type": "string",
@@ -13737,7 +13851,7 @@
13737
13851
  },
13738
13852
  "pageAfter": {
13739
13853
  "type": "string",
13740
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
13854
+ "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."
13741
13855
  },
13742
13856
  "pageBefore": {
13743
13857
  "type": "string",
@@ -13825,7 +13939,7 @@
13825
13939
  },
13826
13940
  "pageAfter": {
13827
13941
  "type": "string",
13828
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
13942
+ "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."
13829
13943
  },
13830
13944
  "pageBefore": {
13831
13945
  "type": "string",
@@ -13917,7 +14031,7 @@
13917
14031
  },
13918
14032
  "pageAfter": {
13919
14033
  "type": "string",
13920
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
14034
+ "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."
13921
14035
  },
13922
14036
  "pageBefore": {
13923
14037
  "type": "string",
@@ -14114,7 +14228,7 @@
14114
14228
  },
14115
14229
  "pageAfter": {
14116
14230
  "type": "string",
14117
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
14231
+ "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."
14118
14232
  },
14119
14233
  "pageBefore": {
14120
14234
  "type": "string",
@@ -14357,7 +14471,7 @@
14357
14471
  },
14358
14472
  "pageAfter": {
14359
14473
  "type": "string",
14360
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
14474
+ "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."
14361
14475
  },
14362
14476
  "pageBefore": {
14363
14477
  "type": "string",
@@ -14769,7 +14883,7 @@
14769
14883
  },
14770
14884
  "pageAfter": {
14771
14885
  "type": "string",
14772
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
14886
+ "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."
14773
14887
  },
14774
14888
  "pageBefore": {
14775
14889
  "type": "string",
@@ -15028,7 +15142,7 @@
15028
15142
  },
15029
15143
  "pageAfter": {
15030
15144
  "type": "string",
15031
- "description": "Returns the data encoded in Base64 format, used for cursor-based pagination"
15145
+ "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."
15032
15146
  },
15033
15147
  "pageBefore": {
15034
15148
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.1",
3
+ "version": "0.1.33-dev.2",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",