@vm0/cli 9.223.16 → 9.223.18
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/{agent-WQIXXGJO.js → agent-M55WE6FY.js} +4 -4
- package/{banking-754EKGUS.js → banking-2VJD72Q7.js} +2 -2
- package/{chat-D2OZYR2Z.js → chat-CKI4L6DA.js} +2 -2
- package/{chunk-YC3OIEDN.js → chunk-3KS5OANC.js} +2 -2
- package/{chunk-JIGW2QZK.js → chunk-5JKTJAFU.js} +2 -2
- package/{chunk-WYK5WKN2.js → chunk-6ZFQQH2U.js} +2 -2
- package/{chunk-ZAYAA3FN.js → chunk-E4DR2AWC.js} +2 -2
- package/{chunk-HHOWY3X6.js → chunk-ETFWGPCK.js} +2 -2
- package/{chunk-UQLTZSYB.js → chunk-FVCLVN6H.js} +3 -3
- package/{chunk-DH2DASOL.js → chunk-MQUWNBWP.js} +3 -3
- package/{chunk-BB2RAOAR.js → chunk-RBQRSYQX.js} +44 -28
- package/chunk-RBQRSYQX.js.map +1 -0
- package/{chunk-MDI4A6DA.js → chunk-WAVC57GI.js} +2 -3
- package/{chunk-MDI4A6DA.js.map → chunk-WAVC57GI.js.map} +1 -1
- package/{computer-use-YW6INFNL.js → computer-use-YIJZGNCC.js} +2 -2
- package/{connector-V3HQTSH4.js → connector-TSYFPLGL.js} +2 -2
- package/{credit-IBTE37ZY.js → credit-QLWXYYYC.js} +2 -2
- package/{developer-support-HSW4SR6O.js → developer-support-OXIW5AAL.js} +2 -2
- package/{doctor-GUCJODNO.js → doctor-UFONIZAE.js} +5 -5
- package/{generate-N6DDRYMZ.js → generate-F2FKJN4C.js} +2 -2
- package/{github-6RCGZGZW.js → github-DE3ZSSM6.js} +2 -2
- package/{goal-OYU5PFPL.js → goal-V6IZZYDJ.js} +2 -2
- package/{host-JUBNRRZX.js → host-5N2FSNJY.js} +2 -2
- package/index.js +13 -13
- package/{logs-CBCD6MHH.js → logs-2JRFWET5.js} +6 -6
- package/{maps-YVSG2JRB.js → maps-LQMU4LCY.js} +2 -2
- package/{model-5CSYWDI6.js → model-CAF4SBUX.js} +3 -3
- package/{model-provider-EIVBAMYO.js → model-provider-LLUJUS2O.js} +3 -3
- package/{org-BPQREIMU.js → org-XU4K5VTH.js} +2 -2
- package/package.json +1 -1
- package/{phone-J5ONRKAE.js → phone-DASGJHHM.js} +2 -2
- package/{preference-MTFPTB6A.js → preference-Z2276KZJ.js} +2 -2
- package/{relationship-UHVYHKGW.js → relationship-ZAV66Y5Y.js} +2 -2
- package/{resource-O3VV27ND.js → resource-NC7ZMHHY.js} +2 -2
- package/{search-RI7SI5E3.js → search-OVOM3CN3.js} +6 -6
- package/{secret-PDH6T3JE.js → secret-V2IZ6UI2.js} +3 -3
- package/{slack-I7LZJDJX.js → slack-ZE6JLI3P.js} +2 -2
- package/{telegram-F2WU7OYW.js → telegram-IUIQG5AS.js} +2 -2
- package/{variable-IUD53R4C.js → variable-DZH2QFBU.js} +2 -2
- package/{web-7GWIQSPL.js → web-3M73FK76.js} +2 -2
- package/{whoami-VFHN647O.js → whoami-Z76F234J.js} +4 -4
- package/{workflow-O4VZLZTL.js → workflow-B4V5UKSB.js} +2 -2
- package/zero.js +31 -31
- package/chunk-BB2RAOAR.js.map +0 -1
- /package/{agent-WQIXXGJO.js.map → agent-M55WE6FY.js.map} +0 -0
- /package/{banking-754EKGUS.js.map → banking-2VJD72Q7.js.map} +0 -0
- /package/{chat-D2OZYR2Z.js.map → chat-CKI4L6DA.js.map} +0 -0
- /package/{chunk-YC3OIEDN.js.map → chunk-3KS5OANC.js.map} +0 -0
- /package/{chunk-JIGW2QZK.js.map → chunk-5JKTJAFU.js.map} +0 -0
- /package/{chunk-WYK5WKN2.js.map → chunk-6ZFQQH2U.js.map} +0 -0
- /package/{chunk-ZAYAA3FN.js.map → chunk-E4DR2AWC.js.map} +0 -0
- /package/{chunk-HHOWY3X6.js.map → chunk-ETFWGPCK.js.map} +0 -0
- /package/{chunk-UQLTZSYB.js.map → chunk-FVCLVN6H.js.map} +0 -0
- /package/{chunk-DH2DASOL.js.map → chunk-MQUWNBWP.js.map} +0 -0
- /package/{computer-use-YW6INFNL.js.map → computer-use-YIJZGNCC.js.map} +0 -0
- /package/{connector-V3HQTSH4.js.map → connector-TSYFPLGL.js.map} +0 -0
- /package/{credit-IBTE37ZY.js.map → credit-QLWXYYYC.js.map} +0 -0
- /package/{developer-support-HSW4SR6O.js.map → developer-support-OXIW5AAL.js.map} +0 -0
- /package/{doctor-GUCJODNO.js.map → doctor-UFONIZAE.js.map} +0 -0
- /package/{generate-N6DDRYMZ.js.map → generate-F2FKJN4C.js.map} +0 -0
- /package/{github-6RCGZGZW.js.map → github-DE3ZSSM6.js.map} +0 -0
- /package/{goal-OYU5PFPL.js.map → goal-V6IZZYDJ.js.map} +0 -0
- /package/{host-JUBNRRZX.js.map → host-5N2FSNJY.js.map} +0 -0
- /package/{logs-CBCD6MHH.js.map → logs-2JRFWET5.js.map} +0 -0
- /package/{maps-YVSG2JRB.js.map → maps-LQMU4LCY.js.map} +0 -0
- /package/{model-5CSYWDI6.js.map → model-CAF4SBUX.js.map} +0 -0
- /package/{model-provider-EIVBAMYO.js.map → model-provider-LLUJUS2O.js.map} +0 -0
- /package/{org-BPQREIMU.js.map → org-XU4K5VTH.js.map} +0 -0
- /package/{phone-J5ONRKAE.js.map → phone-DASGJHHM.js.map} +0 -0
- /package/{preference-MTFPTB6A.js.map → preference-Z2276KZJ.js.map} +0 -0
- /package/{relationship-UHVYHKGW.js.map → relationship-ZAV66Y5Y.js.map} +0 -0
- /package/{resource-O3VV27ND.js.map → resource-NC7ZMHHY.js.map} +0 -0
- /package/{search-RI7SI5E3.js.map → search-OVOM3CN3.js.map} +0 -0
- /package/{secret-PDH6T3JE.js.map → secret-V2IZ6UI2.js.map} +0 -0
- /package/{slack-I7LZJDJX.js.map → slack-ZE6JLI3P.js.map} +0 -0
- /package/{telegram-F2WU7OYW.js.map → telegram-IUIQG5AS.js.map} +0 -0
- /package/{variable-IUD53R4C.js.map → variable-DZH2QFBU.js.map} +0 -0
- /package/{web-7GWIQSPL.js.map → web-3M73FK76.js.map} +0 -0
- /package/{whoami-VFHN647O.js.map → whoami-Z76F234J.js.map} +0 -0
- /package/{workflow-O4VZLZTL.js.map → workflow-B4V5UKSB.js.map} +0 -0
|
@@ -4,10 +4,10 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
loadConnectorPermissionInfos,
|
|
6
6
|
policyIcon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5JKTJAFU.js";
|
|
8
8
|
import {
|
|
9
9
|
permissionGrantsToFirewallPolicies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ZFQQH2U.js";
|
|
11
11
|
import {
|
|
12
12
|
isInteractive,
|
|
13
13
|
promptConfirm
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
listZeroUserPermissionGrants,
|
|
25
25
|
updateZeroAgent,
|
|
26
26
|
updateZeroAgentInstructions
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RBQRSYQX.js";
|
|
28
28
|
import {
|
|
29
29
|
withErrorHandler
|
|
30
30
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -595,4 +595,4 @@ Notes:
|
|
|
595
595
|
export {
|
|
596
596
|
zeroAgentCommand
|
|
597
597
|
};
|
|
598
|
-
//# sourceMappingURL=agent-
|
|
598
|
+
//# sourceMappingURL=agent-M55WE6FY.js.map
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import "./chunk-LTDQISD7.js";
|
|
5
5
|
import {
|
|
6
6
|
callZeroBanking
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RBQRSYQX.js";
|
|
8
8
|
import {
|
|
9
9
|
withErrorHandler
|
|
10
10
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -115,4 +115,4 @@ Notes:
|
|
|
115
115
|
export {
|
|
116
116
|
zeroBankingCommand
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=banking-
|
|
118
|
+
//# sourceMappingURL=banking-2VJD72Q7.js.map
|
|
@@ -5,7 +5,7 @@ import "./chunk-LTDQISD7.js";
|
|
|
5
5
|
import {
|
|
6
6
|
getZeroChatThread,
|
|
7
7
|
renameZeroChatThread
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBQRSYQX.js";
|
|
9
9
|
import {
|
|
10
10
|
withErrorHandler
|
|
11
11
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -120,4 +120,4 @@ Examples:
|
|
|
120
120
|
export {
|
|
121
121
|
zeroChatCommand
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chat-
|
|
123
|
+
//# sourceMappingURL=chat-CKI4L6DA.js.map
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
MODEL_PROVIDER_TYPES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RBQRSYQX.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
formatModelProviderRoute,
|
|
41
41
|
formatModelPolicyStatus
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-3KS5OANC.js.map
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
loadFirewallPermissionMetadata,
|
|
6
6
|
resolveFirewallMetadataPolicies
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6ZFQQH2U.js";
|
|
8
8
|
import {
|
|
9
9
|
source_default
|
|
10
10
|
} from "./chunk-JUTUEPIR.js";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
policyIcon,
|
|
88
88
|
loadConnectorPermissionInfos
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-5JKTJAFU.js.map
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
UNKNOWN_PERMISSION_GRANT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RBQRSYQX.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -3098,4 +3098,4 @@ export {
|
|
|
3098
3098
|
getFirewallPermissionSummary,
|
|
3099
3099
|
loadFirewallPermissionMetadata
|
|
3100
3100
|
};
|
|
3101
|
-
//# sourceMappingURL=chunk-
|
|
3101
|
+
//# sourceMappingURL=chunk-6ZFQQH2U.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
CONNECTOR_TYPES,
|
|
6
6
|
CONNECTOR_TYPE_KEYS,
|
|
7
7
|
connectorAuthMethodIdSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBQRSYQX.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -120,4 +120,4 @@ export {
|
|
|
120
120
|
getConnectorStoredSecretDisplayInfo,
|
|
121
121
|
getDiagnosticConnectorTypeForRuntimeEnvName
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk-
|
|
123
|
+
//# sourceMappingURL=chunk-E4DR2AWC.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
splitPathSegments,
|
|
11
11
|
validateAuthBaseUrl,
|
|
12
12
|
validateBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RBQRSYQX.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esm_shims
|
|
16
16
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -1175,4 +1175,4 @@ export {
|
|
|
1175
1175
|
matchFirewallBaseUrl,
|
|
1176
1176
|
matchFirewallRequestDecision
|
|
1177
1177
|
};
|
|
1178
|
-
//# sourceMappingURL=chunk-
|
|
1178
|
+
//# sourceMappingURL=chunk-ETFWGPCK.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
parseBoundedLogCount,
|
|
11
11
|
parseSearchQuery,
|
|
12
12
|
parseTime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WAVC57GI.js";
|
|
14
14
|
import {
|
|
15
15
|
searchZeroLogs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RBQRSYQX.js";
|
|
17
17
|
import {
|
|
18
18
|
withErrorHandler
|
|
19
19
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
runLogsSearch,
|
|
177
177
|
searchCommand
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-FVCLVN6H.js.map
|
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.223.
|
|
53
|
+
release: "9.223.18",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.223.
|
|
72
|
+
version: "9.223.18",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-MQUWNBWP.js.map
|
|
@@ -6616,19 +6616,13 @@ var chatThreadDetailSchema = external_exports.object({
|
|
|
6616
6616
|
title: external_exports.string().nullable(),
|
|
6617
6617
|
agentId: external_exports.string(),
|
|
6618
6618
|
/**
|
|
6619
|
-
*
|
|
6620
|
-
*
|
|
6621
|
-
* back-compat with fixtures/tests that predate the read marker field.
|
|
6619
|
+
* Read-state watermark. A thread is unread when its latest run-finish marker
|
|
6620
|
+
* is newer than this timestamp.
|
|
6622
6621
|
*/
|
|
6623
|
-
|
|
6624
|
-
/**
|
|
6625
|
-
* Primary read-state watermark. `lastReadMessageId` remains for legacy
|
|
6626
|
-
* clients only and should not be used for new read-state logic.
|
|
6627
|
-
*/
|
|
6628
|
-
lastReadAt: external_exports.string().nullable().optional(),
|
|
6622
|
+
lastReadAt: external_exports.string().nullable(),
|
|
6629
6623
|
/**
|
|
6630
6624
|
* ISO timestamp of the latest assistant text result that should affect
|
|
6631
|
-
*
|
|
6625
|
+
* sidebar recency.
|
|
6632
6626
|
*/
|
|
6633
6627
|
lastMessageAt: external_exports.string().optional(),
|
|
6634
6628
|
activeRunIds: external_exports.array(external_exports.string()),
|
|
@@ -6730,6 +6724,7 @@ var chatThreadsContract = c15.router({
|
|
|
6730
6724
|
agentId: external_exports.string().min(1),
|
|
6731
6725
|
clientThreadId: external_exports.string().uuid().optional(),
|
|
6732
6726
|
eventId: chatThreadEventIdSchema.optional(),
|
|
6727
|
+
modelSelection: modelSelectionRequestSchema,
|
|
6733
6728
|
title: external_exports.string().optional()
|
|
6734
6729
|
}),
|
|
6735
6730
|
responses: {
|
|
@@ -6739,6 +6734,7 @@ var chatThreadsContract = c15.router({
|
|
|
6739
6734
|
createdAt: external_exports.string()
|
|
6740
6735
|
}),
|
|
6741
6736
|
401: apiErrorSchema,
|
|
6737
|
+
402: apiErrorSchema,
|
|
6742
6738
|
404: apiErrorSchema
|
|
6743
6739
|
},
|
|
6744
6740
|
summary: "Create a new chat thread"
|
|
@@ -6866,11 +6862,11 @@ var chatThreadMarkReadContract = c15.router({
|
|
|
6866
6862
|
body: c15.noBody(),
|
|
6867
6863
|
responses: {
|
|
6868
6864
|
200: external_exports.object({
|
|
6869
|
-
|
|
6865
|
+
lastReadAt: external_exports.string().nullable(),
|
|
6870
6866
|
/**
|
|
6871
6867
|
* Fresh unread snapshot for the thread's agent (same shape as the
|
|
6872
|
-
* unreads endpoint).
|
|
6873
|
-
*
|
|
6868
|
+
* unreads endpoint). Clients should treat
|
|
6869
|
+
* `chatThreadReadCursorUpdated` as read-state invalidation.
|
|
6874
6870
|
*/
|
|
6875
6871
|
unreads: chatThreadUnreadsSchema.shape.unreads
|
|
6876
6872
|
}),
|
|
@@ -6878,7 +6874,7 @@ var chatThreadMarkReadContract = c15.router({
|
|
|
6878
6874
|
401: apiErrorSchema,
|
|
6879
6875
|
404: apiErrorSchema
|
|
6880
6876
|
},
|
|
6881
|
-
summary: "Mark a chat thread as read up to the latest
|
|
6877
|
+
summary: "Mark a chat thread as read up to the latest run-finish marker"
|
|
6882
6878
|
}
|
|
6883
6879
|
});
|
|
6884
6880
|
var chatThreadMarkAgentReadContract = c15.router({
|
|
@@ -7020,13 +7016,17 @@ var chatMessagesContract = c15.router({
|
|
|
7020
7016
|
threadId: external_exports.string().optional(),
|
|
7021
7017
|
clientThreadId: external_exports.string().uuid().optional(),
|
|
7022
7018
|
chatThreadEventId: chatThreadEventIdSchema.optional(),
|
|
7023
|
-
|
|
7019
|
+
// Client-generated UUID for the sort touch created by direct user sends.
|
|
7020
|
+
// Lets event-sourced clients reconcile optimistic sidebar recency by id.
|
|
7021
|
+
chatThreadSortEventId: chatThreadEventIdSchema.optional(),
|
|
7024
7022
|
modelProvider: external_exports.string().optional(),
|
|
7025
7023
|
/**
|
|
7026
|
-
* Per-run model override
|
|
7027
|
-
*
|
|
7028
|
-
*
|
|
7029
|
-
*
|
|
7024
|
+
* Per-run model override. This does not mutate the thread's selected
|
|
7025
|
+
* model; thread model changes are persisted through
|
|
7026
|
+
* `chatThreadModelSelectionContract.update`.
|
|
7027
|
+
*
|
|
7028
|
+
* When omitted, the run resolves from the thread's persisted
|
|
7029
|
+
* `selected_model`.
|
|
7030
7030
|
*/
|
|
7031
7031
|
modelSelection: modelSelectionRequestSchema.nullable().optional(),
|
|
7032
7032
|
runOptions: chatRunOptionsRequestSchema.optional(),
|
|
@@ -7058,7 +7058,7 @@ var chatMessagesContract = c15.router({
|
|
|
7058
7058
|
prompt: external_exports.undefined().optional(),
|
|
7059
7059
|
clientThreadId: external_exports.undefined().optional(),
|
|
7060
7060
|
chatThreadEventId: external_exports.undefined().optional(),
|
|
7061
|
-
|
|
7061
|
+
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
7062
7062
|
modelProvider: external_exports.undefined().optional(),
|
|
7063
7063
|
modelSelection: external_exports.undefined().optional(),
|
|
7064
7064
|
runOptions: external_exports.undefined().optional(),
|
|
@@ -7078,7 +7078,7 @@ var chatMessagesContract = c15.router({
|
|
|
7078
7078
|
prompt: external_exports.undefined().optional(),
|
|
7079
7079
|
clientThreadId: external_exports.undefined().optional(),
|
|
7080
7080
|
chatThreadEventId: external_exports.undefined().optional(),
|
|
7081
|
-
|
|
7081
|
+
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
7082
7082
|
modelProvider: external_exports.undefined().optional(),
|
|
7083
7083
|
modelSelection: external_exports.undefined().optional(),
|
|
7084
7084
|
runOptions: external_exports.undefined().optional(),
|
|
@@ -28010,11 +28010,17 @@ init_esm_shims();
|
|
|
28010
28010
|
// ../../packages/api-contracts/src/contracts/zero-relationships.ts
|
|
28011
28011
|
init_esm_shims();
|
|
28012
28012
|
var c35 = initContract();
|
|
28013
|
-
var RELATIONSHIP_SEARCH_DEFAULT_LIMIT =
|
|
28014
|
-
var RELATIONSHIP_SEARCH_MAX_LIMIT =
|
|
28013
|
+
var RELATIONSHIP_SEARCH_DEFAULT_LIMIT = 100;
|
|
28014
|
+
var RELATIONSHIP_SEARCH_MAX_LIMIT = 100;
|
|
28015
|
+
var relationshipEntityTypeSchema = external_exports.enum(["person", "organization"]);
|
|
28016
|
+
var relationshipItemKindSchema = external_exports.enum([
|
|
28017
|
+
"key_fact",
|
|
28018
|
+
"preference",
|
|
28019
|
+
"open_loop"
|
|
28020
|
+
]);
|
|
28015
28021
|
var relationshipEntitySchema = external_exports.object({
|
|
28016
28022
|
id: external_exports.string().uuid(),
|
|
28017
|
-
type:
|
|
28023
|
+
type: relationshipEntityTypeSchema,
|
|
28018
28024
|
displayName: external_exports.string(),
|
|
28019
28025
|
primaryEmail: external_exports.string().nullable(),
|
|
28020
28026
|
domain: external_exports.string().nullable()
|
|
@@ -28030,7 +28036,7 @@ var relationshipSourceSchema = external_exports.object({
|
|
|
28030
28036
|
});
|
|
28031
28037
|
var relationshipItemSchema = external_exports.object({
|
|
28032
28038
|
id: external_exports.string().uuid(),
|
|
28033
|
-
kind:
|
|
28039
|
+
kind: relationshipItemKindSchema,
|
|
28034
28040
|
text: external_exports.string(),
|
|
28035
28041
|
confidence: external_exports.number().int().min(0).max(100),
|
|
28036
28042
|
lastSeenAt: external_exports.string(),
|
|
@@ -28060,7 +28066,14 @@ var relationshipResolveResponseSchema = external_exports.object({
|
|
|
28060
28066
|
relationship: relationshipRecordSchema.nullable()
|
|
28061
28067
|
});
|
|
28062
28068
|
var relationshipSearchResponseSchema = external_exports.object({
|
|
28063
|
-
relationships: external_exports.array(relationshipRecordSchema)
|
|
28069
|
+
relationships: external_exports.array(relationshipRecordSchema),
|
|
28070
|
+
pagination: external_exports.object({
|
|
28071
|
+
page: external_exports.number().int().positive(),
|
|
28072
|
+
pageSize: external_exports.number().int().positive(),
|
|
28073
|
+
total: external_exports.number().int().nonnegative(),
|
|
28074
|
+
totalPages: external_exports.number().int().positive(),
|
|
28075
|
+
hasMore: external_exports.boolean()
|
|
28076
|
+
})
|
|
28064
28077
|
});
|
|
28065
28078
|
var gmailRelationshipBackfillStatusSchema = external_exports.enum([
|
|
28066
28079
|
"idle",
|
|
@@ -28190,7 +28203,10 @@ var zeroRelationshipsContract = c35.router({
|
|
|
28190
28203
|
headers: authHeadersSchema,
|
|
28191
28204
|
query: external_exports.object({
|
|
28192
28205
|
q: external_exports.string().max(300).optional(),
|
|
28193
|
-
|
|
28206
|
+
page: external_exports.coerce.number().int().positive().default(1),
|
|
28207
|
+
limit: external_exports.coerce.number().int().min(1).max(RELATIONSHIP_SEARCH_MAX_LIMIT).default(RELATIONSHIP_SEARCH_DEFAULT_LIMIT),
|
|
28208
|
+
entityType: relationshipEntityTypeSchema.optional(),
|
|
28209
|
+
itemKind: relationshipItemKindSchema.optional()
|
|
28194
28210
|
}),
|
|
28195
28211
|
responses: {
|
|
28196
28212
|
200: relationshipSearchResponseSchema,
|
|
@@ -28588,4 +28604,4 @@ export {
|
|
|
28588
28604
|
completeHostedSite,
|
|
28589
28605
|
getHostedSiteFiles
|
|
28590
28606
|
};
|
|
28591
|
-
//# sourceMappingURL=chunk-
|
|
28607
|
+
//# sourceMappingURL=chunk-RBQRSYQX.js.map
|