@oneuptime/cli 14.0.68 → 14.0.70
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/build/dist/Index.js +346 -2
- package/package.json +1 -1
package/build/dist/Index.js
CHANGED
|
@@ -132309,6 +132309,29 @@ var MonitorStepLlmMonitorUtil = class _MonitorStepLlmMonitorUtil {
|
|
|
132309
132309
|
}
|
|
132310
132310
|
};
|
|
132311
132311
|
|
|
132312
|
+
// ../Common/Types/BrowserType.ts
|
|
132313
|
+
var BrowserType = /* @__PURE__ */ ((BrowserType2) => {
|
|
132314
|
+
BrowserType2["Chromium"] = "Chromium";
|
|
132315
|
+
BrowserType2["Firefox"] = "Firefox";
|
|
132316
|
+
return BrowserType2;
|
|
132317
|
+
})(BrowserType || {});
|
|
132318
|
+
var BrowserType_default = BrowserType;
|
|
132319
|
+
|
|
132320
|
+
// ../Common/Types/Monitor/SyntheticMonitors/BrowserType.ts
|
|
132321
|
+
var BrowserType_default2 = BrowserType_default;
|
|
132322
|
+
|
|
132323
|
+
// ../Common/Types/ScreenSizeType.ts
|
|
132324
|
+
var ScreenSizeType = /* @__PURE__ */ ((ScreenSizeType2) => {
|
|
132325
|
+
ScreenSizeType2["Mobile"] = "Mobile";
|
|
132326
|
+
ScreenSizeType2["Tablet"] = "Tablet";
|
|
132327
|
+
ScreenSizeType2["Desktop"] = "Desktop";
|
|
132328
|
+
return ScreenSizeType2;
|
|
132329
|
+
})(ScreenSizeType || {});
|
|
132330
|
+
var ScreenSizeType_default = ScreenSizeType;
|
|
132331
|
+
|
|
132332
|
+
// ../Common/Types/Monitor/SyntheticMonitors/ScreenSizeType.ts
|
|
132333
|
+
var ScreenSizeType_default2 = ScreenSizeType_default;
|
|
132334
|
+
|
|
132312
132335
|
// ../Common/Types/Monitor/MonitorStepTraceMonitor.ts
|
|
132313
132336
|
var MonitorStepTraceMonitorUtil = class {
|
|
132314
132337
|
static {
|
|
@@ -134422,6 +134445,12 @@ var MonitorTemplateSyncFieldUtil = class {
|
|
|
134422
134445
|
};
|
|
134423
134446
|
|
|
134424
134447
|
// ../Common/Types/Monitor/MonitorStep.ts
|
|
134448
|
+
var SYNTHETIC_MONITOR_DEFAULT_BROWSER_TYPES = [
|
|
134449
|
+
BrowserType_default2.Chromium
|
|
134450
|
+
];
|
|
134451
|
+
var SYNTHETIC_MONITOR_DEFAULT_SCREEN_SIZE_TYPES = [ScreenSizeType_default2.Desktop];
|
|
134452
|
+
var SYNTHETIC_MONITOR_BROWSER_REQUIRED_MESSAGE = "Pick at least one browser to run the script in.";
|
|
134453
|
+
var SYNTHETIC_MONITOR_SCREEN_SIZE_REQUIRED_MESSAGE = "Pick at least one screen size to run the script at.";
|
|
134425
134454
|
var MAX_MONITOR_REQUEST_TIMEOUT_IN_MS = 6e4;
|
|
134426
134455
|
var DEFAULT_MONITOR_REQUEST_TIMEOUT_IN_MS = 6e4;
|
|
134427
134456
|
var MAX_MONITOR_RETRY_COUNT = 3;
|
|
@@ -134514,8 +134543,13 @@ var MonitorStep = class _MonitorStep extends DatabaseProperty {
|
|
|
134514
134543
|
requestHeaders: void 0,
|
|
134515
134544
|
requestBody: void 0,
|
|
134516
134545
|
customCode: void 0,
|
|
134517
|
-
|
|
134518
|
-
|
|
134546
|
+
/*
|
|
134547
|
+
* A new Synthetic monitor starts in Chromium at a desktop size, so
|
|
134548
|
+
* its script runs somewhere (see SYNTHETIC_MONITOR_DEFAULT_BROWSER_TYPES).
|
|
134549
|
+
* Every other type has neither.
|
|
134550
|
+
*/
|
|
134551
|
+
screenSizeTypes: arg.monitorType === MonitorType_default.SyntheticMonitor ? [...SYNTHETIC_MONITOR_DEFAULT_SCREEN_SIZE_TYPES] : void 0,
|
|
134552
|
+
browserTypes: arg.monitorType === MonitorType_default.SyntheticMonitor ? [...SYNTHETIC_MONITOR_DEFAULT_BROWSER_TYPES] : void 0,
|
|
134519
134553
|
retryCountOnError: void 0,
|
|
134520
134554
|
requestTimeoutInMs: void 0,
|
|
134521
134555
|
retryCount: void 0,
|
|
@@ -134883,6 +134917,14 @@ var MonitorStep = class _MonitorStep extends DatabaseProperty {
|
|
|
134883
134917
|
}
|
|
134884
134918
|
return "Playwright code is required.";
|
|
134885
134919
|
}
|
|
134920
|
+
if (monitorType === MonitorType_default.SyntheticMonitor) {
|
|
134921
|
+
if (!value.data.browserTypes || value.data.browserTypes.length === 0) {
|
|
134922
|
+
return SYNTHETIC_MONITOR_BROWSER_REQUIRED_MESSAGE;
|
|
134923
|
+
}
|
|
134924
|
+
if (!value.data.screenSizeTypes || value.data.screenSizeTypes.length === 0) {
|
|
134925
|
+
return SYNTHETIC_MONITOR_SCREEN_SIZE_REQUIRED_MESSAGE;
|
|
134926
|
+
}
|
|
134927
|
+
}
|
|
134886
134928
|
if (!value.data.monitorCriteria) {
|
|
134887
134929
|
return "Monitor Criteria is required";
|
|
134888
134930
|
}
|
|
@@ -436382,6 +436424,20 @@ var IncidentVideoCall = class extends DatabaseBaseModel {
|
|
|
436382
436424
|
this.externalMeetingId = void 0;
|
|
436383
436425
|
this.workspaceNotificationRule = void 0;
|
|
436384
436426
|
this.workspaceNotificationRuleId = void 0;
|
|
436427
|
+
this.transcript = void 0;
|
|
436428
|
+
this.transcriptSource = void 0;
|
|
436429
|
+
this.transcriptInfo = void 0;
|
|
436430
|
+
this.transcriptAddedAt = void 0;
|
|
436431
|
+
this.transcriptAddedByUser = void 0;
|
|
436432
|
+
this.transcriptAddedByUserId = void 0;
|
|
436433
|
+
this.callSummary = void 0;
|
|
436434
|
+
this.callSummaryStatus = void 0;
|
|
436435
|
+
this.callSummaryStatusMessage = void 0;
|
|
436436
|
+
this.callSummaryUpdatedAt = void 0;
|
|
436437
|
+
this.rootCauseSuggestionStatus = void 0;
|
|
436438
|
+
this.rootCauseSuggestionReviewedAt = void 0;
|
|
436439
|
+
this.rootCauseSuggestionReviewedByUser = void 0;
|
|
436440
|
+
this.rootCauseSuggestionReviewedByUserId = void 0;
|
|
436385
436441
|
this.createdByUser = void 0;
|
|
436386
436442
|
this.createdByUserId = void 0;
|
|
436387
436443
|
this.deletedByUser = void 0;
|
|
@@ -436652,6 +436708,294 @@ __decorateClass([
|
|
|
436652
436708
|
transformer: ObjectID.getDatabaseTransformer()
|
|
436653
436709
|
})
|
|
436654
436710
|
], IncidentVideoCall.prototype, "workspaceNotificationRuleId", 2);
|
|
436711
|
+
__decorateClass([
|
|
436712
|
+
ColumnAccessControl_default({
|
|
436713
|
+
create: [],
|
|
436714
|
+
read: readPermissions16,
|
|
436715
|
+
update: []
|
|
436716
|
+
}),
|
|
436717
|
+
TableColumn_default({
|
|
436718
|
+
required: false,
|
|
436719
|
+
type: TableColumnType_default.VeryLongText,
|
|
436720
|
+
computed: true,
|
|
436721
|
+
title: "Transcript",
|
|
436722
|
+
description: "What was said on the call, one remark a line: how far into the call (HH:MM:SS, empty when unknown), a tab, who spoke (empty when unknown), a tab, and the words. Read from Zoom or Google Meet, or added by a person, through the call's transcript routes.",
|
|
436723
|
+
example: "00:12:03 Priya Shah The pool maxes at 50 and we just went to 100 workers."
|
|
436724
|
+
}),
|
|
436725
|
+
Column({
|
|
436726
|
+
nullable: true,
|
|
436727
|
+
type: ColumnType_default.VeryLongText
|
|
436728
|
+
})
|
|
436729
|
+
], IncidentVideoCall.prototype, "transcript", 2);
|
|
436730
|
+
__decorateClass([
|
|
436731
|
+
ColumnAccessControl_default({
|
|
436732
|
+
create: [],
|
|
436733
|
+
read: readPermissions16,
|
|
436734
|
+
update: []
|
|
436735
|
+
}),
|
|
436736
|
+
TableColumn_default({
|
|
436737
|
+
required: false,
|
|
436738
|
+
type: TableColumnType_default.ShortText,
|
|
436739
|
+
computed: true,
|
|
436740
|
+
title: "Transcript Source",
|
|
436741
|
+
description: "Where the transcript came from: Provider when OneUptime read it from Zoom or Google Meet, Upload when a person added it.",
|
|
436742
|
+
example: "Provider"
|
|
436743
|
+
}),
|
|
436744
|
+
Column({
|
|
436745
|
+
nullable: true,
|
|
436746
|
+
type: ColumnType_default.ShortText,
|
|
436747
|
+
length: ColumnLength_default.ShortText
|
|
436748
|
+
})
|
|
436749
|
+
], IncidentVideoCall.prototype, "transcriptSource", 2);
|
|
436750
|
+
__decorateClass([
|
|
436751
|
+
ColumnAccessControl_default({
|
|
436752
|
+
create: [],
|
|
436753
|
+
read: readPermissions16,
|
|
436754
|
+
update: []
|
|
436755
|
+
}),
|
|
436756
|
+
TableColumn_default({
|
|
436757
|
+
required: false,
|
|
436758
|
+
type: TableColumnType_default.JSON,
|
|
436759
|
+
computed: true,
|
|
436760
|
+
title: "Transcript Info",
|
|
436761
|
+
description: "How long the transcript is - remarks, speakers, characters and how many seconds it spans - and the name of the file it was added from, so the call can be described without reading the transcript.",
|
|
436762
|
+
example: {
|
|
436763
|
+
lineCount: 312,
|
|
436764
|
+
speakerCount: 6,
|
|
436765
|
+
characterCount: 48210,
|
|
436766
|
+
durationInSeconds: 3120
|
|
436767
|
+
}
|
|
436768
|
+
}),
|
|
436769
|
+
Column({
|
|
436770
|
+
type: ColumnType_default.JSON,
|
|
436771
|
+
nullable: true
|
|
436772
|
+
})
|
|
436773
|
+
], IncidentVideoCall.prototype, "transcriptInfo", 2);
|
|
436774
|
+
__decorateClass([
|
|
436775
|
+
ColumnAccessControl_default({
|
|
436776
|
+
create: [],
|
|
436777
|
+
read: readPermissions16,
|
|
436778
|
+
update: []
|
|
436779
|
+
}),
|
|
436780
|
+
TableColumn_default({
|
|
436781
|
+
required: false,
|
|
436782
|
+
type: TableColumnType_default.Date,
|
|
436783
|
+
computed: true,
|
|
436784
|
+
title: "Transcript Added At",
|
|
436785
|
+
description: "When the transcript was added to the call."
|
|
436786
|
+
}),
|
|
436787
|
+
Column({
|
|
436788
|
+
type: ColumnType_default.Date,
|
|
436789
|
+
nullable: true
|
|
436790
|
+
})
|
|
436791
|
+
], IncidentVideoCall.prototype, "transcriptAddedAt", 2);
|
|
436792
|
+
__decorateClass([
|
|
436793
|
+
ColumnAccessControl_default({
|
|
436794
|
+
create: [],
|
|
436795
|
+
read: readPermissions16,
|
|
436796
|
+
update: []
|
|
436797
|
+
}),
|
|
436798
|
+
TableColumn_default({
|
|
436799
|
+
manyToOneRelationColumn: "transcriptAddedByUserId",
|
|
436800
|
+
type: TableColumnType_default.Entity,
|
|
436801
|
+
computed: true,
|
|
436802
|
+
modelType: User_default,
|
|
436803
|
+
title: "Transcript Added by User",
|
|
436804
|
+
description: "The person who added the transcript, or had OneUptime read it from the provider. Empty when an API key added it."
|
|
436805
|
+
}),
|
|
436806
|
+
ManyToOne(
|
|
436807
|
+
() => {
|
|
436808
|
+
return User_default;
|
|
436809
|
+
},
|
|
436810
|
+
{
|
|
436811
|
+
eager: false,
|
|
436812
|
+
nullable: true,
|
|
436813
|
+
onDelete: "SET NULL",
|
|
436814
|
+
orphanedRowAction: "nullify"
|
|
436815
|
+
}
|
|
436816
|
+
),
|
|
436817
|
+
JoinColumn({ name: "transcriptAddedByUserId" })
|
|
436818
|
+
], IncidentVideoCall.prototype, "transcriptAddedByUser", 2);
|
|
436819
|
+
__decorateClass([
|
|
436820
|
+
ColumnAccessControl_default({
|
|
436821
|
+
create: [],
|
|
436822
|
+
read: readPermissions16,
|
|
436823
|
+
update: []
|
|
436824
|
+
}),
|
|
436825
|
+
TableColumn_default({
|
|
436826
|
+
type: TableColumnType_default.ObjectID,
|
|
436827
|
+
required: false,
|
|
436828
|
+
computed: true,
|
|
436829
|
+
title: "Transcript Added by User ID",
|
|
436830
|
+
description: "ID of the person who added the transcript.",
|
|
436831
|
+
example: "7c8d9e0f-a1b2-3c4d-9e5f-8a9b0c1d2e3f"
|
|
436832
|
+
}),
|
|
436833
|
+
Column({
|
|
436834
|
+
type: ColumnType_default.ObjectID,
|
|
436835
|
+
nullable: true,
|
|
436836
|
+
transformer: ObjectID.getDatabaseTransformer()
|
|
436837
|
+
})
|
|
436838
|
+
], IncidentVideoCall.prototype, "transcriptAddedByUserId", 2);
|
|
436839
|
+
__decorateClass([
|
|
436840
|
+
ColumnAccessControl_default({
|
|
436841
|
+
create: [],
|
|
436842
|
+
read: readPermissions16,
|
|
436843
|
+
update: []
|
|
436844
|
+
}),
|
|
436845
|
+
TableColumn_default({
|
|
436846
|
+
required: false,
|
|
436847
|
+
type: TableColumnType_default.JSON,
|
|
436848
|
+
computed: true,
|
|
436849
|
+
title: "Call Summary",
|
|
436850
|
+
description: "What OneUptime AI read in the transcript: the root cause the call points at (a suggestion, or that the call did not discuss it enough), what was found, tried, decided and left to do, and open questions - each with the transcript lines it rests on."
|
|
436851
|
+
}),
|
|
436852
|
+
Column({
|
|
436853
|
+
type: ColumnType_default.JSON,
|
|
436854
|
+
nullable: true
|
|
436855
|
+
})
|
|
436856
|
+
], IncidentVideoCall.prototype, "callSummary", 2);
|
|
436857
|
+
__decorateClass([
|
|
436858
|
+
ColumnAccessControl_default({
|
|
436859
|
+
create: [],
|
|
436860
|
+
read: readPermissions16,
|
|
436861
|
+
update: []
|
|
436862
|
+
}),
|
|
436863
|
+
TableColumn_default({
|
|
436864
|
+
required: false,
|
|
436865
|
+
type: TableColumnType_default.ShortText,
|
|
436866
|
+
computed: true,
|
|
436867
|
+
title: "Call Summary Status",
|
|
436868
|
+
description: "Where OneUptime AI's reading of the transcript stands: Pending while it reads, Ready, Failed (Call Summary Status Message says why), or Skipped when AI is off for the project.",
|
|
436869
|
+
example: "Ready"
|
|
436870
|
+
}),
|
|
436871
|
+
Column({
|
|
436872
|
+
nullable: true,
|
|
436873
|
+
type: ColumnType_default.ShortText,
|
|
436874
|
+
length: ColumnLength_default.ShortText
|
|
436875
|
+
})
|
|
436876
|
+
], IncidentVideoCall.prototype, "callSummaryStatus", 2);
|
|
436877
|
+
__decorateClass([
|
|
436878
|
+
ColumnAccessControl_default({
|
|
436879
|
+
create: [],
|
|
436880
|
+
read: readPermissions16,
|
|
436881
|
+
update: []
|
|
436882
|
+
}),
|
|
436883
|
+
TableColumn_default({
|
|
436884
|
+
required: false,
|
|
436885
|
+
type: TableColumnType_default.LongText,
|
|
436886
|
+
computed: true,
|
|
436887
|
+
title: "Call Summary Status Message",
|
|
436888
|
+
description: "Why OneUptime AI did not read the transcript, or could not finish reading it."
|
|
436889
|
+
}),
|
|
436890
|
+
Column({
|
|
436891
|
+
nullable: true,
|
|
436892
|
+
type: ColumnType_default.LongText,
|
|
436893
|
+
length: ColumnLength_default.LongText
|
|
436894
|
+
})
|
|
436895
|
+
], IncidentVideoCall.prototype, "callSummaryStatusMessage", 2);
|
|
436896
|
+
__decorateClass([
|
|
436897
|
+
ColumnAccessControl_default({
|
|
436898
|
+
create: [],
|
|
436899
|
+
read: readPermissions16,
|
|
436900
|
+
update: []
|
|
436901
|
+
}),
|
|
436902
|
+
TableColumn_default({
|
|
436903
|
+
required: false,
|
|
436904
|
+
type: TableColumnType_default.Date,
|
|
436905
|
+
computed: true,
|
|
436906
|
+
title: "Call Summary Updated At",
|
|
436907
|
+
description: "When the Call Summary Status last changed: when OneUptime AI started reading the transcript, or finished."
|
|
436908
|
+
}),
|
|
436909
|
+
Column({
|
|
436910
|
+
type: ColumnType_default.Date,
|
|
436911
|
+
nullable: true
|
|
436912
|
+
})
|
|
436913
|
+
], IncidentVideoCall.prototype, "callSummaryUpdatedAt", 2);
|
|
436914
|
+
__decorateClass([
|
|
436915
|
+
ColumnAccessControl_default({
|
|
436916
|
+
create: [],
|
|
436917
|
+
read: readPermissions16,
|
|
436918
|
+
update: []
|
|
436919
|
+
}),
|
|
436920
|
+
TableColumn_default({
|
|
436921
|
+
required: false,
|
|
436922
|
+
type: TableColumnType_default.ShortText,
|
|
436923
|
+
computed: true,
|
|
436924
|
+
title: "Root Cause Suggestion Status",
|
|
436925
|
+
description: "What a person did with the root cause OneUptime AI suggested from the call: Suggested while it waits, Accepted once used as the incident's root cause, Dismissed. Empty when nothing was suggested.",
|
|
436926
|
+
example: "Suggested"
|
|
436927
|
+
}),
|
|
436928
|
+
Column({
|
|
436929
|
+
nullable: true,
|
|
436930
|
+
type: ColumnType_default.ShortText,
|
|
436931
|
+
length: ColumnLength_default.ShortText
|
|
436932
|
+
})
|
|
436933
|
+
], IncidentVideoCall.prototype, "rootCauseSuggestionStatus", 2);
|
|
436934
|
+
__decorateClass([
|
|
436935
|
+
ColumnAccessControl_default({
|
|
436936
|
+
create: [],
|
|
436937
|
+
read: readPermissions16,
|
|
436938
|
+
update: []
|
|
436939
|
+
}),
|
|
436940
|
+
TableColumn_default({
|
|
436941
|
+
required: false,
|
|
436942
|
+
type: TableColumnType_default.Date,
|
|
436943
|
+
computed: true,
|
|
436944
|
+
title: "Root Cause Suggestion Reviewed At",
|
|
436945
|
+
description: "When a person accepted or dismissed the root cause suggested from the call."
|
|
436946
|
+
}),
|
|
436947
|
+
Column({
|
|
436948
|
+
type: ColumnType_default.Date,
|
|
436949
|
+
nullable: true
|
|
436950
|
+
})
|
|
436951
|
+
], IncidentVideoCall.prototype, "rootCauseSuggestionReviewedAt", 2);
|
|
436952
|
+
__decorateClass([
|
|
436953
|
+
ColumnAccessControl_default({
|
|
436954
|
+
create: [],
|
|
436955
|
+
read: readPermissions16,
|
|
436956
|
+
update: []
|
|
436957
|
+
}),
|
|
436958
|
+
TableColumn_default({
|
|
436959
|
+
manyToOneRelationColumn: "rootCauseSuggestionReviewedByUserId",
|
|
436960
|
+
type: TableColumnType_default.Entity,
|
|
436961
|
+
computed: true,
|
|
436962
|
+
modelType: User_default,
|
|
436963
|
+
title: "Root Cause Suggestion Reviewed by User",
|
|
436964
|
+
description: "The person who accepted or dismissed the root cause suggested from the call."
|
|
436965
|
+
}),
|
|
436966
|
+
ManyToOne(
|
|
436967
|
+
() => {
|
|
436968
|
+
return User_default;
|
|
436969
|
+
},
|
|
436970
|
+
{
|
|
436971
|
+
eager: false,
|
|
436972
|
+
nullable: true,
|
|
436973
|
+
onDelete: "SET NULL",
|
|
436974
|
+
orphanedRowAction: "nullify"
|
|
436975
|
+
}
|
|
436976
|
+
),
|
|
436977
|
+
JoinColumn({ name: "rootCauseSuggestionReviewedByUserId" })
|
|
436978
|
+
], IncidentVideoCall.prototype, "rootCauseSuggestionReviewedByUser", 2);
|
|
436979
|
+
__decorateClass([
|
|
436980
|
+
ColumnAccessControl_default({
|
|
436981
|
+
create: [],
|
|
436982
|
+
read: readPermissions16,
|
|
436983
|
+
update: []
|
|
436984
|
+
}),
|
|
436985
|
+
TableColumn_default({
|
|
436986
|
+
type: TableColumnType_default.ObjectID,
|
|
436987
|
+
required: false,
|
|
436988
|
+
computed: true,
|
|
436989
|
+
title: "Root Cause Suggestion Reviewed by User ID",
|
|
436990
|
+
description: "ID of the person who accepted or dismissed the root cause suggested from the call.",
|
|
436991
|
+
example: "7c8d9e0f-a1b2-3c4d-9e5f-8a9b0c1d2e3f"
|
|
436992
|
+
}),
|
|
436993
|
+
Column({
|
|
436994
|
+
type: ColumnType_default.ObjectID,
|
|
436995
|
+
nullable: true,
|
|
436996
|
+
transformer: ObjectID.getDatabaseTransformer()
|
|
436997
|
+
})
|
|
436998
|
+
], IncidentVideoCall.prototype, "rootCauseSuggestionReviewedByUserId", 2);
|
|
436655
436999
|
__decorateClass([
|
|
436656
437000
|
ColumnAccessControl_default({
|
|
436657
437001
|
create: createPermissions10,
|