@vm0/cli 9.249.2 → 9.251.0
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-TOFXTWYP.js → agent-3IQFM2KY.js} +7 -7
- package/{banking-U7I6EJUO.js → banking-EYUWBTLB.js} +5 -5
- package/{chat-77EDGFMS.js → chat-S7Z2SOGU.js} +6 -6
- package/{chunk-N6TDQYGF.js → chunk-2USAOUQI.js} +2 -2
- package/{chunk-WDDZJGWL.js → chunk-5CVPQC2F.js} +2 -2
- package/{chunk-BQOOTJNB.js → chunk-CGLTWZX7.js} +3 -3
- package/{chunk-UNQJRTJQ.js → chunk-H46N52S6.js} +2 -2
- package/{chunk-A2NKQGRI.js → chunk-K3F4FDYI.js} +19 -1
- package/chunk-K3F4FDYI.js.map +1 -0
- package/{chunk-AFNSFKAH.js → chunk-KVNHL3NQ.js} +4 -4
- package/{chunk-4HN7U3JF.js → chunk-OJM5IFC3.js} +3 -3
- package/chunk-OJM5IFC3.js.map +1 -0
- package/{chunk-5CZNUTFF.js → chunk-QHG7ITIT.js} +2 -2
- package/{chunk-HSGQT7LT.js → chunk-THDGMML6.js} +2 -2
- package/{chunk-JCLLQRCI.js → chunk-WIO4VCT5.js} +2 -2
- package/{chunk-ROB3OE37.js → chunk-ZSP7ISNV.js} +187 -60
- package/chunk-ZSP7ISNV.js.map +1 -0
- package/{computer-use-BCGPVGWS.js → computer-use-ZI4I63OA.js} +5 -5
- package/{connector-CHZSI2LW.js → connector-JEISK7OP.js} +8 -8
- package/{credit-RWFBPKOS.js → credit-DZLGKM5H.js} +7 -7
- package/{developer-support-IVR3HIP7.js → developer-support-GKND4K5Y.js} +5 -5
- package/{doctor-KGWTXW2Q.js → doctor-IDEBPM3X.js} +7 -7
- package/{feishu-PLF4P5OG.js → feishu-HUX5DNAS.js} +5 -5
- package/{finance-LVFG3WWP.js → finance-QRFJGKEW.js} +5 -5
- package/{generate-4FIBMMJO.js → generate-SDDS6YWC.js} +7 -7
- package/{github-WHNAVVG3.js → github-6KEMKHRG.js} +5 -5
- package/{goal-G4J2BQ5Z.js → goal-5ER7N3Z3.js} +5 -5
- package/{host-3W6U2ZUP.js → host-JYOXNY2B.js} +5 -5
- package/{logs-P7JLTGXY.js → logs-7AGKFCY3.js} +6 -6
- package/{mail-LIAOXDD4.js → mail-LJKDHK2A.js} +7 -7
- package/{maps-C4NOXSE7.js → maps-HRMZ7QBC.js} +5 -5
- package/{model-I2MNQ5KC.js → model-RXY3MPL4.js} +6 -6
- package/{model-provider-AOCCHEMP.js → model-provider-HYLOR2WF.js} +6 -6
- package/{org-MVBG3WXZ.js → org-FKZQ7WF6.js} +5 -5
- package/package.json +1 -1
- package/people-search-444TQMDB.js +128 -0
- package/people-search-444TQMDB.js.map +1 -0
- package/{phone-4OZQFYHU.js → phone-OI2MXOHO.js} +5 -5
- package/{preference-H2A3WBGQ.js → preference-MQYZJ7R3.js} +5 -5
- package/{resource-CPCQ6V6M.js → resource-RVZZU2ZM.js} +5 -5
- package/{scrape-6RMFDYAT.js → scrape-MLGY4WK2.js} +5 -5
- package/{search-HSQVSQZY.js → search-PPAN6ZHY.js} +6 -6
- package/{secret-S4D6CNOX.js → secret-HIYUWKY4.js} +5 -5
- package/{slack-E3E2NIDZ.js → slack-QDR4X4V7.js} +5 -5
- package/{teams-CLEWT2LQ.js → teams-K6YHGEVC.js} +5 -5
- package/{telegram-35FKKA4K.js → telegram-LHBCOVZP.js} +5 -5
- package/{upgrade-DNGUR42E.js → upgrade-KM4H4ARY.js} +4 -4
- package/{variable-C7RWUPV6.js → variable-ULJ4EFHR.js} +5 -5
- package/{video-JS5VOA2S.js → video-P26LRUFN.js} +4 -4
- package/{weather-5R2N5OX4.js → weather-DMUJWZDC.js} +5 -5
- package/{web-FXIIYCZ7.js → web-ESXMLMEC.js} +5 -5
- package/{web-search-SZP7J4UM.js → web-search-QCZNJGMG.js} +5 -5
- package/{whoami-J4FRN67A.js → whoami-4NVG5FI7.js} +7 -7
- package/{workflow-HQHZKXB2.js → workflow-G7DL7SCF.js} +174 -10
- package/workflow-G7DL7SCF.js.map +1 -0
- package/zero.js +118 -55
- package/zero.js.map +1 -1
- package/chunk-4HN7U3JF.js.map +0 -1
- package/chunk-A2NKQGRI.js.map +0 -1
- package/chunk-ROB3OE37.js.map +0 -1
- package/workflow-HQHZKXB2.js.map +0 -1
- /package/{agent-TOFXTWYP.js.map → agent-3IQFM2KY.js.map} +0 -0
- /package/{banking-U7I6EJUO.js.map → banking-EYUWBTLB.js.map} +0 -0
- /package/{chat-77EDGFMS.js.map → chat-S7Z2SOGU.js.map} +0 -0
- /package/{chunk-N6TDQYGF.js.map → chunk-2USAOUQI.js.map} +0 -0
- /package/{chunk-WDDZJGWL.js.map → chunk-5CVPQC2F.js.map} +0 -0
- /package/{chunk-BQOOTJNB.js.map → chunk-CGLTWZX7.js.map} +0 -0
- /package/{chunk-UNQJRTJQ.js.map → chunk-H46N52S6.js.map} +0 -0
- /package/{chunk-AFNSFKAH.js.map → chunk-KVNHL3NQ.js.map} +0 -0
- /package/{chunk-5CZNUTFF.js.map → chunk-QHG7ITIT.js.map} +0 -0
- /package/{chunk-HSGQT7LT.js.map → chunk-THDGMML6.js.map} +0 -0
- /package/{chunk-JCLLQRCI.js.map → chunk-WIO4VCT5.js.map} +0 -0
- /package/{computer-use-BCGPVGWS.js.map → computer-use-ZI4I63OA.js.map} +0 -0
- /package/{connector-CHZSI2LW.js.map → connector-JEISK7OP.js.map} +0 -0
- /package/{credit-RWFBPKOS.js.map → credit-DZLGKM5H.js.map} +0 -0
- /package/{developer-support-IVR3HIP7.js.map → developer-support-GKND4K5Y.js.map} +0 -0
- /package/{doctor-KGWTXW2Q.js.map → doctor-IDEBPM3X.js.map} +0 -0
- /package/{feishu-PLF4P5OG.js.map → feishu-HUX5DNAS.js.map} +0 -0
- /package/{finance-LVFG3WWP.js.map → finance-QRFJGKEW.js.map} +0 -0
- /package/{generate-4FIBMMJO.js.map → generate-SDDS6YWC.js.map} +0 -0
- /package/{github-WHNAVVG3.js.map → github-6KEMKHRG.js.map} +0 -0
- /package/{goal-G4J2BQ5Z.js.map → goal-5ER7N3Z3.js.map} +0 -0
- /package/{host-3W6U2ZUP.js.map → host-JYOXNY2B.js.map} +0 -0
- /package/{logs-P7JLTGXY.js.map → logs-7AGKFCY3.js.map} +0 -0
- /package/{mail-LIAOXDD4.js.map → mail-LJKDHK2A.js.map} +0 -0
- /package/{maps-C4NOXSE7.js.map → maps-HRMZ7QBC.js.map} +0 -0
- /package/{model-I2MNQ5KC.js.map → model-RXY3MPL4.js.map} +0 -0
- /package/{model-provider-AOCCHEMP.js.map → model-provider-HYLOR2WF.js.map} +0 -0
- /package/{org-MVBG3WXZ.js.map → org-FKZQ7WF6.js.map} +0 -0
- /package/{phone-4OZQFYHU.js.map → phone-OI2MXOHO.js.map} +0 -0
- /package/{preference-H2A3WBGQ.js.map → preference-MQYZJ7R3.js.map} +0 -0
- /package/{resource-CPCQ6V6M.js.map → resource-RVZZU2ZM.js.map} +0 -0
- /package/{scrape-6RMFDYAT.js.map → scrape-MLGY4WK2.js.map} +0 -0
- /package/{search-HSQVSQZY.js.map → search-PPAN6ZHY.js.map} +0 -0
- /package/{secret-S4D6CNOX.js.map → secret-HIYUWKY4.js.map} +0 -0
- /package/{slack-E3E2NIDZ.js.map → slack-QDR4X4V7.js.map} +0 -0
- /package/{teams-CLEWT2LQ.js.map → teams-K6YHGEVC.js.map} +0 -0
- /package/{telegram-35FKKA4K.js.map → telegram-LHBCOVZP.js.map} +0 -0
- /package/{upgrade-DNGUR42E.js.map → upgrade-KM4H4ARY.js.map} +0 -0
- /package/{variable-C7RWUPV6.js.map → variable-ULJ4EFHR.js.map} +0 -0
- /package/{video-JS5VOA2S.js.map → video-P26LRUFN.js.map} +0 -0
- /package/{weather-5R2N5OX4.js.map → weather-DMUJWZDC.js.map} +0 -0
- /package/{web-FXIIYCZ7.js.map → web-ESXMLMEC.js.map} +0 -0
- /package/{web-search-SZP7J4UM.js.map → web-search-QCZNJGMG.js.map} +0 -0
- /package/{whoami-J4FRN67A.js.map → whoami-4NVG5FI7.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
updateOrgModelPoliciesRequestSchema,
|
|
22
22
|
upsertModelProviderRequestSchema,
|
|
23
23
|
upsertModelProviderResponseSchema
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CGLTWZX7.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__esm,
|
|
@@ -9110,9 +9110,80 @@ async function callZeroScrape(body) {
|
|
|
9110
9110
|
handleError(result, "Failed to scrape page");
|
|
9111
9111
|
}
|
|
9112
9112
|
|
|
9113
|
-
// ../../packages/api-contracts/src/contracts/zero-
|
|
9113
|
+
// ../../packages/api-contracts/src/contracts/zero-people-search.ts
|
|
9114
9114
|
init_esm_shims();
|
|
9115
9115
|
var c30 = initContract();
|
|
9116
|
+
var ZERO_PEOPLE_SEARCH_DEFAULT_LIMIT = 5;
|
|
9117
|
+
var ZERO_PEOPLE_SEARCH_MAX_LIMIT = 20;
|
|
9118
|
+
var ZERO_PEOPLE_SEARCH_MAX_QUERY_CHARS = 2048;
|
|
9119
|
+
var ZERO_PEOPLE_SEARCH_MAX_NAME_CHARS = 256;
|
|
9120
|
+
var ZERO_PEOPLE_SEARCH_MAX_TITLE_CHARS = 512;
|
|
9121
|
+
var ZERO_PEOPLE_SEARCH_MAX_COMPANY_CHARS = 256;
|
|
9122
|
+
var ZERO_PEOPLE_SEARCH_MAX_LOCATION_CHARS = 256;
|
|
9123
|
+
var ZERO_PEOPLE_SEARCH_MAX_SUMMARY_CHARS = 1e3;
|
|
9124
|
+
var ZERO_PEOPLE_SEARCH_MAX_SOURCE_TITLE_CHARS = 512;
|
|
9125
|
+
var ZERO_PEOPLE_SEARCH_MAX_SOURCE_URL_CHARS = 2048;
|
|
9126
|
+
var ZERO_PEOPLE_SEARCH_MAX_SOURCES = 5;
|
|
9127
|
+
var zeroPeopleSearchRequestSchema = external_exports.object({
|
|
9128
|
+
query: external_exports.string().trim().min(1).max(ZERO_PEOPLE_SEARCH_MAX_QUERY_CHARS),
|
|
9129
|
+
limit: external_exports.number().int().min(1).max(ZERO_PEOPLE_SEARCH_MAX_LIMIT).default(ZERO_PEOPLE_SEARCH_DEFAULT_LIMIT)
|
|
9130
|
+
});
|
|
9131
|
+
var zeroPeopleSearchHttpUrlSchema = external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_SOURCE_URL_CHARS).url().regex(/^https?:\/\//i, "Source URL must use http or https");
|
|
9132
|
+
var zeroPeopleSearchSourceSchema = external_exports.object({
|
|
9133
|
+
title: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_SOURCE_TITLE_CHARS),
|
|
9134
|
+
url: zeroPeopleSearchHttpUrlSchema
|
|
9135
|
+
});
|
|
9136
|
+
var zeroPeopleSearchProfileSchema = external_exports.object({
|
|
9137
|
+
name: external_exports.string().min(1).max(ZERO_PEOPLE_SEARCH_MAX_NAME_CHARS),
|
|
9138
|
+
title: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_TITLE_CHARS).optional(),
|
|
9139
|
+
company: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_COMPANY_CHARS).optional(),
|
|
9140
|
+
location: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_LOCATION_CHARS).optional(),
|
|
9141
|
+
summary: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_SUMMARY_CHARS).optional(),
|
|
9142
|
+
sources: external_exports.array(zeroPeopleSearchSourceSchema).min(1).max(ZERO_PEOPLE_SEARCH_MAX_SOURCES)
|
|
9143
|
+
});
|
|
9144
|
+
var zeroPeopleSearchResponseSchema = external_exports.object({
|
|
9145
|
+
query: external_exports.string().max(ZERO_PEOPLE_SEARCH_MAX_QUERY_CHARS),
|
|
9146
|
+
limit: external_exports.number().int().min(1).max(ZERO_PEOPLE_SEARCH_MAX_LIMIT),
|
|
9147
|
+
provider: external_exports.literal("perplexity"),
|
|
9148
|
+
billingCategory: external_exports.literal("request"),
|
|
9149
|
+
billingQuantity: external_exports.literal(1),
|
|
9150
|
+
creditsCharged: external_exports.number().int().nonnegative(),
|
|
9151
|
+
profiles: external_exports.array(zeroPeopleSearchProfileSchema).max(ZERO_PEOPLE_SEARCH_MAX_LIMIT)
|
|
9152
|
+
});
|
|
9153
|
+
var zeroPeopleSearchContract = c30.router({
|
|
9154
|
+
search: {
|
|
9155
|
+
method: "POST",
|
|
9156
|
+
path: "/api/zero/people-search",
|
|
9157
|
+
headers: authHeadersSchema,
|
|
9158
|
+
body: zeroPeopleSearchRequestSchema,
|
|
9159
|
+
responses: {
|
|
9160
|
+
200: zeroPeopleSearchResponseSchema,
|
|
9161
|
+
400: apiErrorSchema,
|
|
9162
|
+
401: apiErrorSchema,
|
|
9163
|
+
402: apiErrorSchema,
|
|
9164
|
+
403: apiErrorSchema,
|
|
9165
|
+
502: apiErrorSchema,
|
|
9166
|
+
503: apiErrorSchema
|
|
9167
|
+
},
|
|
9168
|
+
summary: "Find professionals through managed Zero People Search"
|
|
9169
|
+
}
|
|
9170
|
+
});
|
|
9171
|
+
|
|
9172
|
+
// src/lib/api/domains/zero-people-search.ts
|
|
9173
|
+
init_esm_shims();
|
|
9174
|
+
async function callZeroPeopleSearch(body) {
|
|
9175
|
+
const config = await getClientConfig();
|
|
9176
|
+
const client = initClient(zeroPeopleSearchContract, config);
|
|
9177
|
+
const result = await client.search({ headers: {}, body });
|
|
9178
|
+
if (result.status === 200) {
|
|
9179
|
+
return result.body;
|
|
9180
|
+
}
|
|
9181
|
+
handleError(result, "Failed to search for people");
|
|
9182
|
+
}
|
|
9183
|
+
|
|
9184
|
+
// ../../packages/api-contracts/src/contracts/zero-web-search.ts
|
|
9185
|
+
init_esm_shims();
|
|
9186
|
+
var c31 = initContract();
|
|
9116
9187
|
var ZERO_WEB_SEARCH_DEFAULT_LIMIT = 5;
|
|
9117
9188
|
var ZERO_WEB_SEARCH_MAX_LIMIT = 10;
|
|
9118
9189
|
var ZERO_WEB_SEARCH_MAX_QUERY_CHARS = 2048;
|
|
@@ -9179,7 +9250,7 @@ var webSearchResponses = {
|
|
|
9179
9250
|
502: apiErrorSchema,
|
|
9180
9251
|
503: apiErrorSchema
|
|
9181
9252
|
};
|
|
9182
|
-
var zeroWebSearchContract =
|
|
9253
|
+
var zeroWebSearchContract = c31.router({
|
|
9183
9254
|
search: {
|
|
9184
9255
|
method: "POST",
|
|
9185
9256
|
path: "/api/zero/web-search",
|
|
@@ -9204,7 +9275,7 @@ async function callZeroWebSearch(body) {
|
|
|
9204
9275
|
|
|
9205
9276
|
// ../../packages/api-contracts/src/contracts/zero-finance.ts
|
|
9206
9277
|
init_esm_shims();
|
|
9207
|
-
var
|
|
9278
|
+
var c32 = initContract();
|
|
9208
9279
|
var ZERO_FINANCE_DEFAULT_RANGE = "1y";
|
|
9209
9280
|
var ZERO_FINANCE_DEFAULT_INTERVAL = "1d";
|
|
9210
9281
|
var ZERO_FINANCE_MAX_QUERY_CHARS = 512;
|
|
@@ -9271,7 +9342,7 @@ var financeResponses = {
|
|
|
9271
9342
|
502: apiErrorSchema,
|
|
9272
9343
|
503: apiErrorSchema
|
|
9273
9344
|
};
|
|
9274
|
-
var zeroFinanceContract =
|
|
9345
|
+
var zeroFinanceContract = c32.router({
|
|
9275
9346
|
search: {
|
|
9276
9347
|
method: "POST",
|
|
9277
9348
|
path: "/api/zero/finance/search",
|
|
@@ -9465,8 +9536,8 @@ var setVariableRequestSchema = external_exports.object({
|
|
|
9465
9536
|
});
|
|
9466
9537
|
|
|
9467
9538
|
// ../../packages/api-contracts/src/contracts/zero-secrets.ts
|
|
9468
|
-
var
|
|
9469
|
-
var zeroSecretsContract =
|
|
9539
|
+
var c33 = initContract();
|
|
9540
|
+
var zeroSecretsContract = c33.router({
|
|
9470
9541
|
list: {
|
|
9471
9542
|
method: "GET",
|
|
9472
9543
|
path: "/api/zero/secrets",
|
|
@@ -9493,7 +9564,7 @@ var zeroSecretsContract = c32.router({
|
|
|
9493
9564
|
summary: "Create or update a secret"
|
|
9494
9565
|
}
|
|
9495
9566
|
});
|
|
9496
|
-
var zeroSecretsByNameContract =
|
|
9567
|
+
var zeroSecretsByNameContract = c33.router({
|
|
9497
9568
|
delete: {
|
|
9498
9569
|
method: "DELETE",
|
|
9499
9570
|
path: "/api/zero/secrets/:name",
|
|
@@ -9502,7 +9573,7 @@ var zeroSecretsByNameContract = c32.router({
|
|
|
9502
9573
|
name: secretNameSchema
|
|
9503
9574
|
}),
|
|
9504
9575
|
responses: {
|
|
9505
|
-
204:
|
|
9576
|
+
204: c33.noBody(),
|
|
9506
9577
|
401: apiErrorSchema,
|
|
9507
9578
|
404: apiErrorSchema,
|
|
9508
9579
|
500: apiErrorSchema
|
|
@@ -9510,7 +9581,7 @@ var zeroSecretsByNameContract = c32.router({
|
|
|
9510
9581
|
summary: "Delete a secret by name"
|
|
9511
9582
|
}
|
|
9512
9583
|
});
|
|
9513
|
-
var zeroVariablesContract =
|
|
9584
|
+
var zeroVariablesContract = c33.router({
|
|
9514
9585
|
list: {
|
|
9515
9586
|
method: "GET",
|
|
9516
9587
|
path: "/api/zero/variables",
|
|
@@ -9537,7 +9608,7 @@ var zeroVariablesContract = c32.router({
|
|
|
9537
9608
|
summary: "Create or update a variable"
|
|
9538
9609
|
}
|
|
9539
9610
|
});
|
|
9540
|
-
var zeroVariablesByNameContract =
|
|
9611
|
+
var zeroVariablesByNameContract = c33.router({
|
|
9541
9612
|
delete: {
|
|
9542
9613
|
method: "DELETE",
|
|
9543
9614
|
path: "/api/zero/variables/:name",
|
|
@@ -9546,7 +9617,7 @@ var zeroVariablesByNameContract = c32.router({
|
|
|
9546
9617
|
name: variableNameSchema
|
|
9547
9618
|
}),
|
|
9548
9619
|
responses: {
|
|
9549
|
-
204:
|
|
9620
|
+
204: c33.noBody(),
|
|
9550
9621
|
401: apiErrorSchema,
|
|
9551
9622
|
404: apiErrorSchema,
|
|
9552
9623
|
500: apiErrorSchema
|
|
@@ -9687,9 +9758,9 @@ init_esm_shims();
|
|
|
9687
9758
|
|
|
9688
9759
|
// ../../packages/api-contracts/src/contracts/zero-model-providers.ts
|
|
9689
9760
|
init_esm_shims();
|
|
9690
|
-
var
|
|
9761
|
+
var c34 = initContract();
|
|
9691
9762
|
var orgUpsertModelProviderRequestSchema = upsertModelProviderRequestSchema.omit({ selectedModel: true });
|
|
9692
|
-
var zeroModelProvidersMainContract =
|
|
9763
|
+
var zeroModelProvidersMainContract = c34.router({
|
|
9693
9764
|
list: {
|
|
9694
9765
|
method: "GET",
|
|
9695
9766
|
path: "/api/zero/model-providers",
|
|
@@ -9718,7 +9789,7 @@ var zeroModelProvidersMainContract = c33.router({
|
|
|
9718
9789
|
summary: "Create or update an org-level model provider (admin only)"
|
|
9719
9790
|
}
|
|
9720
9791
|
});
|
|
9721
|
-
var zeroModelProvidersByTypeContract =
|
|
9792
|
+
var zeroModelProvidersByTypeContract = c34.router({
|
|
9722
9793
|
delete: {
|
|
9723
9794
|
method: "DELETE",
|
|
9724
9795
|
path: "/api/zero/model-providers/:type",
|
|
@@ -9727,7 +9798,7 @@ var zeroModelProvidersByTypeContract = c33.router({
|
|
|
9727
9798
|
type: modelProviderTypeSchema
|
|
9728
9799
|
}),
|
|
9729
9800
|
responses: {
|
|
9730
|
-
204:
|
|
9801
|
+
204: c34.noBody(),
|
|
9731
9802
|
401: apiErrorSchema,
|
|
9732
9803
|
403: apiErrorSchema,
|
|
9733
9804
|
404: apiErrorSchema,
|
|
@@ -9773,7 +9844,7 @@ init_esm_shims();
|
|
|
9773
9844
|
|
|
9774
9845
|
// ../../packages/api-contracts/src/contracts/zero-workflows.ts
|
|
9775
9846
|
init_esm_shims();
|
|
9776
|
-
var
|
|
9847
|
+
var c35 = initContract();
|
|
9777
9848
|
var zeroWorkflowVisibilitySchema = external_exports.enum(["public", "private"]);
|
|
9778
9849
|
var zeroWorkflowNameSchema = external_exports.string().min(2).max(64).regex(/^[a-z0-9][a-z0-9-]*[a-z0-9]$/);
|
|
9779
9850
|
var RESERVED_SKILL_FILE = "SKILL.md";
|
|
@@ -9821,6 +9892,7 @@ var zeroWorkflowEventTypeSchema = external_exports.enum([
|
|
|
9821
9892
|
"gmail-new-message",
|
|
9822
9893
|
"gmail-label-applied",
|
|
9823
9894
|
"github-label-applied",
|
|
9895
|
+
"github-workflow-run-completed",
|
|
9824
9896
|
"google-calendar-event-created",
|
|
9825
9897
|
"google-calendar-event-updated",
|
|
9826
9898
|
"google-calendar-event-cancelled",
|
|
@@ -9886,6 +9958,34 @@ var githubLabelAppliedEventConfigSchema = external_exports.object({
|
|
|
9886
9958
|
actor: githubLabelAppliedActorFilterSchema.default({ type: "me" })
|
|
9887
9959
|
}).strict().default({ subject: "both", actor: { type: "me" } })
|
|
9888
9960
|
}).strict();
|
|
9961
|
+
var githubWorkflowRunConclusionSchema = external_exports.enum([
|
|
9962
|
+
"action_required",
|
|
9963
|
+
"cancelled",
|
|
9964
|
+
"failure",
|
|
9965
|
+
"neutral",
|
|
9966
|
+
"skipped",
|
|
9967
|
+
"stale",
|
|
9968
|
+
"startup_failure",
|
|
9969
|
+
"success",
|
|
9970
|
+
"timed_out"
|
|
9971
|
+
]);
|
|
9972
|
+
var githubWorkflowRunFilterValuesSchema = external_exports.array(external_exports.string().trim().min(1).max(255)).min(1).max(100);
|
|
9973
|
+
var githubWorkflowRunCompletedEventConfigSchema = external_exports.object({
|
|
9974
|
+
provider: external_exports.literal("github"),
|
|
9975
|
+
event: external_exports.literal("workflow_run_completed"),
|
|
9976
|
+
filters: external_exports.object({
|
|
9977
|
+
repositories: githubWorkflowRunFilterValuesSchema.optional(),
|
|
9978
|
+
workflows: githubWorkflowRunFilterValuesSchema.optional(),
|
|
9979
|
+
conclusions: external_exports.array(githubWorkflowRunConclusionSchema).min(1).max(githubWorkflowRunConclusionSchema.options.length).optional(),
|
|
9980
|
+
branches: githubWorkflowRunFilterValuesSchema.optional(),
|
|
9981
|
+
events: githubWorkflowRunFilterValuesSchema.optional(),
|
|
9982
|
+
actors: githubWorkflowRunFilterValuesSchema.optional()
|
|
9983
|
+
}).strict().default({})
|
|
9984
|
+
}).strict();
|
|
9985
|
+
var githubWorkflowEventConfigSchema = external_exports.discriminatedUnion("event", [
|
|
9986
|
+
githubLabelAppliedEventConfigSchema,
|
|
9987
|
+
githubWorkflowRunCompletedEventConfigSchema
|
|
9988
|
+
]);
|
|
9889
9989
|
var googleCalendarEventCreatedEventConfigSchema = external_exports.object({
|
|
9890
9990
|
provider: external_exports.literal("google-calendar"),
|
|
9891
9991
|
event: external_exports.literal("event_created"),
|
|
@@ -10022,6 +10122,13 @@ var zeroWorkflowGithubLabelAppliedAutomationSummarySchema = zeroWorkflowAutomati
|
|
|
10022
10122
|
schedule: external_exports.null(),
|
|
10023
10123
|
scheduleSummary: external_exports.null()
|
|
10024
10124
|
});
|
|
10125
|
+
var zeroWorkflowGithubWorkflowRunCompletedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10126
|
+
kind: external_exports.literal("event"),
|
|
10127
|
+
eventType: external_exports.literal("github-workflow-run-completed"),
|
|
10128
|
+
eventConfig: githubWorkflowRunCompletedEventConfigSchema,
|
|
10129
|
+
schedule: external_exports.null(),
|
|
10130
|
+
scheduleSummary: external_exports.null()
|
|
10131
|
+
});
|
|
10025
10132
|
var zeroWorkflowGoogleCalendarEventCreatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10026
10133
|
kind: external_exports.literal("event"),
|
|
10027
10134
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
@@ -10089,6 +10196,7 @@ var zeroWorkflowEventAutomationSummarySchema = external_exports.discriminatedUni
|
|
|
10089
10196
|
zeroWorkflowGmailNewMessageAutomationSummarySchema,
|
|
10090
10197
|
zeroWorkflowGmailLabelAppliedAutomationSummarySchema,
|
|
10091
10198
|
zeroWorkflowGithubLabelAppliedAutomationSummarySchema,
|
|
10199
|
+
zeroWorkflowGithubWorkflowRunCompletedAutomationSummarySchema,
|
|
10092
10200
|
zeroWorkflowGoogleCalendarEventCreatedAutomationSummarySchema,
|
|
10093
10201
|
zeroWorkflowGoogleCalendarEventUpdatedAutomationSummarySchema,
|
|
10094
10202
|
zeroWorkflowGoogleCalendarEventCancelledAutomationSummarySchema,
|
|
@@ -10141,6 +10249,13 @@ var chatThreadWorkflowGithubLabelAppliedAutomationSchema = chatThreadWorkflowAut
|
|
|
10141
10249
|
schedule: external_exports.null(),
|
|
10142
10250
|
scheduleSummary: external_exports.null()
|
|
10143
10251
|
});
|
|
10252
|
+
var chatThreadWorkflowGithubWorkflowRunCompletedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10253
|
+
kind: external_exports.literal("event"),
|
|
10254
|
+
eventType: external_exports.literal("github-workflow-run-completed"),
|
|
10255
|
+
eventConfig: githubWorkflowRunCompletedEventConfigSchema,
|
|
10256
|
+
schedule: external_exports.null(),
|
|
10257
|
+
scheduleSummary: external_exports.null()
|
|
10258
|
+
});
|
|
10144
10259
|
var chatThreadWorkflowGoogleCalendarEventCreatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10145
10260
|
kind: external_exports.literal("event"),
|
|
10146
10261
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
@@ -10200,6 +10315,7 @@ var chatThreadWorkflowAutomationSchema = external_exports.union([
|
|
|
10200
10315
|
chatThreadWorkflowGmailNewMessageAutomationSchema,
|
|
10201
10316
|
chatThreadWorkflowGmailLabelAppliedAutomationSchema,
|
|
10202
10317
|
chatThreadWorkflowGithubLabelAppliedAutomationSchema,
|
|
10318
|
+
chatThreadWorkflowGithubWorkflowRunCompletedAutomationSchema,
|
|
10203
10319
|
chatThreadWorkflowGoogleCalendarEventCreatedAutomationSchema,
|
|
10204
10320
|
chatThreadWorkflowGoogleCalendarEventUpdatedAutomationSchema,
|
|
10205
10321
|
chatThreadWorkflowGoogleCalendarEventCancelledAutomationSchema,
|
|
@@ -10232,6 +10348,12 @@ var zeroWorkflowGithubLabelAppliedAutomationCreateRequestSchema = external_expor
|
|
|
10232
10348
|
eventConfig: githubLabelAppliedEventConfigSchema,
|
|
10233
10349
|
enabled: external_exports.boolean().optional()
|
|
10234
10350
|
});
|
|
10351
|
+
var zeroWorkflowGithubWorkflowRunCompletedAutomationCreateRequestSchema = external_exports.object({
|
|
10352
|
+
kind: external_exports.literal("event"),
|
|
10353
|
+
eventType: external_exports.literal("github-workflow-run-completed"),
|
|
10354
|
+
eventConfig: githubWorkflowRunCompletedEventConfigSchema,
|
|
10355
|
+
enabled: external_exports.boolean().optional()
|
|
10356
|
+
});
|
|
10235
10357
|
var zeroWorkflowGoogleCalendarEventCreatedAutomationCreateRequestSchema = external_exports.object({
|
|
10236
10358
|
kind: external_exports.literal("event"),
|
|
10237
10359
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
@@ -10301,6 +10423,7 @@ var zeroWorkflowAutomationCreateRequestSchema = external_exports.union([
|
|
|
10301
10423
|
zeroWorkflowGmailNewMessageAutomationCreateRequestSchema,
|
|
10302
10424
|
zeroWorkflowGmailLabelAppliedAutomationCreateRequestSchema,
|
|
10303
10425
|
zeroWorkflowGithubLabelAppliedAutomationCreateRequestSchema,
|
|
10426
|
+
zeroWorkflowGithubWorkflowRunCompletedAutomationCreateRequestSchema,
|
|
10304
10427
|
zeroWorkflowGoogleCalendarEventCreatedAutomationCreateRequestSchema,
|
|
10305
10428
|
zeroWorkflowGoogleCalendarEventUpdatedAutomationCreateRequestSchema,
|
|
10306
10429
|
zeroWorkflowGoogleCalendarEventCancelledAutomationCreateRequestSchema,
|
|
@@ -10317,7 +10440,7 @@ var zeroWorkflowGmailEventAutomationUpdateRequestSchema = external_exports.objec
|
|
|
10317
10440
|
eventConfig: gmailWorkflowEventConfigSchema
|
|
10318
10441
|
});
|
|
10319
10442
|
var zeroWorkflowGithubEventAutomationUpdateRequestSchema = external_exports.object({
|
|
10320
|
-
eventConfig:
|
|
10443
|
+
eventConfig: githubWorkflowEventConfigSchema
|
|
10321
10444
|
});
|
|
10322
10445
|
var zeroWorkflowAutomationUpdateRequestSchema = external_exports.union([
|
|
10323
10446
|
zeroWorkflowScheduleAutomationUpdateRequestSchema,
|
|
@@ -10416,7 +10539,7 @@ var zeroWorkflowConnectorReadinessResponseSchema = external_exports.object({
|
|
|
10416
10539
|
connectors: external_exports.array(zeroWorkflowConnectorReadinessEntrySchema)
|
|
10417
10540
|
}).strict();
|
|
10418
10541
|
var workflowIdParams = external_exports.object({ workflowId: external_exports.string().uuid() });
|
|
10419
|
-
var zeroWorkflowsCollectionContract =
|
|
10542
|
+
var zeroWorkflowsCollectionContract = c35.router({
|
|
10420
10543
|
list: {
|
|
10421
10544
|
method: "GET",
|
|
10422
10545
|
path: "/api/zero/workflows",
|
|
@@ -10445,7 +10568,7 @@ var zeroWorkflowsCollectionContract = c34.router({
|
|
|
10445
10568
|
summary: "Create a workflow under an agent"
|
|
10446
10569
|
}
|
|
10447
10570
|
});
|
|
10448
|
-
var zeroWorkflowsDetailContract =
|
|
10571
|
+
var zeroWorkflowsDetailContract = c35.router({
|
|
10449
10572
|
get: {
|
|
10450
10573
|
method: "GET",
|
|
10451
10574
|
path: "/api/zero/workflows/:workflowId",
|
|
@@ -10480,9 +10603,9 @@ var zeroWorkflowsDetailContract = c34.router({
|
|
|
10480
10603
|
path: "/api/zero/workflows/:workflowId",
|
|
10481
10604
|
headers: authHeadersSchema,
|
|
10482
10605
|
pathParams: workflowIdParams,
|
|
10483
|
-
body:
|
|
10606
|
+
body: c35.noBody(),
|
|
10484
10607
|
responses: {
|
|
10485
|
-
204:
|
|
10608
|
+
204: c35.noBody(),
|
|
10486
10609
|
401: apiErrorSchema,
|
|
10487
10610
|
403: apiErrorSchema,
|
|
10488
10611
|
404: apiErrorSchema
|
|
@@ -10510,7 +10633,7 @@ var zeroWorkflowsDetailContract = c34.router({
|
|
|
10510
10633
|
path: "/api/zero/workflows/:workflowId/chat-thread",
|
|
10511
10634
|
headers: authHeadersSchema,
|
|
10512
10635
|
pathParams: workflowIdParams,
|
|
10513
|
-
body:
|
|
10636
|
+
body: c35.noBody(),
|
|
10514
10637
|
responses: {
|
|
10515
10638
|
200: zeroWorkflowChatThreadResponseSchema,
|
|
10516
10639
|
401: apiErrorSchema,
|
|
@@ -10524,7 +10647,7 @@ var zeroWorkflowsDetailContract = c34.router({
|
|
|
10524
10647
|
path: "/api/zero/workflows/:workflowId/run",
|
|
10525
10648
|
headers: authHeadersSchema,
|
|
10526
10649
|
pathParams: workflowIdParams,
|
|
10527
|
-
body:
|
|
10650
|
+
body: c35.noBody(),
|
|
10528
10651
|
responses: {
|
|
10529
10652
|
200: zeroWorkflowRunResponseSchema,
|
|
10530
10653
|
400: apiErrorSchema,
|
|
@@ -10541,7 +10664,7 @@ var zeroWorkflowsDetailContract = c34.router({
|
|
|
10541
10664
|
path: "/api/zero/workflows/:workflowId/connector-readiness",
|
|
10542
10665
|
headers: authHeadersSchema,
|
|
10543
10666
|
pathParams: workflowIdParams,
|
|
10544
|
-
body:
|
|
10667
|
+
body: c35.noBody(),
|
|
10545
10668
|
responses: {
|
|
10546
10669
|
200: zeroWorkflowConnectorReadinessResponseSchema,
|
|
10547
10670
|
400: apiErrorSchema,
|
|
@@ -10554,13 +10677,13 @@ var zeroWorkflowsDetailContract = c34.router({
|
|
|
10554
10677
|
summary: "Detect the built-in connectors a workflow may need and report their readiness"
|
|
10555
10678
|
}
|
|
10556
10679
|
});
|
|
10557
|
-
var zeroWorkflowVisibilityContract =
|
|
10680
|
+
var zeroWorkflowVisibilityContract = c35.router({
|
|
10558
10681
|
publish: {
|
|
10559
10682
|
method: "POST",
|
|
10560
10683
|
path: "/api/zero/workflows/:workflowId/publish",
|
|
10561
10684
|
headers: authHeadersSchema,
|
|
10562
10685
|
pathParams: workflowIdParams,
|
|
10563
|
-
body:
|
|
10686
|
+
body: c35.noBody(),
|
|
10564
10687
|
responses: {
|
|
10565
10688
|
200: zeroWorkflowSummarySchema,
|
|
10566
10689
|
400: apiErrorSchema,
|
|
@@ -10576,7 +10699,7 @@ var zeroWorkflowVisibilityContract = c34.router({
|
|
|
10576
10699
|
path: "/api/zero/workflows/:workflowId/demote",
|
|
10577
10700
|
headers: authHeadersSchema,
|
|
10578
10701
|
pathParams: workflowIdParams,
|
|
10579
|
-
body:
|
|
10702
|
+
body: c35.noBody(),
|
|
10580
10703
|
responses: {
|
|
10581
10704
|
200: zeroWorkflowSummarySchema,
|
|
10582
10705
|
400: apiErrorSchema,
|
|
@@ -10594,7 +10717,7 @@ var zeroWorkflowWebhookSecretResponseSchema = external_exports.object({
|
|
|
10594
10717
|
webhookUrl: external_exports.url(),
|
|
10595
10718
|
webhookSecret: external_exports.string().min(1)
|
|
10596
10719
|
});
|
|
10597
|
-
var zeroWorkflowAutomationsContract =
|
|
10720
|
+
var zeroWorkflowAutomationsContract = c35.router({
|
|
10598
10721
|
listWorkspace: {
|
|
10599
10722
|
method: "GET",
|
|
10600
10723
|
path: "/api/zero/workflow-automations",
|
|
@@ -10683,9 +10806,9 @@ var zeroWorkflowAutomationsContract = c34.router({
|
|
|
10683
10806
|
path: "/api/zero/workflow-automations/:id",
|
|
10684
10807
|
headers: authHeadersSchema,
|
|
10685
10808
|
pathParams: automationIdParams,
|
|
10686
|
-
body:
|
|
10809
|
+
body: c35.noBody(),
|
|
10687
10810
|
responses: {
|
|
10688
|
-
204:
|
|
10811
|
+
204: c35.noBody(),
|
|
10689
10812
|
401: apiErrorSchema,
|
|
10690
10813
|
403: apiErrorSchema,
|
|
10691
10814
|
404: apiErrorSchema
|
|
@@ -10697,7 +10820,7 @@ var zeroWorkflowAutomationsContract = c34.router({
|
|
|
10697
10820
|
path: "/api/zero/workflow-automations/:id/enable",
|
|
10698
10821
|
headers: authHeadersSchema,
|
|
10699
10822
|
pathParams: automationIdParams,
|
|
10700
|
-
body:
|
|
10823
|
+
body: c35.noBody(),
|
|
10701
10824
|
responses: {
|
|
10702
10825
|
200: zeroWorkflowAutomationSummarySchema,
|
|
10703
10826
|
400: apiErrorSchema,
|
|
@@ -10714,7 +10837,7 @@ var zeroWorkflowAutomationsContract = c34.router({
|
|
|
10714
10837
|
path: "/api/zero/workflow-automations/:id/disable",
|
|
10715
10838
|
headers: authHeadersSchema,
|
|
10716
10839
|
pathParams: automationIdParams,
|
|
10717
|
-
body:
|
|
10840
|
+
body: c35.noBody(),
|
|
10718
10841
|
responses: {
|
|
10719
10842
|
200: zeroWorkflowAutomationSummarySchema,
|
|
10720
10843
|
401: apiErrorSchema,
|
|
@@ -10728,7 +10851,7 @@ var zeroWorkflowAutomationsContract = c34.router({
|
|
|
10728
10851
|
path: "/api/zero/workflow-automations/:id/run",
|
|
10729
10852
|
headers: authHeadersSchema,
|
|
10730
10853
|
pathParams: automationIdParams,
|
|
10731
|
-
body:
|
|
10854
|
+
body: c35.noBody(),
|
|
10732
10855
|
responses: {
|
|
10733
10856
|
201: zeroWorkflowRunResponseSchema,
|
|
10734
10857
|
400: apiErrorSchema,
|
|
@@ -10744,7 +10867,7 @@ var zeroWorkflowAutomationsContract = c34.router({
|
|
|
10744
10867
|
path: "/api/zero/workflow-automations/:id/webhook-secret",
|
|
10745
10868
|
headers: authHeadersSchema,
|
|
10746
10869
|
pathParams: automationIdParams,
|
|
10747
|
-
body:
|
|
10870
|
+
body: c35.noBody(),
|
|
10748
10871
|
responses: {
|
|
10749
10872
|
200: zeroWorkflowWebhookSecretResponseSchema,
|
|
10750
10873
|
401: apiErrorSchema,
|
|
@@ -10859,7 +10982,7 @@ init_esm_shims();
|
|
|
10859
10982
|
|
|
10860
10983
|
// ../../packages/api-contracts/src/contracts/zero-mail.ts
|
|
10861
10984
|
init_esm_shims();
|
|
10862
|
-
var
|
|
10985
|
+
var c36 = initContract();
|
|
10863
10986
|
var zeroMailProviderSchema = external_exports.enum(["gmail", "outlook"]);
|
|
10864
10987
|
var zeroMailDraftStatusSchema = external_exports.enum(["draft", "sent", "deleted"]);
|
|
10865
10988
|
var zeroMailAttachmentSchema = external_exports.object({
|
|
@@ -10905,7 +11028,7 @@ var zeroMailLinkResponseSchema = zeroMailDraftResponseSchema.pick({
|
|
|
10905
11028
|
var zeroMailDraftPathParamsSchema = external_exports.object({
|
|
10906
11029
|
mailDraftId: external_exports.string().uuid()
|
|
10907
11030
|
});
|
|
10908
|
-
var zeroMailContract =
|
|
11031
|
+
var zeroMailContract = c36.router({
|
|
10909
11032
|
linkDraft: {
|
|
10910
11033
|
method: "POST",
|
|
10911
11034
|
path: "/api/zero/mail/drafts/link",
|
|
@@ -10943,9 +11066,9 @@ var zeroMailContract = c35.router({
|
|
|
10943
11066
|
path: "/api/zero/mail/drafts/:mailDraftId",
|
|
10944
11067
|
headers: authHeadersSchema,
|
|
10945
11068
|
pathParams: zeroMailDraftPathParamsSchema,
|
|
10946
|
-
body:
|
|
11069
|
+
body: c36.noBody(),
|
|
10947
11070
|
responses: {
|
|
10948
|
-
204:
|
|
11071
|
+
204: c36.noBody(),
|
|
10949
11072
|
401: apiErrorSchema,
|
|
10950
11073
|
403: apiErrorSchema,
|
|
10951
11074
|
404: apiErrorSchema,
|
|
@@ -10958,7 +11081,7 @@ var zeroMailContract = c35.router({
|
|
|
10958
11081
|
path: "/api/zero/mail/drafts/:mailDraftId/send",
|
|
10959
11082
|
headers: authHeadersSchema,
|
|
10960
11083
|
pathParams: zeroMailDraftPathParamsSchema,
|
|
10961
|
-
body:
|
|
11084
|
+
body: c36.noBody(),
|
|
10962
11085
|
responses: {
|
|
10963
11086
|
200: zeroMailDraftResponseSchema,
|
|
10964
11087
|
400: apiErrorSchema,
|
|
@@ -10996,7 +11119,7 @@ import { pipeline } from "stream/promises";
|
|
|
10996
11119
|
|
|
10997
11120
|
// ../../packages/api-contracts/src/contracts/integrations.ts
|
|
10998
11121
|
init_esm_shims();
|
|
10999
|
-
var
|
|
11122
|
+
var c37 = initContract();
|
|
11000
11123
|
var sendSlackMessageBodySchema = external_exports.object({
|
|
11001
11124
|
channel: external_exports.string().min(1, "Channel ID is required").optional(),
|
|
11002
11125
|
user: external_exports.string().min(1, "User ID is required").optional(),
|
|
@@ -11014,7 +11137,7 @@ var sendSlackMessageResponseSchema = external_exports.object({
|
|
|
11014
11137
|
ts: external_exports.string().optional(),
|
|
11015
11138
|
channel: external_exports.string().optional()
|
|
11016
11139
|
});
|
|
11017
|
-
var integrationsSlackMessageContract =
|
|
11140
|
+
var integrationsSlackMessageContract = c37.router({
|
|
11018
11141
|
sendMessage: {
|
|
11019
11142
|
method: "POST",
|
|
11020
11143
|
path: "/api/zero/integrations/slack/message",
|
|
@@ -11069,7 +11192,7 @@ var sendFeishuMessageResponseSchema = external_exports.object({
|
|
|
11069
11192
|
messageId: external_exports.string(),
|
|
11070
11193
|
chatId: external_exports.string().nullable()
|
|
11071
11194
|
});
|
|
11072
|
-
var integrationsFeishuMessageContract =
|
|
11195
|
+
var integrationsFeishuMessageContract = c37.router({
|
|
11073
11196
|
sendMessage: {
|
|
11074
11197
|
method: "POST",
|
|
11075
11198
|
path: "/api/zero/integrations/feishu/message",
|
|
@@ -11098,7 +11221,7 @@ var sendTelegramMessageResponseSchema = external_exports.object({
|
|
|
11098
11221
|
messageId: external_exports.number().int(),
|
|
11099
11222
|
chatId: external_exports.string()
|
|
11100
11223
|
});
|
|
11101
|
-
var integrationsTelegramMessageContract =
|
|
11224
|
+
var integrationsTelegramMessageContract = c37.router({
|
|
11102
11225
|
sendMessage: {
|
|
11103
11226
|
method: "POST",
|
|
11104
11227
|
path: "/api/zero/integrations/telegram/message",
|
|
@@ -11157,7 +11280,7 @@ var sendTeamsMessageResponseSchema = external_exports.object({
|
|
|
11157
11280
|
activityId: external_exports.string().optional(),
|
|
11158
11281
|
conversationId: external_exports.string()
|
|
11159
11282
|
});
|
|
11160
|
-
var integrationsTeamsMessageContract =
|
|
11283
|
+
var integrationsTeamsMessageContract = c37.router({
|
|
11161
11284
|
sendMessage: {
|
|
11162
11285
|
method: "POST",
|
|
11163
11286
|
path: "/api/zero/integrations/teams/message",
|
|
@@ -11185,7 +11308,7 @@ var sendPhoneMessageResponseSchema = external_exports.object({
|
|
|
11185
11308
|
channel: external_exports.string().nullable(),
|
|
11186
11309
|
toNumber: external_exports.string()
|
|
11187
11310
|
});
|
|
11188
|
-
var integrationsPhoneMessageContract =
|
|
11311
|
+
var integrationsPhoneMessageContract = c37.router({
|
|
11189
11312
|
sendMessage: {
|
|
11190
11313
|
method: "POST",
|
|
11191
11314
|
path: "/api/zero/integrations/phone/message",
|
|
@@ -11205,14 +11328,14 @@ var integrationsPhoneMessageContract = c36.router({
|
|
|
11205
11328
|
var phoneDownloadFileQuerySchema = external_exports.object({
|
|
11206
11329
|
file_id: external_exports.string().min(1, "file_id query parameter is required")
|
|
11207
11330
|
});
|
|
11208
|
-
var integrationsPhoneDownloadFileContract =
|
|
11331
|
+
var integrationsPhoneDownloadFileContract = c37.router({
|
|
11209
11332
|
download: {
|
|
11210
11333
|
method: "GET",
|
|
11211
11334
|
path: "/api/zero/integrations/phone/download-file",
|
|
11212
11335
|
headers: authHeadersSchema,
|
|
11213
11336
|
query: phoneDownloadFileQuerySchema,
|
|
11214
11337
|
responses: {
|
|
11215
|
-
200:
|
|
11338
|
+
200: c37.type(),
|
|
11216
11339
|
400: apiErrorSchema,
|
|
11217
11340
|
401: apiErrorSchema,
|
|
11218
11341
|
403: apiErrorSchema,
|
|
@@ -11247,7 +11370,7 @@ var telegramBotListItemSchema = external_exports.object({
|
|
|
11247
11370
|
var listTelegramBotsResponseSchema = external_exports.object({
|
|
11248
11371
|
bots: external_exports.array(telegramBotListItemSchema)
|
|
11249
11372
|
});
|
|
11250
|
-
var integrationsTelegramBotListContract =
|
|
11373
|
+
var integrationsTelegramBotListContract = c37.router({
|
|
11251
11374
|
listBots: {
|
|
11252
11375
|
method: "GET",
|
|
11253
11376
|
path: "/api/zero/integrations/telegram/bots",
|
|
@@ -11268,7 +11391,7 @@ var slackUploadInitResponseSchema = external_exports.object({
|
|
|
11268
11391
|
uploadUrl: external_exports.string(),
|
|
11269
11392
|
fileId: external_exports.string()
|
|
11270
11393
|
});
|
|
11271
|
-
var integrationsSlackUploadInitContract =
|
|
11394
|
+
var integrationsSlackUploadInitContract = c37.router({
|
|
11272
11395
|
init: {
|
|
11273
11396
|
method: "POST",
|
|
11274
11397
|
path: "/api/zero/integrations/slack/upload-file/init",
|
|
@@ -11297,7 +11420,7 @@ var telegramUploadInitResponseSchema = external_exports.object({
|
|
|
11297
11420
|
contentType: external_exports.string(),
|
|
11298
11421
|
size: external_exports.number().int().nonnegative()
|
|
11299
11422
|
});
|
|
11300
|
-
var integrationsTelegramUploadInitContract =
|
|
11423
|
+
var integrationsTelegramUploadInitContract = c37.router({
|
|
11301
11424
|
init: {
|
|
11302
11425
|
method: "POST",
|
|
11303
11426
|
path: "/api/zero/integrations/telegram/upload-file/init",
|
|
@@ -11325,7 +11448,7 @@ var teamsUploadInitResponseSchema = external_exports.object({
|
|
|
11325
11448
|
contentType: external_exports.string(),
|
|
11326
11449
|
size: external_exports.number().int().nonnegative()
|
|
11327
11450
|
});
|
|
11328
|
-
var integrationsTeamsUploadInitContract =
|
|
11451
|
+
var integrationsTeamsUploadInitContract = c37.router({
|
|
11329
11452
|
init: {
|
|
11330
11453
|
method: "POST",
|
|
11331
11454
|
path: "/api/zero/integrations/teams/upload-file/init",
|
|
@@ -11357,7 +11480,7 @@ var telegramUploadCompleteResponseSchema = external_exports.object({
|
|
|
11357
11480
|
size: external_exports.number().int().nonnegative(),
|
|
11358
11481
|
url: external_exports.string()
|
|
11359
11482
|
});
|
|
11360
|
-
var integrationsTelegramUploadCompleteContract =
|
|
11483
|
+
var integrationsTelegramUploadCompleteContract = c37.router({
|
|
11361
11484
|
complete: {
|
|
11362
11485
|
method: "POST",
|
|
11363
11486
|
path: "/api/zero/integrations/telegram/upload-file/complete",
|
|
@@ -11389,7 +11512,7 @@ var teamsUploadCompleteResponseSchema = external_exports.object({
|
|
|
11389
11512
|
size: external_exports.number().int().nonnegative(),
|
|
11390
11513
|
url: external_exports.string()
|
|
11391
11514
|
});
|
|
11392
|
-
var integrationsTeamsUploadCompleteContract =
|
|
11515
|
+
var integrationsTeamsUploadCompleteContract = c37.router({
|
|
11393
11516
|
complete: {
|
|
11394
11517
|
method: "POST",
|
|
11395
11518
|
path: "/api/zero/integrations/teams/upload-file/complete",
|
|
@@ -11419,7 +11542,7 @@ var githubUploadInitResponseSchema = external_exports.object({
|
|
|
11419
11542
|
contentType: external_exports.string(),
|
|
11420
11543
|
size: external_exports.number().int().nonnegative()
|
|
11421
11544
|
});
|
|
11422
|
-
var integrationsGithubUploadInitContract =
|
|
11545
|
+
var integrationsGithubUploadInitContract = c37.router({
|
|
11423
11546
|
init: {
|
|
11424
11547
|
method: "POST",
|
|
11425
11548
|
path: "/api/zero/integrations/github/upload-file/init",
|
|
@@ -11453,7 +11576,7 @@ var githubUploadCompleteResponseSchema = external_exports.object({
|
|
|
11453
11576
|
size: external_exports.number().int().nonnegative(),
|
|
11454
11577
|
url: external_exports.string()
|
|
11455
11578
|
});
|
|
11456
|
-
var integrationsGithubUploadCompleteContract =
|
|
11579
|
+
var integrationsGithubUploadCompleteContract = c37.router({
|
|
11457
11580
|
complete: {
|
|
11458
11581
|
method: "POST",
|
|
11459
11582
|
path: "/api/zero/integrations/github/upload-file/complete",
|
|
@@ -11484,7 +11607,7 @@ var phoneUploadInitResponseSchema = external_exports.object({
|
|
|
11484
11607
|
contentType: external_exports.string(),
|
|
11485
11608
|
size: external_exports.number().int().nonnegative()
|
|
11486
11609
|
});
|
|
11487
|
-
var integrationsPhoneUploadInitContract =
|
|
11610
|
+
var integrationsPhoneUploadInitContract = c37.router({
|
|
11488
11611
|
init: {
|
|
11489
11612
|
method: "POST",
|
|
11490
11613
|
path: "/api/zero/integrations/phone/upload-file/init",
|
|
@@ -11515,7 +11638,7 @@ var phoneUploadCompleteResponseSchema = external_exports.object({
|
|
|
11515
11638
|
size: external_exports.number().int().nonnegative(),
|
|
11516
11639
|
url: external_exports.string()
|
|
11517
11640
|
});
|
|
11518
|
-
var integrationsPhoneUploadCompleteContract =
|
|
11641
|
+
var integrationsPhoneUploadCompleteContract = c37.router({
|
|
11519
11642
|
complete: {
|
|
11520
11643
|
method: "POST",
|
|
11521
11644
|
path: "/api/zero/integrations/phone/upload-file/complete",
|
|
@@ -11543,7 +11666,7 @@ var slackUploadCompleteResponseSchema = external_exports.object({
|
|
|
11543
11666
|
fileId: external_exports.string(),
|
|
11544
11667
|
permalink: external_exports.string()
|
|
11545
11668
|
});
|
|
11546
|
-
var integrationsSlackUploadCompleteContract =
|
|
11669
|
+
var integrationsSlackUploadCompleteContract = c37.router({
|
|
11547
11670
|
complete: {
|
|
11548
11671
|
method: "POST",
|
|
11549
11672
|
path: "/api/zero/integrations/slack/upload-file/complete",
|
|
@@ -12242,6 +12365,10 @@ export {
|
|
|
12242
12365
|
zeroScrapeFormatSchema,
|
|
12243
12366
|
zeroScrapeModeSchema,
|
|
12244
12367
|
callZeroScrape,
|
|
12368
|
+
ZERO_PEOPLE_SEARCH_DEFAULT_LIMIT,
|
|
12369
|
+
ZERO_PEOPLE_SEARCH_MAX_LIMIT,
|
|
12370
|
+
zeroPeopleSearchRequestSchema,
|
|
12371
|
+
callZeroPeopleSearch,
|
|
12245
12372
|
ZERO_WEB_SEARCH_DEFAULT_LIMIT,
|
|
12246
12373
|
ZERO_WEB_SEARCH_MAX_LIMIT,
|
|
12247
12374
|
ZERO_WEB_SEARCH_MAX_DOMAINS,
|
|
@@ -12267,4 +12394,4 @@ export {
|
|
|
12267
12394
|
getHostedSiteFiles,
|
|
12268
12395
|
getHostedSiteDeployments
|
|
12269
12396
|
};
|
|
12270
|
-
//# sourceMappingURL=chunk-
|
|
12397
|
+
//# sourceMappingURL=chunk-ZSP7ISNV.js.map
|