bamboo-agents 0.1.13-dev.124.64852f9 → 0.1.13
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/VERSION +1 -1
- package/dist/index.js +3 -10
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.13
|
|
1
|
+
0.1.13
|
package/dist/index.js
CHANGED
|
@@ -3037,7 +3037,7 @@ var VERSION;
|
|
|
3037
3037
|
var init_version = __esm({
|
|
3038
3038
|
"src/version.ts"() {
|
|
3039
3039
|
"use strict";
|
|
3040
|
-
VERSION = "0.1.13
|
|
3040
|
+
VERSION = "0.1.13";
|
|
3041
3041
|
}
|
|
3042
3042
|
});
|
|
3043
3043
|
|
|
@@ -14246,7 +14246,6 @@ var init_inbox_management = __esm({
|
|
|
14246
14246
|
}))
|
|
14247
14247
|
});
|
|
14248
14248
|
InboxMembersResponseSchema = external_exports.object({
|
|
14249
|
-
meta: EvalManagementScopeSchema,
|
|
14250
14249
|
scope: external_exports.object({
|
|
14251
14250
|
org_id: external_exports.string().uuid(),
|
|
14252
14251
|
org_name: external_exports.string().min(1),
|
|
@@ -14700,7 +14699,7 @@ var init_inbox_management = __esm({
|
|
|
14700
14699
|
customer_wording: external_exports.object({
|
|
14701
14700
|
title: external_exports.string(),
|
|
14702
14701
|
questions: external_exports.array(external_exports.string())
|
|
14703
|
-
})
|
|
14702
|
+
})
|
|
14704
14703
|
}).passthrough();
|
|
14705
14704
|
OpportunityUnknownReceiptSchema = external_exports.object({
|
|
14706
14705
|
state: external_exports.literal("unknown"),
|
|
@@ -15494,16 +15493,11 @@ async function listInboxMembers(session, orgId) {
|
|
|
15494
15493
|
});
|
|
15495
15494
|
if (!res.ok) throw await parseError(res);
|
|
15496
15495
|
const json = await res.json();
|
|
15497
|
-
let result;
|
|
15498
15496
|
try {
|
|
15499
|
-
|
|
15497
|
+
return InboxMembersResponseSchema.parse(json.data);
|
|
15500
15498
|
} catch {
|
|
15501
15499
|
throw new ApiError("The Inbox member list response was malformed.", 502, "malformed_response");
|
|
15502
15500
|
}
|
|
15503
|
-
if (result.meta.requested_org_id !== orgId || result.meta.effective_org_id !== orgId) {
|
|
15504
|
-
throw new ApiError("The Inbox member list was returned for a different organization.", 502, "organization_scope_mismatch");
|
|
15505
|
-
}
|
|
15506
|
-
return result;
|
|
15507
15501
|
}
|
|
15508
15502
|
async function getCliOrganizationScope(session, orgId) {
|
|
15509
15503
|
const res = await cliApiFetch(`${apiBase()}/api/v1/cli/org-scope`, {
|
|
@@ -20876,7 +20870,6 @@ async function runInboxMembers(options) {
|
|
|
20876
20870
|
for (const member of matches)
|
|
20877
20871
|
human(` ${member.display_name} (${member.email ?? "no email"}) \u2014 ${member.user_id} [${member.membership_role}]`, options);
|
|
20878
20872
|
emitSuccess({
|
|
20879
|
-
meta: result.meta,
|
|
20880
20873
|
scope: result.scope,
|
|
20881
20874
|
members: matches,
|
|
20882
20875
|
count: matches.length,
|