@wayai/cli 0.3.268 → 0.3.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7334,10 +7334,10 @@ var init_chunk_S5SVBLGT = __esm({
|
|
|
7334
7334
|
}
|
|
7335
7335
|
});
|
|
7336
7336
|
|
|
7337
|
-
// ../../packages/core/dist/chunk-
|
|
7338
|
-
var PERSON_LINKS_MAX, PERSON_DENY_PAGE_MAX, personParam, personLinkParam, deniedPersonParam, listDeniedPersonsQuery;
|
|
7339
|
-
var
|
|
7340
|
-
"../../packages/core/dist/chunk-
|
|
7337
|
+
// ../../packages/core/dist/chunk-YNK5TWWS.js
|
|
7338
|
+
var PERSON_LINKS_MAX, PERSON_DENY_PAGE_MAX, personParam, personLinkParam, deniedPersonParam, listDeniedPersonsQuery, conversationCustomerPersonParam;
|
|
7339
|
+
var init_chunk_YNK5TWWS = __esm({
|
|
7340
|
+
"../../packages/core/dist/chunk-YNK5TWWS.js"() {
|
|
7341
7341
|
"use strict";
|
|
7342
7342
|
init_chunk_2YEGUQR7();
|
|
7343
7343
|
init_chunk_S5SVBLGT();
|
|
@@ -7357,6 +7357,10 @@ var init_chunk_L4SFHNKQ = __esm({
|
|
|
7357
7357
|
cursor: personIdSchema.optional(),
|
|
7358
7358
|
limit: external_exports.coerce.number().int().min(1).max(PERSON_DENY_PAGE_MAX).default(50)
|
|
7359
7359
|
});
|
|
7360
|
+
conversationCustomerPersonParam = external_exports.object({
|
|
7361
|
+
hubId: external_exports.string().uuid(),
|
|
7362
|
+
conversationId: external_exports.string().uuid()
|
|
7363
|
+
});
|
|
7360
7364
|
}
|
|
7361
7365
|
});
|
|
7362
7366
|
|
|
@@ -16191,7 +16195,7 @@ var init_contracts = __esm({
|
|
|
16191
16195
|
init_chunk_VEERWOZ6();
|
|
16192
16196
|
init_chunk_ZXK6N2HN();
|
|
16193
16197
|
init_chunk_Y7CFCYX4();
|
|
16194
|
-
|
|
16198
|
+
init_chunk_YNK5TWWS();
|
|
16195
16199
|
init_chunk_YUZFHVB2();
|
|
16196
16200
|
init_chunk_I3O2RACG();
|
|
16197
16201
|
init_chunk_34LE6P7E();
|
|
@@ -23516,6 +23520,7 @@ function historyQuery(opts) {
|
|
|
23516
23520
|
if (opts.limit) qs.set("limit", opts.limit);
|
|
23517
23521
|
if (opts.offset) qs.set("offset", opts.offset);
|
|
23518
23522
|
if (opts.diff) qs.set("diff", "true");
|
|
23523
|
+
if (opts.recordType) qs.set("record_type", opts.recordType);
|
|
23519
23524
|
const q = qs.toString();
|
|
23520
23525
|
return q ? `?${q}` : "";
|
|
23521
23526
|
}
|
|
@@ -41765,7 +41770,7 @@ function buildRecordsCommand() {
|
|
|
41765
41770
|
});
|
|
41766
41771
|
records.command("history <id>").description(
|
|
41767
41772
|
"View the change history (audit log) for a record \u2014 every version, who changed it, and when"
|
|
41768
|
-
).option("--limit <n>", "Max results").option("--offset <n>", "Pagination offset").option("--diff", "Include field-level diffs between versions").action(async function(id, opts) {
|
|
41773
|
+
).option("--limit <n>", "Max results").option("--offset <n>", "Pagination offset").option("--diff", "Include field-level diffs between versions").option("--record-type <type>", "The record's record_type (required when records of several types share the id)").action(async function(id, opts) {
|
|
41769
41774
|
const base = pathSegment(requireBase(this), "--base");
|
|
41770
41775
|
const client = await createDataClient();
|
|
41771
41776
|
printOutput(
|