@outlit/tools 2.1.2 → 2.1.3
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/index.cjs +276 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +201 -7
- package/dist/index.d.ts +201 -7
- package/dist/index.js +276 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3470,7 +3470,8 @@ var publicToolContracts = {
|
|
|
3470
3470
|
"SLACK",
|
|
3471
3471
|
"PERSON_PROFILE",
|
|
3472
3472
|
"CRM",
|
|
3473
|
-
"CRM_OPPORTUNITY"
|
|
3473
|
+
"CRM_OPPORTUNITY",
|
|
3474
|
+
"EXTRACTED"
|
|
3474
3475
|
]
|
|
3475
3476
|
},
|
|
3476
3477
|
"sourceId": {
|
|
@@ -3479,13 +3480,13 @@ var publicToolContracts = {
|
|
|
3479
3480
|
"maxLength": 500
|
|
3480
3481
|
},
|
|
3481
3482
|
"limit": {
|
|
3482
|
-
"description": "
|
|
3483
|
+
"description": "Exact content segments per page (default 10, maximum 100).",
|
|
3483
3484
|
"type": "integer",
|
|
3484
3485
|
"minimum": 1,
|
|
3485
3486
|
"maximum": 100
|
|
3486
3487
|
},
|
|
3487
3488
|
"cursor": {
|
|
3488
|
-
"description": "Opaque
|
|
3489
|
+
"description": "Opaque cursor returned by a previous exact lookup for the same source.",
|
|
3489
3490
|
"type": "string",
|
|
3490
3491
|
"minLength": 1,
|
|
3491
3492
|
"maxLength": 2e3
|
|
@@ -3681,6 +3682,135 @@ var publicToolContracts = {
|
|
|
3681
3682
|
"type": "string"
|
|
3682
3683
|
},
|
|
3683
3684
|
"additionalProperties": {}
|
|
3685
|
+
},
|
|
3686
|
+
"contentPage": {
|
|
3687
|
+
"type": "object",
|
|
3688
|
+
"properties": {
|
|
3689
|
+
"sourceType": {
|
|
3690
|
+
"type": "string",
|
|
3691
|
+
"enum": [
|
|
3692
|
+
"EMAIL",
|
|
3693
|
+
"CALL",
|
|
3694
|
+
"CALENDAR_EVENT",
|
|
3695
|
+
"SUPPORT_TICKET",
|
|
3696
|
+
"OPPORTUNITY",
|
|
3697
|
+
"SLACK",
|
|
3698
|
+
"PERSON_PROFILE"
|
|
3699
|
+
]
|
|
3700
|
+
},
|
|
3701
|
+
"sourceId": {
|
|
3702
|
+
"type": "string",
|
|
3703
|
+
"minLength": 1,
|
|
3704
|
+
"maxLength": 500
|
|
3705
|
+
},
|
|
3706
|
+
"contentKind": {
|
|
3707
|
+
"type": "string",
|
|
3708
|
+
"enum": [
|
|
3709
|
+
"email_body",
|
|
3710
|
+
"call_transcript",
|
|
3711
|
+
"support_thread",
|
|
3712
|
+
"slack_thread"
|
|
3713
|
+
]
|
|
3714
|
+
},
|
|
3715
|
+
"segments": {
|
|
3716
|
+
"type": "array",
|
|
3717
|
+
"items": {
|
|
3718
|
+
"type": "object",
|
|
3719
|
+
"properties": {
|
|
3720
|
+
"id": {
|
|
3721
|
+
"type": "string",
|
|
3722
|
+
"minLength": 1,
|
|
3723
|
+
"maxLength": 1e3
|
|
3724
|
+
},
|
|
3725
|
+
"occurredAt": {
|
|
3726
|
+
"type": "string",
|
|
3727
|
+
"format": "date-time",
|
|
3728
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
3729
|
+
},
|
|
3730
|
+
"authorLabel": {
|
|
3731
|
+
"type": "string",
|
|
3732
|
+
"maxLength": 500
|
|
3733
|
+
},
|
|
3734
|
+
"text": {
|
|
3735
|
+
"type": "string"
|
|
3736
|
+
}
|
|
3737
|
+
},
|
|
3738
|
+
"required": [
|
|
3739
|
+
"id",
|
|
3740
|
+
"text"
|
|
3741
|
+
],
|
|
3742
|
+
"additionalProperties": false
|
|
3743
|
+
}
|
|
3744
|
+
},
|
|
3745
|
+
"page": {
|
|
3746
|
+
"type": "object",
|
|
3747
|
+
"properties": {
|
|
3748
|
+
"returned": {
|
|
3749
|
+
"type": "integer",
|
|
3750
|
+
"minimum": 0,
|
|
3751
|
+
"maximum": 9007199254740991
|
|
3752
|
+
},
|
|
3753
|
+
"hasMore": {
|
|
3754
|
+
"type": "boolean"
|
|
3755
|
+
},
|
|
3756
|
+
"nextCursor": {
|
|
3757
|
+
"anyOf": [
|
|
3758
|
+
{
|
|
3759
|
+
"type": "string",
|
|
3760
|
+
"maxLength": 2e3
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"type": "null"
|
|
3764
|
+
}
|
|
3765
|
+
]
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
"required": [
|
|
3769
|
+
"returned",
|
|
3770
|
+
"hasMore",
|
|
3771
|
+
"nextCursor"
|
|
3772
|
+
],
|
|
3773
|
+
"additionalProperties": false
|
|
3774
|
+
},
|
|
3775
|
+
"completeness": {
|
|
3776
|
+
"type": "object",
|
|
3777
|
+
"properties": {
|
|
3778
|
+
"status": {
|
|
3779
|
+
"type": "string",
|
|
3780
|
+
"enum": [
|
|
3781
|
+
"complete",
|
|
3782
|
+
"partial",
|
|
3783
|
+
"unavailable"
|
|
3784
|
+
]
|
|
3785
|
+
},
|
|
3786
|
+
"reason": {
|
|
3787
|
+
"type": "string",
|
|
3788
|
+
"maxLength": 1e3
|
|
3789
|
+
},
|
|
3790
|
+
"omittedFields": {
|
|
3791
|
+
"type": "array",
|
|
3792
|
+
"items": {
|
|
3793
|
+
"type": "string",
|
|
3794
|
+
"maxLength": 500
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
},
|
|
3798
|
+
"required": [
|
|
3799
|
+
"status",
|
|
3800
|
+
"omittedFields"
|
|
3801
|
+
],
|
|
3802
|
+
"additionalProperties": false
|
|
3803
|
+
}
|
|
3804
|
+
},
|
|
3805
|
+
"required": [
|
|
3806
|
+
"sourceType",
|
|
3807
|
+
"sourceId",
|
|
3808
|
+
"contentKind",
|
|
3809
|
+
"segments",
|
|
3810
|
+
"page",
|
|
3811
|
+
"completeness"
|
|
3812
|
+
],
|
|
3813
|
+
"additionalProperties": false
|
|
3684
3814
|
}
|
|
3685
3815
|
},
|
|
3686
3816
|
"required": [
|
|
@@ -3964,6 +4094,135 @@ var publicToolContracts = {
|
|
|
3964
4094
|
"type": "string"
|
|
3965
4095
|
},
|
|
3966
4096
|
"additionalProperties": {}
|
|
4097
|
+
},
|
|
4098
|
+
"contentPage": {
|
|
4099
|
+
"type": "object",
|
|
4100
|
+
"properties": {
|
|
4101
|
+
"sourceType": {
|
|
4102
|
+
"type": "string",
|
|
4103
|
+
"enum": [
|
|
4104
|
+
"EMAIL",
|
|
4105
|
+
"CALL",
|
|
4106
|
+
"CALENDAR_EVENT",
|
|
4107
|
+
"SUPPORT_TICKET",
|
|
4108
|
+
"OPPORTUNITY",
|
|
4109
|
+
"SLACK",
|
|
4110
|
+
"PERSON_PROFILE"
|
|
4111
|
+
]
|
|
4112
|
+
},
|
|
4113
|
+
"sourceId": {
|
|
4114
|
+
"type": "string",
|
|
4115
|
+
"minLength": 1,
|
|
4116
|
+
"maxLength": 500
|
|
4117
|
+
},
|
|
4118
|
+
"contentKind": {
|
|
4119
|
+
"type": "string",
|
|
4120
|
+
"enum": [
|
|
4121
|
+
"email_body",
|
|
4122
|
+
"call_transcript",
|
|
4123
|
+
"support_thread",
|
|
4124
|
+
"slack_thread"
|
|
4125
|
+
]
|
|
4126
|
+
},
|
|
4127
|
+
"segments": {
|
|
4128
|
+
"type": "array",
|
|
4129
|
+
"items": {
|
|
4130
|
+
"type": "object",
|
|
4131
|
+
"properties": {
|
|
4132
|
+
"id": {
|
|
4133
|
+
"type": "string",
|
|
4134
|
+
"minLength": 1,
|
|
4135
|
+
"maxLength": 1e3
|
|
4136
|
+
},
|
|
4137
|
+
"occurredAt": {
|
|
4138
|
+
"type": "string",
|
|
4139
|
+
"format": "date-time",
|
|
4140
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
4141
|
+
},
|
|
4142
|
+
"authorLabel": {
|
|
4143
|
+
"type": "string",
|
|
4144
|
+
"maxLength": 500
|
|
4145
|
+
},
|
|
4146
|
+
"text": {
|
|
4147
|
+
"type": "string"
|
|
4148
|
+
}
|
|
4149
|
+
},
|
|
4150
|
+
"required": [
|
|
4151
|
+
"id",
|
|
4152
|
+
"text"
|
|
4153
|
+
],
|
|
4154
|
+
"additionalProperties": false
|
|
4155
|
+
}
|
|
4156
|
+
},
|
|
4157
|
+
"page": {
|
|
4158
|
+
"type": "object",
|
|
4159
|
+
"properties": {
|
|
4160
|
+
"returned": {
|
|
4161
|
+
"type": "integer",
|
|
4162
|
+
"minimum": 0,
|
|
4163
|
+
"maximum": 9007199254740991
|
|
4164
|
+
},
|
|
4165
|
+
"hasMore": {
|
|
4166
|
+
"type": "boolean"
|
|
4167
|
+
},
|
|
4168
|
+
"nextCursor": {
|
|
4169
|
+
"anyOf": [
|
|
4170
|
+
{
|
|
4171
|
+
"type": "string",
|
|
4172
|
+
"maxLength": 2e3
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
"type": "null"
|
|
4176
|
+
}
|
|
4177
|
+
]
|
|
4178
|
+
}
|
|
4179
|
+
},
|
|
4180
|
+
"required": [
|
|
4181
|
+
"returned",
|
|
4182
|
+
"hasMore",
|
|
4183
|
+
"nextCursor"
|
|
4184
|
+
],
|
|
4185
|
+
"additionalProperties": false
|
|
4186
|
+
},
|
|
4187
|
+
"completeness": {
|
|
4188
|
+
"type": "object",
|
|
4189
|
+
"properties": {
|
|
4190
|
+
"status": {
|
|
4191
|
+
"type": "string",
|
|
4192
|
+
"enum": [
|
|
4193
|
+
"complete",
|
|
4194
|
+
"partial",
|
|
4195
|
+
"unavailable"
|
|
4196
|
+
]
|
|
4197
|
+
},
|
|
4198
|
+
"reason": {
|
|
4199
|
+
"type": "string",
|
|
4200
|
+
"maxLength": 1e3
|
|
4201
|
+
},
|
|
4202
|
+
"omittedFields": {
|
|
4203
|
+
"type": "array",
|
|
4204
|
+
"items": {
|
|
4205
|
+
"type": "string",
|
|
4206
|
+
"maxLength": 500
|
|
4207
|
+
}
|
|
4208
|
+
}
|
|
4209
|
+
},
|
|
4210
|
+
"required": [
|
|
4211
|
+
"status",
|
|
4212
|
+
"omittedFields"
|
|
4213
|
+
],
|
|
4214
|
+
"additionalProperties": false
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
"required": [
|
|
4218
|
+
"sourceType",
|
|
4219
|
+
"sourceId",
|
|
4220
|
+
"contentKind",
|
|
4221
|
+
"segments",
|
|
4222
|
+
"page",
|
|
4223
|
+
"completeness"
|
|
4224
|
+
],
|
|
4225
|
+
"additionalProperties": false
|
|
3967
4226
|
}
|
|
3968
4227
|
},
|
|
3969
4228
|
"required": [
|
|
@@ -11218,6 +11477,7 @@ var toolGatewayTransport = {
|
|
|
11218
11477
|
403,
|
|
11219
11478
|
404,
|
|
11220
11479
|
409,
|
|
11480
|
+
413,
|
|
11221
11481
|
422,
|
|
11222
11482
|
429,
|
|
11223
11483
|
500,
|
|
@@ -11483,6 +11743,7 @@ var toolGatewayErrorCodes = [
|
|
|
11483
11743
|
"TOOL_BINDING_MISSING",
|
|
11484
11744
|
"TOOL_IMPLEMENTATION_ERROR",
|
|
11485
11745
|
"TOOL_OUTPUT_INVALID",
|
|
11746
|
+
"TOOL_RESULT_TOO_LARGE",
|
|
11486
11747
|
"TOOL_GATEWAY_ERROR",
|
|
11487
11748
|
"plan_api_limit_exceeded",
|
|
11488
11749
|
"plan_billing_action_required"
|
|
@@ -11502,6 +11763,7 @@ var toolGatewayErrorSchema = {
|
|
|
11502
11763
|
"TOOL_BINDING_MISSING",
|
|
11503
11764
|
"TOOL_IMPLEMENTATION_ERROR",
|
|
11504
11765
|
"TOOL_OUTPUT_INVALID",
|
|
11766
|
+
"TOOL_RESULT_TOO_LARGE",
|
|
11505
11767
|
"TOOL_GATEWAY_ERROR",
|
|
11506
11768
|
"plan_api_limit_exceeded",
|
|
11507
11769
|
"plan_billing_action_required"
|
|
@@ -11531,6 +11793,16 @@ var toolGatewayErrorSchema = {
|
|
|
11531
11793
|
"type": "null"
|
|
11532
11794
|
}
|
|
11533
11795
|
]
|
|
11796
|
+
},
|
|
11797
|
+
"limitBytes": {
|
|
11798
|
+
"type": "integer",
|
|
11799
|
+
"exclusiveMinimum": 0,
|
|
11800
|
+
"maximum": 9007199254740991
|
|
11801
|
+
},
|
|
11802
|
+
"actualBytes": {
|
|
11803
|
+
"type": "integer",
|
|
11804
|
+
"exclusiveMinimum": 0,
|
|
11805
|
+
"maximum": 9007199254740991
|
|
11534
11806
|
}
|
|
11535
11807
|
},
|
|
11536
11808
|
"required": [
|
|
@@ -12481,7 +12753,7 @@ var schemaTables = [
|
|
|
12481
12753
|
"users",
|
|
12482
12754
|
"revenue"
|
|
12483
12755
|
];
|
|
12484
|
-
var sdkConsumerContractHash = "
|
|
12756
|
+
var sdkConsumerContractHash = "fb69fe6745dd5e8b9cfcfd8f50b46e8826177ffe389facfd0da44f903e3726bf";
|
|
12485
12757
|
|
|
12486
12758
|
// src/contracts.ts
|
|
12487
12759
|
var publicToolNameSet = new Set(publicToolNames);
|