@devrev/typescript-sdk 1.1.63 → 1.1.65
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.
|
@@ -33,10 +33,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.VistaGroupItemGroupObjectType = exports.VistaFlavor = exports.UserType = exports.UserState = void 0;
|
|
36
|
+
exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DynamicVistaFilterType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsVistaGroupItemType = exports.ConversationsCreateRequestTypeValue = exports.ContentTemplateType = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.CaveatOperator = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArtifactConfigurationSet = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
|
+
exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.RecordTemplateState = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PrimitiveValueType = exports.PreferencesType = exports.PartsVistaGroupItemType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingDirection = exports.MeetingChannel = exports.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupedVistaFilterType = exports.GroupType = exports.GroupMemberType = exports.GroupItemType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.ExportAuditLogsRequestOperationType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = void 0;
|
|
38
|
+
exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.TableVisualizationColumnPinPosition = exports.TableVisualizationColumnLockPosition = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SnapWidgetInteractionType = exports.SnapWidgetClickInteractionClickAction = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SelectorObject = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = void 0;
|
|
39
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.VistaGroupItemGroupObjectType = exports.VistaFlavor = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = void 0;
|
|
40
40
|
var AccessLevel;
|
|
41
41
|
(function (AccessLevel) {
|
|
42
42
|
AccessLevel["External"] = "external";
|
|
@@ -126,6 +126,7 @@ var AtomType;
|
|
|
126
126
|
(function (AtomType) {
|
|
127
127
|
AtomType["Account"] = "account";
|
|
128
128
|
AtomType["AppFragment"] = "app_fragment";
|
|
129
|
+
AtomType["Article"] = "article";
|
|
129
130
|
AtomType["AuthToken"] = "auth_token";
|
|
130
131
|
AtomType["Capability"] = "capability";
|
|
131
132
|
AtomType["CodeChange"] = "code_change";
|
|
@@ -145,6 +146,7 @@ var AtomType;
|
|
|
145
146
|
AtomType["Link"] = "link";
|
|
146
147
|
AtomType["Linkable"] = "linkable";
|
|
147
148
|
AtomType["Meeting"] = "meeting";
|
|
149
|
+
AtomType["NotificationContentTemplate"] = "notification_content_template";
|
|
148
150
|
AtomType["ObjectMember"] = "object_member";
|
|
149
151
|
AtomType["Opportunity"] = "opportunity";
|
|
150
152
|
AtomType["Product"] = "product";
|
|
@@ -246,6 +248,14 @@ var BooleanExpressionType;
|
|
|
246
248
|
BooleanExpressionType["Or"] = "or";
|
|
247
249
|
BooleanExpressionType["Primitive"] = "primitive";
|
|
248
250
|
})(BooleanExpressionType = exports.BooleanExpressionType || (exports.BooleanExpressionType = {}));
|
|
251
|
+
/** The operator used to compare the key and the value. */
|
|
252
|
+
var CaveatOperator;
|
|
253
|
+
(function (CaveatOperator) {
|
|
254
|
+
CaveatOperator["Eq"] = "eq";
|
|
255
|
+
CaveatOperator["In"] = "in";
|
|
256
|
+
CaveatOperator["Intersects"] = "intersects";
|
|
257
|
+
CaveatOperator["NotEq"] = "not_eq";
|
|
258
|
+
})(CaveatOperator = exports.CaveatOperator || (exports.CaveatOperator = {}));
|
|
249
259
|
/** The role of the entity that is creating the message. */
|
|
250
260
|
var ChatCompletionsRequestMessageRole;
|
|
251
261
|
(function (ChatCompletionsRequestMessageRole) {
|
|
@@ -309,6 +319,10 @@ var CommandSurfaceSurface;
|
|
|
309
319
|
CommandSurfaceSurface["CustomerChat"] = "customer_chat";
|
|
310
320
|
CommandSurfaceSurface["Discussions"] = "discussions";
|
|
311
321
|
})(CommandSurfaceSurface = exports.CommandSurfaceSurface || (exports.CommandSurfaceSurface = {}));
|
|
322
|
+
var ContentTemplateType;
|
|
323
|
+
(function (ContentTemplateType) {
|
|
324
|
+
ContentTemplateType["NotificationContentTemplate"] = "notification_content_template";
|
|
325
|
+
})(ContentTemplateType = exports.ContentTemplateType || (exports.ContentTemplateType = {}));
|
|
312
326
|
var ConversationsCreateRequestTypeValue;
|
|
313
327
|
(function (ConversationsCreateRequestTypeValue) {
|
|
314
328
|
ConversationsCreateRequestTypeValue["Support"] = "support";
|
|
@@ -557,6 +571,14 @@ var EventTimelineEntryUpdatedReactionAction;
|
|
|
557
571
|
EventTimelineEntryUpdatedReactionAction["Added"] = "added";
|
|
558
572
|
EventTimelineEntryUpdatedReactionAction["Removed"] = "removed";
|
|
559
573
|
})(EventTimelineEntryUpdatedReactionAction = exports.EventTimelineEntryUpdatedReactionAction || (exports.EventTimelineEntryUpdatedReactionAction = {}));
|
|
574
|
+
var ExportAuditLogsRequestOperationType;
|
|
575
|
+
(function (ExportAuditLogsRequestOperationType) {
|
|
576
|
+
ExportAuditLogsRequestOperationType["Create"] = "create";
|
|
577
|
+
ExportAuditLogsRequestOperationType["Delete"] = "delete";
|
|
578
|
+
ExportAuditLogsRequestOperationType["Other"] = "other";
|
|
579
|
+
ExportAuditLogsRequestOperationType["Read"] = "read";
|
|
580
|
+
ExportAuditLogsRequestOperationType["Update"] = "update";
|
|
581
|
+
})(ExportAuditLogsRequestOperationType = exports.ExportAuditLogsRequestOperationType || (exports.ExportAuditLogsRequestOperationType = {}));
|
|
560
582
|
var ExternalSystemType;
|
|
561
583
|
(function (ExternalSystemType) {
|
|
562
584
|
ExternalSystemType["Adaas"] = "adaas";
|
|
@@ -660,6 +682,7 @@ var KanbanVisualizationCardAttributePosition;
|
|
|
660
682
|
var LinkEndpointType;
|
|
661
683
|
(function (LinkEndpointType) {
|
|
662
684
|
LinkEndpointType["Account"] = "account";
|
|
685
|
+
LinkEndpointType["Article"] = "article";
|
|
663
686
|
LinkEndpointType["Capability"] = "capability";
|
|
664
687
|
LinkEndpointType["CodeChange"] = "code_change";
|
|
665
688
|
LinkEndpointType["Conversation"] = "conversation";
|
|
@@ -759,6 +782,17 @@ var MeetingChannel;
|
|
|
759
782
|
MeetingChannel["Teams"] = "teams";
|
|
760
783
|
MeetingChannel["Zoom"] = "zoom";
|
|
761
784
|
})(MeetingChannel = exports.MeetingChannel || (exports.MeetingChannel = {}));
|
|
785
|
+
/**
|
|
786
|
+
* Direction of meeting - meetings within an organization are internal.
|
|
787
|
+
* Meetings with external customers can be incoming or outgoing depending
|
|
788
|
+
* on who initiates them.
|
|
789
|
+
*/
|
|
790
|
+
var MeetingDirection;
|
|
791
|
+
(function (MeetingDirection) {
|
|
792
|
+
MeetingDirection["Incoming"] = "incoming";
|
|
793
|
+
MeetingDirection["Internal"] = "internal";
|
|
794
|
+
MeetingDirection["Outgoing"] = "outgoing";
|
|
795
|
+
})(MeetingDirection = exports.MeetingDirection || (exports.MeetingDirection = {}));
|
|
762
796
|
/** The state of meeting. */
|
|
763
797
|
var MeetingState;
|
|
764
798
|
(function (MeetingState) {
|
|
@@ -886,6 +920,20 @@ var PreferencesType;
|
|
|
886
920
|
(function (PreferencesType) {
|
|
887
921
|
PreferencesType["UserPreferences"] = "user_preferences";
|
|
888
922
|
})(PreferencesType = exports.PreferencesType || (exports.PreferencesType = {}));
|
|
923
|
+
/** Type of the value. */
|
|
924
|
+
var PrimitiveValueType;
|
|
925
|
+
(function (PrimitiveValueType) {
|
|
926
|
+
PrimitiveValueType["Attribute"] = "attribute";
|
|
927
|
+
PrimitiveValueType["Bool"] = "bool";
|
|
928
|
+
PrimitiveValueType["Id"] = "id";
|
|
929
|
+
PrimitiveValueType["IdList"] = "id_list";
|
|
930
|
+
PrimitiveValueType["Int"] = "int";
|
|
931
|
+
PrimitiveValueType["IntList"] = "int_list";
|
|
932
|
+
PrimitiveValueType["OverridableEnum"] = "overridable_enum";
|
|
933
|
+
PrimitiveValueType["OverridableEnumList"] = "overridable_enum_list";
|
|
934
|
+
PrimitiveValueType["String"] = "string";
|
|
935
|
+
PrimitiveValueType["StringList"] = "string_list";
|
|
936
|
+
})(PrimitiveValueType = exports.PrimitiveValueType || (exports.PrimitiveValueType = {}));
|
|
889
937
|
/** Status of the question answer. */
|
|
890
938
|
var QuestionAnswerStatus;
|
|
891
939
|
(function (QuestionAnswerStatus) {
|
|
@@ -1087,6 +1135,12 @@ var SearchSortOrderParam;
|
|
|
1087
1135
|
SearchSortOrderParam["Asc"] = "asc";
|
|
1088
1136
|
SearchSortOrderParam["Desc"] = "desc";
|
|
1089
1137
|
})(SearchSortOrderParam = exports.SearchSortOrderParam || (exports.SearchSortOrderParam = {}));
|
|
1138
|
+
/** The object. */
|
|
1139
|
+
var SelectorObject;
|
|
1140
|
+
(function (SelectorObject) {
|
|
1141
|
+
SelectorObject["Actor"] = "actor";
|
|
1142
|
+
SelectorObject["Target"] = "target";
|
|
1143
|
+
})(SelectorObject = exports.SelectorObject || (exports.SelectorObject = {}));
|
|
1090
1144
|
var SendNotificationType;
|
|
1091
1145
|
(function (SendNotificationType) {
|
|
1092
1146
|
SendNotificationType["GenericNotification"] = "generic_notification";
|
|
@@ -1395,6 +1449,7 @@ var TimelineEntriesUpdateRequestType;
|
|
|
1395
1449
|
var TimelineEntryObjectType;
|
|
1396
1450
|
(function (TimelineEntryObjectType) {
|
|
1397
1451
|
TimelineEntryObjectType["Account"] = "account";
|
|
1452
|
+
TimelineEntryObjectType["Article"] = "article";
|
|
1398
1453
|
TimelineEntryObjectType["Capability"] = "capability";
|
|
1399
1454
|
TimelineEntryObjectType["CodeChange"] = "code_change";
|
|
1400
1455
|
TimelineEntryObjectType["Conversation"] = "conversation";
|
|
@@ -1548,6 +1603,9 @@ var WebhookEventType;
|
|
|
1548
1603
|
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
1549
1604
|
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
1550
1605
|
WebhookEventType["AiAgentResponse"] = "ai_agent_response";
|
|
1606
|
+
WebhookEventType["ArticleCreated"] = "article_created";
|
|
1607
|
+
WebhookEventType["ArticleDeleted"] = "article_deleted";
|
|
1608
|
+
WebhookEventType["ArticleUpdated"] = "article_updated";
|
|
1551
1609
|
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
1552
1610
|
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
1553
1611
|
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
@@ -5351,6 +5409,16 @@ class Api extends HttpClient {
|
|
|
5351
5409
|
* @secure
|
|
5352
5410
|
*/
|
|
5353
5411
|
this.uomsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/uoms.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
5412
|
+
/**
|
|
5413
|
+
* @description Creates a vista.
|
|
5414
|
+
*
|
|
5415
|
+
* @tags vistas
|
|
5416
|
+
* @name VistasCreate
|
|
5417
|
+
* @summary Create Vista
|
|
5418
|
+
* @request POST:/vistas.create
|
|
5419
|
+
* @secure
|
|
5420
|
+
*/
|
|
5421
|
+
this.vistasCreate = (data, params = {}) => this.request(Object.assign({ path: `/vistas.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
5354
5422
|
/**
|
|
5355
5423
|
* @description Deletes the requested vista.
|
|
5356
5424
|
*
|