@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.d.cts
CHANGED
|
@@ -2433,7 +2433,7 @@ declare const publicToolContracts: {
|
|
|
2433
2433
|
readonly properties: {
|
|
2434
2434
|
readonly sourceType: {
|
|
2435
2435
|
readonly type: "string";
|
|
2436
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2436
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY", "EXTRACTED"];
|
|
2437
2437
|
};
|
|
2438
2438
|
readonly sourceId: {
|
|
2439
2439
|
readonly type: "string";
|
|
@@ -2441,13 +2441,13 @@ declare const publicToolContracts: {
|
|
|
2441
2441
|
readonly maxLength: 500;
|
|
2442
2442
|
};
|
|
2443
2443
|
readonly limit: {
|
|
2444
|
-
readonly description: "
|
|
2444
|
+
readonly description: "Exact content segments per page (default 10, maximum 100).";
|
|
2445
2445
|
readonly type: "integer";
|
|
2446
2446
|
readonly minimum: 1;
|
|
2447
2447
|
readonly maximum: 100;
|
|
2448
2448
|
};
|
|
2449
2449
|
readonly cursor: {
|
|
2450
|
-
readonly description: "Opaque
|
|
2450
|
+
readonly description: "Opaque cursor returned by a previous exact lookup for the same source.";
|
|
2451
2451
|
readonly type: "string";
|
|
2452
2452
|
readonly minLength: 1;
|
|
2453
2453
|
readonly maxLength: 2000;
|
|
@@ -2589,6 +2589,98 @@ declare const publicToolContracts: {
|
|
|
2589
2589
|
};
|
|
2590
2590
|
readonly additionalProperties: {};
|
|
2591
2591
|
};
|
|
2592
|
+
readonly contentPage: {
|
|
2593
|
+
readonly type: "object";
|
|
2594
|
+
readonly properties: {
|
|
2595
|
+
readonly sourceType: {
|
|
2596
|
+
readonly type: "string";
|
|
2597
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2598
|
+
};
|
|
2599
|
+
readonly sourceId: {
|
|
2600
|
+
readonly type: "string";
|
|
2601
|
+
readonly minLength: 1;
|
|
2602
|
+
readonly maxLength: 500;
|
|
2603
|
+
};
|
|
2604
|
+
readonly contentKind: {
|
|
2605
|
+
readonly type: "string";
|
|
2606
|
+
readonly enum: readonly ["email_body", "call_transcript", "support_thread", "slack_thread"];
|
|
2607
|
+
};
|
|
2608
|
+
readonly segments: {
|
|
2609
|
+
readonly type: "array";
|
|
2610
|
+
readonly items: {
|
|
2611
|
+
readonly type: "object";
|
|
2612
|
+
readonly properties: {
|
|
2613
|
+
readonly id: {
|
|
2614
|
+
readonly type: "string";
|
|
2615
|
+
readonly minLength: 1;
|
|
2616
|
+
readonly maxLength: 1000;
|
|
2617
|
+
};
|
|
2618
|
+
readonly occurredAt: {
|
|
2619
|
+
readonly type: "string";
|
|
2620
|
+
readonly format: "date-time";
|
|
2621
|
+
readonly 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))$";
|
|
2622
|
+
};
|
|
2623
|
+
readonly authorLabel: {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly maxLength: 500;
|
|
2626
|
+
};
|
|
2627
|
+
readonly text: {
|
|
2628
|
+
readonly type: "string";
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
readonly required: readonly ["id", "text"];
|
|
2632
|
+
readonly additionalProperties: false;
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2635
|
+
readonly page: {
|
|
2636
|
+
readonly type: "object";
|
|
2637
|
+
readonly properties: {
|
|
2638
|
+
readonly returned: {
|
|
2639
|
+
readonly type: "integer";
|
|
2640
|
+
readonly minimum: 0;
|
|
2641
|
+
readonly maximum: 9007199254740991;
|
|
2642
|
+
};
|
|
2643
|
+
readonly hasMore: {
|
|
2644
|
+
readonly type: "boolean";
|
|
2645
|
+
};
|
|
2646
|
+
readonly nextCursor: {
|
|
2647
|
+
readonly anyOf: readonly [{
|
|
2648
|
+
readonly type: "string";
|
|
2649
|
+
readonly maxLength: 2000;
|
|
2650
|
+
}, {
|
|
2651
|
+
readonly type: "null";
|
|
2652
|
+
}];
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
readonly required: readonly ["returned", "hasMore", "nextCursor"];
|
|
2656
|
+
readonly additionalProperties: false;
|
|
2657
|
+
};
|
|
2658
|
+
readonly completeness: {
|
|
2659
|
+
readonly type: "object";
|
|
2660
|
+
readonly properties: {
|
|
2661
|
+
readonly status: {
|
|
2662
|
+
readonly type: "string";
|
|
2663
|
+
readonly enum: readonly ["complete", "partial", "unavailable"];
|
|
2664
|
+
};
|
|
2665
|
+
readonly reason: {
|
|
2666
|
+
readonly type: "string";
|
|
2667
|
+
readonly maxLength: 1000;
|
|
2668
|
+
};
|
|
2669
|
+
readonly omittedFields: {
|
|
2670
|
+
readonly type: "array";
|
|
2671
|
+
readonly items: {
|
|
2672
|
+
readonly type: "string";
|
|
2673
|
+
readonly maxLength: 500;
|
|
2674
|
+
};
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
readonly required: readonly ["status", "omittedFields"];
|
|
2678
|
+
readonly additionalProperties: false;
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
readonly required: readonly ["sourceType", "sourceId", "contentKind", "segments", "page", "completeness"];
|
|
2682
|
+
readonly additionalProperties: false;
|
|
2683
|
+
};
|
|
2592
2684
|
};
|
|
2593
2685
|
readonly required: readonly ["sourceType", "sourceId", "occurredAt", "title", "summary", "permalink", "provider", "customer", "participants", "record"];
|
|
2594
2686
|
readonly additionalProperties: false;
|
|
@@ -2799,6 +2891,98 @@ declare const publicToolContracts: {
|
|
|
2799
2891
|
};
|
|
2800
2892
|
readonly additionalProperties: {};
|
|
2801
2893
|
};
|
|
2894
|
+
readonly contentPage: {
|
|
2895
|
+
readonly type: "object";
|
|
2896
|
+
readonly properties: {
|
|
2897
|
+
readonly sourceType: {
|
|
2898
|
+
readonly type: "string";
|
|
2899
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2900
|
+
};
|
|
2901
|
+
readonly sourceId: {
|
|
2902
|
+
readonly type: "string";
|
|
2903
|
+
readonly minLength: 1;
|
|
2904
|
+
readonly maxLength: 500;
|
|
2905
|
+
};
|
|
2906
|
+
readonly contentKind: {
|
|
2907
|
+
readonly type: "string";
|
|
2908
|
+
readonly enum: readonly ["email_body", "call_transcript", "support_thread", "slack_thread"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly segments: {
|
|
2911
|
+
readonly type: "array";
|
|
2912
|
+
readonly items: {
|
|
2913
|
+
readonly type: "object";
|
|
2914
|
+
readonly properties: {
|
|
2915
|
+
readonly id: {
|
|
2916
|
+
readonly type: "string";
|
|
2917
|
+
readonly minLength: 1;
|
|
2918
|
+
readonly maxLength: 1000;
|
|
2919
|
+
};
|
|
2920
|
+
readonly occurredAt: {
|
|
2921
|
+
readonly type: "string";
|
|
2922
|
+
readonly format: "date-time";
|
|
2923
|
+
readonly 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))$";
|
|
2924
|
+
};
|
|
2925
|
+
readonly authorLabel: {
|
|
2926
|
+
readonly type: "string";
|
|
2927
|
+
readonly maxLength: 500;
|
|
2928
|
+
};
|
|
2929
|
+
readonly text: {
|
|
2930
|
+
readonly type: "string";
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
readonly required: readonly ["id", "text"];
|
|
2934
|
+
readonly additionalProperties: false;
|
|
2935
|
+
};
|
|
2936
|
+
};
|
|
2937
|
+
readonly page: {
|
|
2938
|
+
readonly type: "object";
|
|
2939
|
+
readonly properties: {
|
|
2940
|
+
readonly returned: {
|
|
2941
|
+
readonly type: "integer";
|
|
2942
|
+
readonly minimum: 0;
|
|
2943
|
+
readonly maximum: 9007199254740991;
|
|
2944
|
+
};
|
|
2945
|
+
readonly hasMore: {
|
|
2946
|
+
readonly type: "boolean";
|
|
2947
|
+
};
|
|
2948
|
+
readonly nextCursor: {
|
|
2949
|
+
readonly anyOf: readonly [{
|
|
2950
|
+
readonly type: "string";
|
|
2951
|
+
readonly maxLength: 2000;
|
|
2952
|
+
}, {
|
|
2953
|
+
readonly type: "null";
|
|
2954
|
+
}];
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
readonly required: readonly ["returned", "hasMore", "nextCursor"];
|
|
2958
|
+
readonly additionalProperties: false;
|
|
2959
|
+
};
|
|
2960
|
+
readonly completeness: {
|
|
2961
|
+
readonly type: "object";
|
|
2962
|
+
readonly properties: {
|
|
2963
|
+
readonly status: {
|
|
2964
|
+
readonly type: "string";
|
|
2965
|
+
readonly enum: readonly ["complete", "partial", "unavailable"];
|
|
2966
|
+
};
|
|
2967
|
+
readonly reason: {
|
|
2968
|
+
readonly type: "string";
|
|
2969
|
+
readonly maxLength: 1000;
|
|
2970
|
+
};
|
|
2971
|
+
readonly omittedFields: {
|
|
2972
|
+
readonly type: "array";
|
|
2973
|
+
readonly items: {
|
|
2974
|
+
readonly type: "string";
|
|
2975
|
+
readonly maxLength: 500;
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
};
|
|
2979
|
+
readonly required: readonly ["status", "omittedFields"];
|
|
2980
|
+
readonly additionalProperties: false;
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
readonly required: readonly ["sourceType", "sourceId", "contentKind", "segments", "page", "completeness"];
|
|
2984
|
+
readonly additionalProperties: false;
|
|
2985
|
+
};
|
|
2802
2986
|
};
|
|
2803
2987
|
readonly required: readonly ["sourceType", "sourceId", "occurredAt", "title", "summary", "permalink", "provider", "customer", "participants", "record"];
|
|
2804
2988
|
readonly additionalProperties: false;
|
|
@@ -8104,7 +8288,7 @@ declare const consumerToolPolicies: {
|
|
|
8104
8288
|
declare const toolGatewayTransport: {
|
|
8105
8289
|
readonly method: "POST";
|
|
8106
8290
|
readonly path: "/api/tools/call";
|
|
8107
|
-
readonly errorStatuses: readonly [400, 401, 402, 403, 404, 409, 422, 429, 500, 502, 503];
|
|
8291
|
+
readonly errorStatuses: readonly [400, 401, 402, 403, 404, 409, 413, 422, 429, 500, 502, 503];
|
|
8108
8292
|
};
|
|
8109
8293
|
declare const apiKeyValidationTransport: {
|
|
8110
8294
|
readonly method: "POST";
|
|
@@ -8262,14 +8446,14 @@ declare const apiKeyValidationFailureSchema: {
|
|
|
8262
8446
|
readonly required: readonly ["valid", "error"];
|
|
8263
8447
|
readonly additionalProperties: false;
|
|
8264
8448
|
};
|
|
8265
|
-
declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8449
|
+
declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8266
8450
|
declare const toolGatewayErrorSchema: {
|
|
8267
8451
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
8268
8452
|
readonly type: "object";
|
|
8269
8453
|
readonly properties: {
|
|
8270
8454
|
readonly code: {
|
|
8271
8455
|
readonly type: "string";
|
|
8272
|
-
readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8456
|
+
readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8273
8457
|
};
|
|
8274
8458
|
readonly message: {
|
|
8275
8459
|
readonly type: "string";
|
|
@@ -8293,6 +8477,16 @@ declare const toolGatewayErrorSchema: {
|
|
|
8293
8477
|
readonly type: "null";
|
|
8294
8478
|
}];
|
|
8295
8479
|
};
|
|
8480
|
+
readonly limitBytes: {
|
|
8481
|
+
readonly type: "integer";
|
|
8482
|
+
readonly exclusiveMinimum: 0;
|
|
8483
|
+
readonly maximum: 9007199254740991;
|
|
8484
|
+
};
|
|
8485
|
+
readonly actualBytes: {
|
|
8486
|
+
readonly type: "integer";
|
|
8487
|
+
readonly exclusiveMinimum: 0;
|
|
8488
|
+
readonly maximum: 9007199254740991;
|
|
8489
|
+
};
|
|
8296
8490
|
};
|
|
8297
8491
|
readonly required: readonly ["code", "message", "retryable", "requestId"];
|
|
8298
8492
|
readonly additionalProperties: false;
|
|
@@ -9000,7 +9194,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
9000
9194
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
9001
9195
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
9002
9196
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
9003
|
-
declare const sdkConsumerContractHash: "
|
|
9197
|
+
declare const sdkConsumerContractHash: "fb69fe6745dd5e8b9cfcfd8f50b46e8826177ffe389facfd0da44f903e3726bf";
|
|
9004
9198
|
|
|
9005
9199
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
9006
9200
|
type PublicToolName = (typeof publicToolNames)[number];
|
package/dist/index.d.ts
CHANGED
|
@@ -2433,7 +2433,7 @@ declare const publicToolContracts: {
|
|
|
2433
2433
|
readonly properties: {
|
|
2434
2434
|
readonly sourceType: {
|
|
2435
2435
|
readonly type: "string";
|
|
2436
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2436
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY", "EXTRACTED"];
|
|
2437
2437
|
};
|
|
2438
2438
|
readonly sourceId: {
|
|
2439
2439
|
readonly type: "string";
|
|
@@ -2441,13 +2441,13 @@ declare const publicToolContracts: {
|
|
|
2441
2441
|
readonly maxLength: 500;
|
|
2442
2442
|
};
|
|
2443
2443
|
readonly limit: {
|
|
2444
|
-
readonly description: "
|
|
2444
|
+
readonly description: "Exact content segments per page (default 10, maximum 100).";
|
|
2445
2445
|
readonly type: "integer";
|
|
2446
2446
|
readonly minimum: 1;
|
|
2447
2447
|
readonly maximum: 100;
|
|
2448
2448
|
};
|
|
2449
2449
|
readonly cursor: {
|
|
2450
|
-
readonly description: "Opaque
|
|
2450
|
+
readonly description: "Opaque cursor returned by a previous exact lookup for the same source.";
|
|
2451
2451
|
readonly type: "string";
|
|
2452
2452
|
readonly minLength: 1;
|
|
2453
2453
|
readonly maxLength: 2000;
|
|
@@ -2589,6 +2589,98 @@ declare const publicToolContracts: {
|
|
|
2589
2589
|
};
|
|
2590
2590
|
readonly additionalProperties: {};
|
|
2591
2591
|
};
|
|
2592
|
+
readonly contentPage: {
|
|
2593
|
+
readonly type: "object";
|
|
2594
|
+
readonly properties: {
|
|
2595
|
+
readonly sourceType: {
|
|
2596
|
+
readonly type: "string";
|
|
2597
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2598
|
+
};
|
|
2599
|
+
readonly sourceId: {
|
|
2600
|
+
readonly type: "string";
|
|
2601
|
+
readonly minLength: 1;
|
|
2602
|
+
readonly maxLength: 500;
|
|
2603
|
+
};
|
|
2604
|
+
readonly contentKind: {
|
|
2605
|
+
readonly type: "string";
|
|
2606
|
+
readonly enum: readonly ["email_body", "call_transcript", "support_thread", "slack_thread"];
|
|
2607
|
+
};
|
|
2608
|
+
readonly segments: {
|
|
2609
|
+
readonly type: "array";
|
|
2610
|
+
readonly items: {
|
|
2611
|
+
readonly type: "object";
|
|
2612
|
+
readonly properties: {
|
|
2613
|
+
readonly id: {
|
|
2614
|
+
readonly type: "string";
|
|
2615
|
+
readonly minLength: 1;
|
|
2616
|
+
readonly maxLength: 1000;
|
|
2617
|
+
};
|
|
2618
|
+
readonly occurredAt: {
|
|
2619
|
+
readonly type: "string";
|
|
2620
|
+
readonly format: "date-time";
|
|
2621
|
+
readonly 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))$";
|
|
2622
|
+
};
|
|
2623
|
+
readonly authorLabel: {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly maxLength: 500;
|
|
2626
|
+
};
|
|
2627
|
+
readonly text: {
|
|
2628
|
+
readonly type: "string";
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
readonly required: readonly ["id", "text"];
|
|
2632
|
+
readonly additionalProperties: false;
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2635
|
+
readonly page: {
|
|
2636
|
+
readonly type: "object";
|
|
2637
|
+
readonly properties: {
|
|
2638
|
+
readonly returned: {
|
|
2639
|
+
readonly type: "integer";
|
|
2640
|
+
readonly minimum: 0;
|
|
2641
|
+
readonly maximum: 9007199254740991;
|
|
2642
|
+
};
|
|
2643
|
+
readonly hasMore: {
|
|
2644
|
+
readonly type: "boolean";
|
|
2645
|
+
};
|
|
2646
|
+
readonly nextCursor: {
|
|
2647
|
+
readonly anyOf: readonly [{
|
|
2648
|
+
readonly type: "string";
|
|
2649
|
+
readonly maxLength: 2000;
|
|
2650
|
+
}, {
|
|
2651
|
+
readonly type: "null";
|
|
2652
|
+
}];
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
readonly required: readonly ["returned", "hasMore", "nextCursor"];
|
|
2656
|
+
readonly additionalProperties: false;
|
|
2657
|
+
};
|
|
2658
|
+
readonly completeness: {
|
|
2659
|
+
readonly type: "object";
|
|
2660
|
+
readonly properties: {
|
|
2661
|
+
readonly status: {
|
|
2662
|
+
readonly type: "string";
|
|
2663
|
+
readonly enum: readonly ["complete", "partial", "unavailable"];
|
|
2664
|
+
};
|
|
2665
|
+
readonly reason: {
|
|
2666
|
+
readonly type: "string";
|
|
2667
|
+
readonly maxLength: 1000;
|
|
2668
|
+
};
|
|
2669
|
+
readonly omittedFields: {
|
|
2670
|
+
readonly type: "array";
|
|
2671
|
+
readonly items: {
|
|
2672
|
+
readonly type: "string";
|
|
2673
|
+
readonly maxLength: 500;
|
|
2674
|
+
};
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
readonly required: readonly ["status", "omittedFields"];
|
|
2678
|
+
readonly additionalProperties: false;
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
readonly required: readonly ["sourceType", "sourceId", "contentKind", "segments", "page", "completeness"];
|
|
2682
|
+
readonly additionalProperties: false;
|
|
2683
|
+
};
|
|
2592
2684
|
};
|
|
2593
2685
|
readonly required: readonly ["sourceType", "sourceId", "occurredAt", "title", "summary", "permalink", "provider", "customer", "participants", "record"];
|
|
2594
2686
|
readonly additionalProperties: false;
|
|
@@ -2799,6 +2891,98 @@ declare const publicToolContracts: {
|
|
|
2799
2891
|
};
|
|
2800
2892
|
readonly additionalProperties: {};
|
|
2801
2893
|
};
|
|
2894
|
+
readonly contentPage: {
|
|
2895
|
+
readonly type: "object";
|
|
2896
|
+
readonly properties: {
|
|
2897
|
+
readonly sourceType: {
|
|
2898
|
+
readonly type: "string";
|
|
2899
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2900
|
+
};
|
|
2901
|
+
readonly sourceId: {
|
|
2902
|
+
readonly type: "string";
|
|
2903
|
+
readonly minLength: 1;
|
|
2904
|
+
readonly maxLength: 500;
|
|
2905
|
+
};
|
|
2906
|
+
readonly contentKind: {
|
|
2907
|
+
readonly type: "string";
|
|
2908
|
+
readonly enum: readonly ["email_body", "call_transcript", "support_thread", "slack_thread"];
|
|
2909
|
+
};
|
|
2910
|
+
readonly segments: {
|
|
2911
|
+
readonly type: "array";
|
|
2912
|
+
readonly items: {
|
|
2913
|
+
readonly type: "object";
|
|
2914
|
+
readonly properties: {
|
|
2915
|
+
readonly id: {
|
|
2916
|
+
readonly type: "string";
|
|
2917
|
+
readonly minLength: 1;
|
|
2918
|
+
readonly maxLength: 1000;
|
|
2919
|
+
};
|
|
2920
|
+
readonly occurredAt: {
|
|
2921
|
+
readonly type: "string";
|
|
2922
|
+
readonly format: "date-time";
|
|
2923
|
+
readonly 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))$";
|
|
2924
|
+
};
|
|
2925
|
+
readonly authorLabel: {
|
|
2926
|
+
readonly type: "string";
|
|
2927
|
+
readonly maxLength: 500;
|
|
2928
|
+
};
|
|
2929
|
+
readonly text: {
|
|
2930
|
+
readonly type: "string";
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
readonly required: readonly ["id", "text"];
|
|
2934
|
+
readonly additionalProperties: false;
|
|
2935
|
+
};
|
|
2936
|
+
};
|
|
2937
|
+
readonly page: {
|
|
2938
|
+
readonly type: "object";
|
|
2939
|
+
readonly properties: {
|
|
2940
|
+
readonly returned: {
|
|
2941
|
+
readonly type: "integer";
|
|
2942
|
+
readonly minimum: 0;
|
|
2943
|
+
readonly maximum: 9007199254740991;
|
|
2944
|
+
};
|
|
2945
|
+
readonly hasMore: {
|
|
2946
|
+
readonly type: "boolean";
|
|
2947
|
+
};
|
|
2948
|
+
readonly nextCursor: {
|
|
2949
|
+
readonly anyOf: readonly [{
|
|
2950
|
+
readonly type: "string";
|
|
2951
|
+
readonly maxLength: 2000;
|
|
2952
|
+
}, {
|
|
2953
|
+
readonly type: "null";
|
|
2954
|
+
}];
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
readonly required: readonly ["returned", "hasMore", "nextCursor"];
|
|
2958
|
+
readonly additionalProperties: false;
|
|
2959
|
+
};
|
|
2960
|
+
readonly completeness: {
|
|
2961
|
+
readonly type: "object";
|
|
2962
|
+
readonly properties: {
|
|
2963
|
+
readonly status: {
|
|
2964
|
+
readonly type: "string";
|
|
2965
|
+
readonly enum: readonly ["complete", "partial", "unavailable"];
|
|
2966
|
+
};
|
|
2967
|
+
readonly reason: {
|
|
2968
|
+
readonly type: "string";
|
|
2969
|
+
readonly maxLength: 1000;
|
|
2970
|
+
};
|
|
2971
|
+
readonly omittedFields: {
|
|
2972
|
+
readonly type: "array";
|
|
2973
|
+
readonly items: {
|
|
2974
|
+
readonly type: "string";
|
|
2975
|
+
readonly maxLength: 500;
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
};
|
|
2979
|
+
readonly required: readonly ["status", "omittedFields"];
|
|
2980
|
+
readonly additionalProperties: false;
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
readonly required: readonly ["sourceType", "sourceId", "contentKind", "segments", "page", "completeness"];
|
|
2984
|
+
readonly additionalProperties: false;
|
|
2985
|
+
};
|
|
2802
2986
|
};
|
|
2803
2987
|
readonly required: readonly ["sourceType", "sourceId", "occurredAt", "title", "summary", "permalink", "provider", "customer", "participants", "record"];
|
|
2804
2988
|
readonly additionalProperties: false;
|
|
@@ -8104,7 +8288,7 @@ declare const consumerToolPolicies: {
|
|
|
8104
8288
|
declare const toolGatewayTransport: {
|
|
8105
8289
|
readonly method: "POST";
|
|
8106
8290
|
readonly path: "/api/tools/call";
|
|
8107
|
-
readonly errorStatuses: readonly [400, 401, 402, 403, 404, 409, 422, 429, 500, 502, 503];
|
|
8291
|
+
readonly errorStatuses: readonly [400, 401, 402, 403, 404, 409, 413, 422, 429, 500, 502, 503];
|
|
8108
8292
|
};
|
|
8109
8293
|
declare const apiKeyValidationTransport: {
|
|
8110
8294
|
readonly method: "POST";
|
|
@@ -8262,14 +8446,14 @@ declare const apiKeyValidationFailureSchema: {
|
|
|
8262
8446
|
readonly required: readonly ["valid", "error"];
|
|
8263
8447
|
readonly additionalProperties: false;
|
|
8264
8448
|
};
|
|
8265
|
-
declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8449
|
+
declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8266
8450
|
declare const toolGatewayErrorSchema: {
|
|
8267
8451
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
8268
8452
|
readonly type: "object";
|
|
8269
8453
|
readonly properties: {
|
|
8270
8454
|
readonly code: {
|
|
8271
8455
|
readonly type: "string";
|
|
8272
|
-
readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8456
|
+
readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
|
|
8273
8457
|
};
|
|
8274
8458
|
readonly message: {
|
|
8275
8459
|
readonly type: "string";
|
|
@@ -8293,6 +8477,16 @@ declare const toolGatewayErrorSchema: {
|
|
|
8293
8477
|
readonly type: "null";
|
|
8294
8478
|
}];
|
|
8295
8479
|
};
|
|
8480
|
+
readonly limitBytes: {
|
|
8481
|
+
readonly type: "integer";
|
|
8482
|
+
readonly exclusiveMinimum: 0;
|
|
8483
|
+
readonly maximum: 9007199254740991;
|
|
8484
|
+
};
|
|
8485
|
+
readonly actualBytes: {
|
|
8486
|
+
readonly type: "integer";
|
|
8487
|
+
readonly exclusiveMinimum: 0;
|
|
8488
|
+
readonly maximum: 9007199254740991;
|
|
8489
|
+
};
|
|
8296
8490
|
};
|
|
8297
8491
|
readonly required: readonly ["code", "message", "retryable", "requestId"];
|
|
8298
8492
|
readonly additionalProperties: false;
|
|
@@ -9000,7 +9194,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
9000
9194
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
9001
9195
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
9002
9196
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
9003
|
-
declare const sdkConsumerContractHash: "
|
|
9197
|
+
declare const sdkConsumerContractHash: "fb69fe6745dd5e8b9cfcfd8f50b46e8826177ffe389facfd0da44f903e3726bf";
|
|
9004
9198
|
|
|
9005
9199
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
9006
9200
|
type PublicToolName = (typeof publicToolNames)[number];
|