@gravity-rail/cli 0.57.1 → 1.0.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/dist/{account-verify-phone-T7N53V35.js → account-verify-phone-EVQMBXZZ.js} +3 -3
- package/dist/{chunk-HNR2SIJP.js → chunk-3Y4XPU3N.js} +2 -2
- package/dist/{chunk-462YYQU5.js → chunk-TU6PCZD4.js} +2 -2
- package/dist/chunk-TU6PCZD4.js.map +1 -0
- package/dist/cli-utils.js +1 -1
- package/dist/gr.js +53 -220
- package/dist/gr.js.map +1 -1
- package/dist/lib.js +51 -172
- package/dist/lib.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-462YYQU5.js.map +0 -1
- /package/dist/{account-verify-phone-T7N53V35.js.map → account-verify-phone-EVQMBXZZ.js.map} +0 -0
- /package/dist/{chunk-HNR2SIJP.js.map → chunk-3Y4XPU3N.js.map} +0 -0
package/dist/lib.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
startAccountPhoneVerify,
|
|
34
34
|
stderr,
|
|
35
35
|
unwrapItems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3Y4XPU3N.js";
|
|
37
37
|
import {
|
|
38
38
|
AGUIClient,
|
|
39
39
|
formatTimestamp,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
isRecord,
|
|
43
43
|
performOAuthFlow,
|
|
44
44
|
selectFromList
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-TU6PCZD4.js";
|
|
46
46
|
import {
|
|
47
47
|
AuthRequiredError,
|
|
48
48
|
CLIError,
|
|
@@ -2077,7 +2077,7 @@ var chatsDomain = {
|
|
|
2077
2077
|
handler: async ({ ctx, workspace, args }) => {
|
|
2078
2078
|
const chatId = requireNumber(args, "id");
|
|
2079
2079
|
const authed = requireAuth(ctx);
|
|
2080
|
-
const
|
|
2080
|
+
const truncate = (content) => {
|
|
2081
2081
|
const text = typeof content === "string" ? content : JSON.stringify(content);
|
|
2082
2082
|
return text.slice(0, 200);
|
|
2083
2083
|
};
|
|
@@ -2099,7 +2099,7 @@ var chatsDomain = {
|
|
|
2099
2099
|
messages: messages2.map((m) => ({
|
|
2100
2100
|
id: m.id,
|
|
2101
2101
|
role: m.role,
|
|
2102
|
-
content:
|
|
2102
|
+
content: truncate(m.content)
|
|
2103
2103
|
}))
|
|
2104
2104
|
},
|
|
2105
2105
|
ctx
|
|
@@ -14165,128 +14165,8 @@ var toolkitsDomain = {
|
|
|
14165
14165
|
]
|
|
14166
14166
|
};
|
|
14167
14167
|
|
|
14168
|
-
// src/domains/member-memories.ts
|
|
14169
|
-
var COLUMNS22 = [
|
|
14170
|
-
{ header: "KEY", getValue: (item) => item.key ?? "" },
|
|
14171
|
-
{ header: "TYPE", getValue: (item) => item.type ?? "basic" },
|
|
14172
|
-
{ header: "DESCRIPTION", getValue: (item) => truncate(item.description ?? "", 60) },
|
|
14173
|
-
{ header: "PRIORITY", getValue: (item) => item.priority ?? 0 },
|
|
14174
|
-
{ header: "UPDATED", getValue: (item) => item.updatedAt ?? item.createdAt ?? "" }
|
|
14175
|
-
];
|
|
14176
|
-
function truncate(s, max) {
|
|
14177
|
-
return s.length > max ? s.slice(0, max - 1) + "\u2026" : s;
|
|
14178
|
-
}
|
|
14179
|
-
var memberMemoriesDomain = {
|
|
14180
|
-
name: "member-memories",
|
|
14181
|
-
description: "Manage member persistent memories",
|
|
14182
|
-
commands: [
|
|
14183
|
-
{
|
|
14184
|
-
path: ["member-memories", "list"],
|
|
14185
|
-
description: "List memories for a member",
|
|
14186
|
-
requiresWorkspace: true,
|
|
14187
|
-
args: [
|
|
14188
|
-
{ name: "member-id", description: "Member ID", required: true },
|
|
14189
|
-
{
|
|
14190
|
-
name: "type",
|
|
14191
|
-
description: "Memory type filter (basic, preferences, semantic, summaries, episodic, all)"
|
|
14192
|
-
},
|
|
14193
|
-
{ name: "query", description: "Semantic search query (for AgentCore memory types)" }
|
|
14194
|
-
],
|
|
14195
|
-
handler: async ({ ctx, workspace, args }) => {
|
|
14196
|
-
const memberId = requireNumber(args, "member-id");
|
|
14197
|
-
const type = args.type;
|
|
14198
|
-
const query = args.query;
|
|
14199
|
-
const result2 = await requireAuth(ctx).apiClient.getMemberMemories(workspace, memberId, {
|
|
14200
|
-
type,
|
|
14201
|
-
query
|
|
14202
|
-
});
|
|
14203
|
-
outputData(listResult(result2, false), ctx, COLUMNS22);
|
|
14204
|
-
}
|
|
14205
|
-
},
|
|
14206
|
-
{
|
|
14207
|
-
path: ["member-memories", "get"],
|
|
14208
|
-
description: "Get a single memory by key",
|
|
14209
|
-
requiresWorkspace: true,
|
|
14210
|
-
args: [
|
|
14211
|
-
{ name: "member-id", description: "Member ID", required: true },
|
|
14212
|
-
{ name: "key", description: "Memory key", required: true }
|
|
14213
|
-
],
|
|
14214
|
-
handler: async ({ ctx, workspace, args }) => {
|
|
14215
|
-
const memberId = requireNumber(args, "member-id");
|
|
14216
|
-
const key = requireString(args, "key");
|
|
14217
|
-
const result2 = await requireAuth(ctx).apiClient.getMemberMemory(
|
|
14218
|
-
workspace,
|
|
14219
|
-
memberId,
|
|
14220
|
-
key
|
|
14221
|
-
);
|
|
14222
|
-
outputData(result2, ctx, COLUMNS22);
|
|
14223
|
-
}
|
|
14224
|
-
},
|
|
14225
|
-
{
|
|
14226
|
-
path: ["member-memories", "create"],
|
|
14227
|
-
description: "Create a memory for a member",
|
|
14228
|
-
mutates: true,
|
|
14229
|
-
requiresWorkspace: true,
|
|
14230
|
-
args: [
|
|
14231
|
-
{ name: "member-id", description: "Member ID", required: true },
|
|
14232
|
-
{ name: "key", description: "Memory key", required: true },
|
|
14233
|
-
{ name: "description", description: "Memory description", required: true },
|
|
14234
|
-
{ name: "content", description: "Memory content" },
|
|
14235
|
-
{ name: "priority", description: "Memory priority" }
|
|
14236
|
-
],
|
|
14237
|
-
handler: async ({ ctx, workspace, args }) => {
|
|
14238
|
-
const memberId = requireNumber(args, "member-id");
|
|
14239
|
-
const key = requireString(args, "key");
|
|
14240
|
-
const description = requireString(args, "description");
|
|
14241
|
-
const content = args.content;
|
|
14242
|
-
const priority = args.priority !== void 0 ? Number(args.priority) : void 0;
|
|
14243
|
-
const result2 = await requireAuth(ctx).apiClient.createMemberMemory(
|
|
14244
|
-
workspace,
|
|
14245
|
-
memberId,
|
|
14246
|
-
{
|
|
14247
|
-
key,
|
|
14248
|
-
description,
|
|
14249
|
-
...content !== void 0 && { content },
|
|
14250
|
-
...priority !== void 0 && { priority }
|
|
14251
|
-
}
|
|
14252
|
-
);
|
|
14253
|
-
outputData(result2, ctx, COLUMNS22);
|
|
14254
|
-
}
|
|
14255
|
-
},
|
|
14256
|
-
{
|
|
14257
|
-
path: ["member-memories", "delete"],
|
|
14258
|
-
description: "Delete a memory for a member",
|
|
14259
|
-
mutates: true,
|
|
14260
|
-
requiresWorkspace: true,
|
|
14261
|
-
args: [
|
|
14262
|
-
{ name: "member-id", description: "Member ID", required: true },
|
|
14263
|
-
{ name: "key", description: "Memory key", required: true },
|
|
14264
|
-
{
|
|
14265
|
-
name: "type",
|
|
14266
|
-
// The API refuses preferences and semantic deletes (a Member cannot
|
|
14267
|
-
// be shown to own those AgentCore records), so they are not offered.
|
|
14268
|
-
description: "Memory type (basic, summaries, episodic)"
|
|
14269
|
-
}
|
|
14270
|
-
],
|
|
14271
|
-
handler: async ({ ctx, workspace, args }) => {
|
|
14272
|
-
const memberId = requireNumber(args, "member-id");
|
|
14273
|
-
const key = requireString(args, "key");
|
|
14274
|
-
const type = args.type;
|
|
14275
|
-
await requireAuth(ctx).apiClient.deleteMemberMemory(
|
|
14276
|
-
workspace,
|
|
14277
|
-
memberId,
|
|
14278
|
-
key,
|
|
14279
|
-
type ? { type } : void 0
|
|
14280
|
-
);
|
|
14281
|
-
process.stdout.write(`Deleted memory ${key}
|
|
14282
|
-
`);
|
|
14283
|
-
}
|
|
14284
|
-
}
|
|
14285
|
-
]
|
|
14286
|
-
};
|
|
14287
|
-
|
|
14288
14168
|
// src/domains/intervention-requests.ts
|
|
14289
|
-
var
|
|
14169
|
+
var COLUMNS22 = [
|
|
14290
14170
|
COL.id(),
|
|
14291
14171
|
{ header: "KIND", getValue: (item) => item.kind ?? "" },
|
|
14292
14172
|
{ header: "CHAT", getValue: (item) => item.chatId ?? "" },
|
|
@@ -14327,14 +14207,14 @@ var interventionRequestsDomain = {
|
|
|
14327
14207
|
unroutedOnly: Boolean(args["unrouted"]),
|
|
14328
14208
|
limit: args["limit"] ? Number(args["limit"]) : void 0
|
|
14329
14209
|
});
|
|
14330
|
-
outputData2(result2, ctx,
|
|
14210
|
+
outputData2(result2, ctx, COLUMNS22);
|
|
14331
14211
|
}
|
|
14332
14212
|
}
|
|
14333
14213
|
]
|
|
14334
14214
|
};
|
|
14335
14215
|
|
|
14336
14216
|
// src/domains/notification-rules.ts
|
|
14337
|
-
var
|
|
14217
|
+
var COLUMNS23 = [
|
|
14338
14218
|
COL.id(),
|
|
14339
14219
|
COL.name(),
|
|
14340
14220
|
{ header: "TYPE", getValue: (item) => item.noticeType ?? "" },
|
|
@@ -14351,7 +14231,7 @@ var notificationRulesDomain = {
|
|
|
14351
14231
|
createMethod: "createNotificationRule",
|
|
14352
14232
|
updateMethod: "updateNotificationRule",
|
|
14353
14233
|
deleteMethod: "deleteNotificationRule",
|
|
14354
|
-
columns:
|
|
14234
|
+
columns: COLUMNS23
|
|
14355
14235
|
})
|
|
14356
14236
|
]
|
|
14357
14237
|
};
|
|
@@ -14411,7 +14291,7 @@ var oauthDomain = {
|
|
|
14411
14291
|
};
|
|
14412
14292
|
|
|
14413
14293
|
// src/domains/operator-groups.ts
|
|
14414
|
-
var
|
|
14294
|
+
var COLUMNS24 = [COL.id(), COL.name(), COL.description()];
|
|
14415
14295
|
var operatorGroupsDomain = {
|
|
14416
14296
|
name: "operator-groups",
|
|
14417
14297
|
description: "Manage operator groups",
|
|
@@ -14424,7 +14304,7 @@ var operatorGroupsDomain = {
|
|
|
14424
14304
|
createMethod: "createOperatorGroup",
|
|
14425
14305
|
updateMethod: "updateOperatorGroup",
|
|
14426
14306
|
deleteMethod: "deleteOperatorGroup",
|
|
14427
|
-
columns:
|
|
14307
|
+
columns: COLUMNS24
|
|
14428
14308
|
}),
|
|
14429
14309
|
{
|
|
14430
14310
|
path: ["operator-groups", "add-member"],
|
|
@@ -18926,7 +18806,7 @@ function requireCallerRole(args, flag) {
|
|
|
18926
18806
|
}
|
|
18927
18807
|
return role;
|
|
18928
18808
|
}
|
|
18929
|
-
var
|
|
18809
|
+
var COLUMNS25 = [
|
|
18930
18810
|
COL.id(),
|
|
18931
18811
|
{ header: "NUMBER", getValue: (item) => item.phoneNumber ?? item.number ?? "" },
|
|
18932
18812
|
{ header: "LABEL", getValue: (item) => item.label ?? item.name ?? "" },
|
|
@@ -18954,7 +18834,7 @@ var phoneNumbersDomain = {
|
|
|
18954
18834
|
entityName: "phone number",
|
|
18955
18835
|
listMethod: "getPhoneNumbers",
|
|
18956
18836
|
archiveMethod: "archivePhoneNumber",
|
|
18957
|
-
columns:
|
|
18837
|
+
columns: COLUMNS25
|
|
18958
18838
|
}),
|
|
18959
18839
|
{
|
|
18960
18840
|
path: ["phone-numbers", "get"],
|
|
@@ -19004,7 +18884,7 @@ ${PHONE_NUMBER_FIELD_REFERENCE}`,
|
|
|
19004
18884
|
);
|
|
19005
18885
|
const record2 = asPhoneRecord(result2);
|
|
19006
18886
|
const warnings = collectPhoneNumberWarnings(record2);
|
|
19007
|
-
outputData([record2], ctx,
|
|
18887
|
+
outputData([record2], ctx, COLUMNS25);
|
|
19008
18888
|
if (warnings.length > 0) {
|
|
19009
18889
|
process.stderr.write("\nWarnings after create:\n");
|
|
19010
18890
|
for (const w of warnings) {
|
|
@@ -19036,7 +18916,7 @@ ${PHONE_NUMBER_FIELD_REFERENCE}`,
|
|
|
19036
18916
|
id,
|
|
19037
18917
|
data
|
|
19038
18918
|
);
|
|
19039
|
-
outputData([result2], ctx,
|
|
18919
|
+
outputData([result2], ctx, COLUMNS25);
|
|
19040
18920
|
} catch (err) {
|
|
19041
18921
|
return enrichPhoneNumberApiError(err);
|
|
19042
18922
|
}
|
|
@@ -19325,7 +19205,7 @@ ${formatRoutingSimulation(sim, phone)}
|
|
|
19325
19205
|
requiresWorkspace: true,
|
|
19326
19206
|
handler: async ({ ctx, workspace }) => {
|
|
19327
19207
|
const result2 = await requireAuth(ctx).apiClient.getAvailablePhoneNumbers(workspace);
|
|
19328
|
-
outputData(result2, ctx,
|
|
19208
|
+
outputData(result2, ctx, COLUMNS25);
|
|
19329
19209
|
}
|
|
19330
19210
|
},
|
|
19331
19211
|
{
|
|
@@ -19350,7 +19230,7 @@ ${formatRoutingSimulation(sim, phone)}
|
|
|
19350
19230
|
const id = requireNumberFrom(args, "phone-number-id", "id");
|
|
19351
19231
|
const providerPhoneUuid = requireString(args, "provider-phone-uuid");
|
|
19352
19232
|
const result2 = await auth.apiClient.linkPhoneNumber(workspace, id, providerPhoneUuid);
|
|
19353
|
-
outputData([result2], auth,
|
|
19233
|
+
outputData([result2], auth, COLUMNS25);
|
|
19354
19234
|
}
|
|
19355
19235
|
},
|
|
19356
19236
|
{
|
|
@@ -19363,7 +19243,7 @@ ${formatRoutingSimulation(sim, phone)}
|
|
|
19363
19243
|
workspace,
|
|
19364
19244
|
data
|
|
19365
19245
|
);
|
|
19366
|
-
outputData([result2], ctx,
|
|
19246
|
+
outputData([result2], ctx, COLUMNS25);
|
|
19367
19247
|
}
|
|
19368
19248
|
},
|
|
19369
19249
|
{
|
|
@@ -19510,7 +19390,7 @@ function normalizePronunciationUpdatePayload(data) {
|
|
|
19510
19390
|
}
|
|
19511
19391
|
|
|
19512
19392
|
// src/domains/pronunciations.ts
|
|
19513
|
-
var
|
|
19393
|
+
var COLUMNS26 = [
|
|
19514
19394
|
COL.id(),
|
|
19515
19395
|
{ header: "TERM", getValue: (item) => item.term ?? "" },
|
|
19516
19396
|
{ header: "RESPELLING", getValue: (item) => item.respelling ?? "" },
|
|
@@ -19532,7 +19412,7 @@ var pronunciationsDomain = {
|
|
|
19532
19412
|
const auth = requireAuth(ctx);
|
|
19533
19413
|
const orgUuid = await resolveOrgUuidFromWorkspace(auth.apiClient, workspace);
|
|
19534
19414
|
const result2 = await auth.apiClient.getPronunciationEntries(orgUuid);
|
|
19535
|
-
outputData(result2, ctx,
|
|
19415
|
+
outputData(result2, ctx, COLUMNS26);
|
|
19536
19416
|
}
|
|
19537
19417
|
},
|
|
19538
19418
|
{
|
|
@@ -19546,7 +19426,7 @@ var pronunciationsDomain = {
|
|
|
19546
19426
|
const orgUuid = await resolveOrgUuidFromWorkspace(auth.apiClient, workspace);
|
|
19547
19427
|
const payload = normalizePronunciationCreatePayload(data);
|
|
19548
19428
|
const result2 = await auth.apiClient.createPronunciationEntry(orgUuid, payload);
|
|
19549
|
-
outputSingle(result2, ctx,
|
|
19429
|
+
outputSingle(result2, ctx, COLUMNS26);
|
|
19550
19430
|
}
|
|
19551
19431
|
},
|
|
19552
19432
|
{
|
|
@@ -19564,7 +19444,7 @@ var pronunciationsDomain = {
|
|
|
19564
19444
|
requireNumber(args, "id"),
|
|
19565
19445
|
payload
|
|
19566
19446
|
);
|
|
19567
|
-
outputSingle(result2, ctx,
|
|
19447
|
+
outputSingle(result2, ctx, COLUMNS26);
|
|
19568
19448
|
}
|
|
19569
19449
|
},
|
|
19570
19450
|
{
|
|
@@ -19588,7 +19468,7 @@ var pronunciationsDomain = {
|
|
|
19588
19468
|
requiresWorkspace: true,
|
|
19589
19469
|
handler: async ({ ctx }) => {
|
|
19590
19470
|
const result2 = await requireAuth(ctx).apiClient.getMyPronunciations();
|
|
19591
|
-
outputData(result2, ctx,
|
|
19471
|
+
outputData(result2, ctx, COLUMNS26);
|
|
19592
19472
|
}
|
|
19593
19473
|
},
|
|
19594
19474
|
{
|
|
@@ -19599,7 +19479,7 @@ var pronunciationsDomain = {
|
|
|
19599
19479
|
handler: async ({ ctx, data }) => {
|
|
19600
19480
|
const payload = normalizePronunciationCreatePayload(data);
|
|
19601
19481
|
const result2 = await requireAuth(ctx).apiClient.createMyPronunciation(payload);
|
|
19602
|
-
outputSingle(result2, ctx,
|
|
19482
|
+
outputSingle(result2, ctx, COLUMNS26);
|
|
19603
19483
|
}
|
|
19604
19484
|
},
|
|
19605
19485
|
{
|
|
@@ -19902,7 +19782,7 @@ ${ROUTINE_FIELD_REFERENCE}`,
|
|
|
19902
19782
|
};
|
|
19903
19783
|
|
|
19904
19784
|
// src/domains/subscriptions.ts
|
|
19905
|
-
var
|
|
19785
|
+
var COLUMNS27 = [
|
|
19906
19786
|
COL.id(),
|
|
19907
19787
|
COL.status(),
|
|
19908
19788
|
{ header: "PLAN", getValue: (item) => item.planName ?? item.plan ?? "" },
|
|
@@ -19918,7 +19798,7 @@ var subscriptionsDomain = {
|
|
|
19918
19798
|
requiresWorkspace: false,
|
|
19919
19799
|
handler: async ({ ctx }) => {
|
|
19920
19800
|
const result2 = await requireAuth(ctx).apiClient.getSubscriptions();
|
|
19921
|
-
outputData(result2, ctx,
|
|
19801
|
+
outputData(result2, ctx, COLUMNS27);
|
|
19922
19802
|
}
|
|
19923
19803
|
},
|
|
19924
19804
|
{
|
|
@@ -19927,7 +19807,7 @@ var subscriptionsDomain = {
|
|
|
19927
19807
|
requiresWorkspace: true,
|
|
19928
19808
|
handler: async ({ ctx, workspace }) => {
|
|
19929
19809
|
const result2 = await requireAuth(ctx).apiClient.getWorkspaceSubscriptions(workspace);
|
|
19930
|
-
outputData(result2, ctx,
|
|
19810
|
+
outputData(result2, ctx, COLUMNS27);
|
|
19931
19811
|
}
|
|
19932
19812
|
},
|
|
19933
19813
|
{
|
|
@@ -19940,7 +19820,7 @@ var subscriptionsDomain = {
|
|
|
19940
19820
|
const result2 = await requireAuth(ctx).apiClient.cancelSubscription(
|
|
19941
19821
|
requireNumber(args, "id")
|
|
19942
19822
|
);
|
|
19943
|
-
outputSingle(result2, ctx,
|
|
19823
|
+
outputSingle(result2, ctx, COLUMNS27);
|
|
19944
19824
|
}
|
|
19945
19825
|
},
|
|
19946
19826
|
{
|
|
@@ -19952,7 +19832,7 @@ var subscriptionsDomain = {
|
|
|
19952
19832
|
const result2 = await requireAuth(ctx).apiClient.reactivateSubscription(
|
|
19953
19833
|
requireNumber(args, "id")
|
|
19954
19834
|
);
|
|
19955
|
-
outputSingle(result2, ctx,
|
|
19835
|
+
outputSingle(result2, ctx, COLUMNS27);
|
|
19956
19836
|
}
|
|
19957
19837
|
},
|
|
19958
19838
|
{
|
|
@@ -19966,7 +19846,7 @@ var subscriptionsDomain = {
|
|
|
19966
19846
|
requireNumber(args, "id"),
|
|
19967
19847
|
data
|
|
19968
19848
|
);
|
|
19969
|
-
outputSingle(result2, ctx,
|
|
19849
|
+
outputSingle(result2, ctx, COLUMNS27);
|
|
19970
19850
|
}
|
|
19971
19851
|
}
|
|
19972
19852
|
]
|
|
@@ -20220,7 +20100,7 @@ var supportDomain = {
|
|
|
20220
20100
|
};
|
|
20221
20101
|
|
|
20222
20102
|
// src/domains/supervisors.ts
|
|
20223
|
-
var
|
|
20103
|
+
var COLUMNS28 = [
|
|
20224
20104
|
COL.id(),
|
|
20225
20105
|
COL.name(),
|
|
20226
20106
|
{ header: "TYPE", getValue: (item) => item.type ?? "" },
|
|
@@ -20238,7 +20118,7 @@ var supervisorsDomain = {
|
|
|
20238
20118
|
createMethod: "createSupervisor",
|
|
20239
20119
|
updateMethod: "updateSupervisor",
|
|
20240
20120
|
deleteMethod: "deleteSupervisor",
|
|
20241
|
-
columns:
|
|
20121
|
+
columns: COLUMNS28
|
|
20242
20122
|
})
|
|
20243
20123
|
]
|
|
20244
20124
|
};
|
|
@@ -20639,7 +20519,7 @@ var widgetDomainsDomain = {
|
|
|
20639
20519
|
};
|
|
20640
20520
|
|
|
20641
20521
|
// src/domains/integrations/app-connections.ts
|
|
20642
|
-
var
|
|
20522
|
+
var COLUMNS29 = [
|
|
20643
20523
|
COL.id(),
|
|
20644
20524
|
COL.name(),
|
|
20645
20525
|
{ header: "TYPE", getValue: (item) => item.type ?? "" },
|
|
@@ -20680,7 +20560,7 @@ var appConnectionsDomain = {
|
|
|
20680
20560
|
requiresWorkspace: true,
|
|
20681
20561
|
handler: async ({ ctx, workspace }) => {
|
|
20682
20562
|
const result2 = await requireAuth(ctx).apiClient.listAvailableAppConnections(workspace);
|
|
20683
|
-
outputData(result2, ctx,
|
|
20563
|
+
outputData(result2, ctx, COLUMNS29);
|
|
20684
20564
|
}
|
|
20685
20565
|
},
|
|
20686
20566
|
{
|
|
@@ -20689,7 +20569,7 @@ var appConnectionsDomain = {
|
|
|
20689
20569
|
requiresWorkspace: true,
|
|
20690
20570
|
handler: async ({ ctx, workspace }) => {
|
|
20691
20571
|
const result2 = await requireAuth(ctx).apiClient.listAppConnections(workspace);
|
|
20692
|
-
outputData(result2, ctx,
|
|
20572
|
+
outputData(result2, ctx, COLUMNS29);
|
|
20693
20573
|
}
|
|
20694
20574
|
},
|
|
20695
20575
|
{
|
|
@@ -20713,7 +20593,7 @@ var appConnectionsDomain = {
|
|
|
20713
20593
|
const result2 = await requireAuth(ctx).apiClient.enablePlatformApp(workspace, {
|
|
20714
20594
|
slug: requireString(args, "slug")
|
|
20715
20595
|
});
|
|
20716
|
-
outputSingle(result2, ctx,
|
|
20596
|
+
outputSingle(result2, ctx, COLUMNS29);
|
|
20717
20597
|
}
|
|
20718
20598
|
},
|
|
20719
20599
|
{
|
|
@@ -20726,7 +20606,7 @@ var appConnectionsDomain = {
|
|
|
20726
20606
|
workspace,
|
|
20727
20607
|
requireString(args, "id")
|
|
20728
20608
|
);
|
|
20729
|
-
outputSingle(result2, ctx,
|
|
20609
|
+
outputSingle(result2, ctx, COLUMNS29);
|
|
20730
20610
|
}
|
|
20731
20611
|
},
|
|
20732
20612
|
{
|
|
@@ -20741,7 +20621,7 @@ var appConnectionsDomain = {
|
|
|
20741
20621
|
requireString(args, "id"),
|
|
20742
20622
|
data
|
|
20743
20623
|
);
|
|
20744
|
-
outputSingle(result2, ctx,
|
|
20624
|
+
outputSingle(result2, ctx, COLUMNS29);
|
|
20745
20625
|
}
|
|
20746
20626
|
},
|
|
20747
20627
|
{
|
|
@@ -21083,7 +20963,7 @@ var confluenceDomain = {
|
|
|
21083
20963
|
};
|
|
21084
20964
|
|
|
21085
20965
|
// src/domains/integrations/discord-bots.ts
|
|
21086
|
-
var
|
|
20966
|
+
var COLUMNS30 = [COL.id(), COL.name(), COL.status()];
|
|
21087
20967
|
var discordBotsDomain = {
|
|
21088
20968
|
name: "discord-bots",
|
|
21089
20969
|
description: "Manage Discord bot integrations",
|
|
@@ -21096,7 +20976,7 @@ var discordBotsDomain = {
|
|
|
21096
20976
|
createMethod: "createDiscordBot",
|
|
21097
20977
|
updateMethod: "updateDiscordBot",
|
|
21098
20978
|
deleteMethod: "deleteDiscordBot",
|
|
21099
|
-
columns:
|
|
20979
|
+
columns: COLUMNS30,
|
|
21100
20980
|
paginationSupport: "full"
|
|
21101
20981
|
}),
|
|
21102
20982
|
{
|
|
@@ -21156,7 +21036,7 @@ var discordBotsDomain = {
|
|
|
21156
21036
|
};
|
|
21157
21037
|
|
|
21158
21038
|
// src/domains/integrations/fhir-connections.ts
|
|
21159
|
-
var
|
|
21039
|
+
var COLUMNS31 = [
|
|
21160
21040
|
COL.id(),
|
|
21161
21041
|
COL.name(),
|
|
21162
21042
|
{ header: "URL", getValue: (item) => item.baseUrl ?? "" },
|
|
@@ -21207,7 +21087,7 @@ var fhirConnectionsDomain = {
|
|
|
21207
21087
|
createMethod: "createFhirConnection",
|
|
21208
21088
|
updateMethod: "updateFhirConnection",
|
|
21209
21089
|
deleteMethod: "deleteFhirConnection",
|
|
21210
|
-
columns:
|
|
21090
|
+
columns: COLUMNS31,
|
|
21211
21091
|
paginationSupport: "full"
|
|
21212
21092
|
}),
|
|
21213
21093
|
{
|
|
@@ -21257,7 +21137,7 @@ var fhirConnectionsDomain = {
|
|
|
21257
21137
|
};
|
|
21258
21138
|
|
|
21259
21139
|
// src/domains/integrations/patientsync.ts
|
|
21260
|
-
var
|
|
21140
|
+
var COLUMNS32 = [
|
|
21261
21141
|
{ header: "CONFIGURED", getValue: (i) => String(i.configured ?? false) },
|
|
21262
21142
|
{ header: "ENABLED", getValue: (i) => String(i.enabled ?? false) },
|
|
21263
21143
|
{ header: "HAS_KEY", getValue: (i) => String(i.hasApiKey ?? false) },
|
|
@@ -21286,7 +21166,7 @@ var patientSyncDomain = {
|
|
|
21286
21166
|
workspace,
|
|
21287
21167
|
data
|
|
21288
21168
|
);
|
|
21289
|
-
outputSingle(result2, ctx,
|
|
21169
|
+
outputSingle(result2, ctx, COLUMNS32);
|
|
21290
21170
|
}
|
|
21291
21171
|
},
|
|
21292
21172
|
{
|
|
@@ -21295,7 +21175,7 @@ var patientSyncDomain = {
|
|
|
21295
21175
|
requiresWorkspace: true,
|
|
21296
21176
|
handler: async ({ ctx, workspace }) => {
|
|
21297
21177
|
const result2 = await requireAuth(ctx).apiClient.getPatientSyncStatus(workspace);
|
|
21298
|
-
outputSingle(result2, ctx,
|
|
21178
|
+
outputSingle(result2, ctx, COLUMNS32);
|
|
21299
21179
|
}
|
|
21300
21180
|
},
|
|
21301
21181
|
{
|
|
@@ -22879,7 +22759,7 @@ var salesforceDomain = {
|
|
|
22879
22759
|
};
|
|
22880
22760
|
|
|
22881
22761
|
// src/domains/integrations/slack-apps.ts
|
|
22882
|
-
var
|
|
22762
|
+
var COLUMNS33 = [COL.id(), COL.name(), COL.status()];
|
|
22883
22763
|
function addSlackUrls(data, apiUrl, workspaceUuid) {
|
|
22884
22764
|
const base = `${apiUrl}/api/v2/w/${workspaceUuid}/app-connections/slack`;
|
|
22885
22765
|
return {
|
|
@@ -22902,7 +22782,7 @@ var slackAppsDomain = {
|
|
|
22902
22782
|
entityName: "Slack app",
|
|
22903
22783
|
listMethod: "getSlackApps",
|
|
22904
22784
|
deleteMethod: "deleteSlackApp",
|
|
22905
|
-
columns:
|
|
22785
|
+
columns: COLUMNS33,
|
|
22906
22786
|
paginationSupport: "full"
|
|
22907
22787
|
}),
|
|
22908
22788
|
{
|
|
@@ -22988,7 +22868,7 @@ var slackAppsDomain = {
|
|
|
22988
22868
|
};
|
|
22989
22869
|
|
|
22990
22870
|
// src/domains/integrations/teams-apps.ts
|
|
22991
|
-
var
|
|
22871
|
+
var COLUMNS34 = [COL.id(), COL.name(), COL.status()];
|
|
22992
22872
|
function addTeamsUrls(data, apiUrl, workspaceUuid) {
|
|
22993
22873
|
const base = `${apiUrl}/api/v2/w/${workspaceUuid}/app-connections/teams`;
|
|
22994
22874
|
return {
|
|
@@ -23009,7 +22889,7 @@ var teamsAppsDomain = {
|
|
|
23009
22889
|
entityName: "Teams app",
|
|
23010
22890
|
listMethod: "getTeamsApps",
|
|
23011
22891
|
deleteMethod: "deleteTeamsApp",
|
|
23012
|
-
columns:
|
|
22892
|
+
columns: COLUMNS34,
|
|
23013
22893
|
paginationSupport: "full"
|
|
23014
22894
|
}),
|
|
23015
22895
|
{
|
|
@@ -23149,7 +23029,6 @@ function registerPublicDomains(registry) {
|
|
|
23149
23029
|
registry.register(oauthDomain);
|
|
23150
23030
|
registry.register(conciergeDomain);
|
|
23151
23031
|
registry.register(docsDomain);
|
|
23152
|
-
registry.register(memberMemoriesDomain);
|
|
23153
23032
|
registry.register(syncDomain);
|
|
23154
23033
|
registry.register(widgetDomainsDomain);
|
|
23155
23034
|
registry.register(confluenceDomain);
|
|
@@ -27367,7 +27246,7 @@ async function authImportDevCommand(ctx, args) {
|
|
|
27367
27246
|
}
|
|
27368
27247
|
|
|
27369
27248
|
// src/commands/organizations.ts
|
|
27370
|
-
var
|
|
27249
|
+
var COLUMNS35 = [
|
|
27371
27250
|
{ header: "NAME", getValue: (o) => o.organizationName || "", maxWidth: 35 },
|
|
27372
27251
|
{ header: "SLUG", getValue: (o) => o.organizationSlug || "", maxWidth: 25 },
|
|
27373
27252
|
{ header: "UUID", getValue: (o) => o.organizationUuid },
|
|
@@ -27375,7 +27254,7 @@ var COLUMNS36 = [
|
|
|
27375
27254
|
];
|
|
27376
27255
|
async function organizationsListCommand(ctx, options = {}) {
|
|
27377
27256
|
const organizations = await ctx.apiClient.getMyOrganizations(options);
|
|
27378
|
-
outputData(organizations, ctx,
|
|
27257
|
+
outputData(organizations, ctx, COLUMNS35);
|
|
27379
27258
|
}
|
|
27380
27259
|
|
|
27381
27260
|
// src/commands/whoami.ts
|
|
@@ -27610,7 +27489,7 @@ var topLevelCommands = [
|
|
|
27610
27489
|
mutates: true,
|
|
27611
27490
|
args: [{ name: "phone", description: "E.164 phone number (optional; prompts if omitted)" }],
|
|
27612
27491
|
handler: async (hctx) => {
|
|
27613
|
-
const { accountVerifyPhoneCommand } = await import("./account-verify-phone-
|
|
27492
|
+
const { accountVerifyPhoneCommand } = await import("./account-verify-phone-EVQMBXZZ.js");
|
|
27614
27493
|
await accountVerifyPhoneCommand(hctx);
|
|
27615
27494
|
}
|
|
27616
27495
|
},
|