@devrev/typescript-sdk 1.1.55 → 1.1.59

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,9 +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.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
- exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = 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.MeetingChannel = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventTimelineEntryUpdatedReactionAction = void 0;
38
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = 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 = void 0;
36
+ exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.RecordTemplateState = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = 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.MeetingChannel = exports.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = void 0;
38
+ exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = 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 = void 0;
39
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = void 0;
39
40
  var AccessLevel;
40
41
  (function (AccessLevel) {
41
42
  AccessLevel["External"] = "external";
@@ -77,6 +78,12 @@ var AggregationDetailAggregationType;
77
78
  AggregationDetailAggregationType["Sum"] = "sum";
78
79
  AggregationDetailAggregationType["UniqueCount"] = "unique_count";
79
80
  })(AggregationDetailAggregationType = exports.AggregationDetailAggregationType || (exports.AggregationDetailAggregationType = {}));
81
+ /** Content format of the article. */
82
+ var ArticleContentFormat;
83
+ (function (ArticleContentFormat) {
84
+ ArticleContentFormat["Drdfv2"] = "drdfv2";
85
+ ArticleContentFormat["Rt"] = "rt";
86
+ })(ArticleContentFormat = exports.ArticleContentFormat || (exports.ArticleContentFormat = {}));
80
87
  /** Status of the article. */
81
88
  var ArticleStatus;
82
89
  (function (ArticleStatus) {
@@ -117,6 +124,7 @@ var AtomType;
117
124
  AtomType["Incident"] = "incident";
118
125
  AtomType["Issue"] = "issue";
119
126
  AtomType["Link"] = "link";
127
+ AtomType["Linkable"] = "linkable";
120
128
  AtomType["Meeting"] = "meeting";
121
129
  AtomType["ObjectMember"] = "object_member";
122
130
  AtomType["Opportunity"] = "opportunity";
@@ -124,6 +132,7 @@ var AtomType;
124
132
  AtomType["QuestionAnswer"] = "question_answer";
125
133
  AtomType["RevOrg"] = "rev_org";
126
134
  AtomType["RevUser"] = "rev_user";
135
+ AtomType["Runnable"] = "runnable";
127
136
  AtomType["ServiceAccount"] = "service_account";
128
137
  AtomType["Sla"] = "sla";
129
138
  AtomType["SlaTracker"] = "sla_tracker";
@@ -259,9 +268,11 @@ var CommandStatus;
259
268
  var CommandSurfaceObjectTypes;
260
269
  (function (CommandSurfaceObjectTypes) {
261
270
  CommandSurfaceObjectTypes["Account"] = "account";
271
+ CommandSurfaceObjectTypes["AiAssistantChat"] = "ai_assistant_chat";
262
272
  CommandSurfaceObjectTypes["Article"] = "article";
263
273
  CommandSurfaceObjectTypes["Conversation"] = "conversation";
264
274
  CommandSurfaceObjectTypes["CustomObject"] = "custom_object";
275
+ CommandSurfaceObjectTypes["Dm"] = "dm";
265
276
  CommandSurfaceObjectTypes["Engagement"] = "engagement";
266
277
  CommandSurfaceObjectTypes["Flow"] = "flow";
267
278
  CommandSurfaceObjectTypes["Incident"] = "incident";
@@ -581,6 +592,15 @@ var IssuePriority;
581
592
  IssuePriority["P2"] = "p2";
582
593
  IssuePriority["P3"] = "p3";
583
594
  })(IssuePriority = exports.IssuePriority || (exports.IssuePriority = {}));
595
+ /**
596
+ * Whether the attribute should be placed in the body or footer of the
597
+ * kanban.
598
+ */
599
+ var KanbanVisualizationCardAttributePosition;
600
+ (function (KanbanVisualizationCardAttributePosition) {
601
+ KanbanVisualizationCardAttributePosition["Body"] = "body";
602
+ KanbanVisualizationCardAttributePosition["Footer"] = "footer";
603
+ })(KanbanVisualizationCardAttributePosition = exports.KanbanVisualizationCardAttributePosition || (exports.KanbanVisualizationCardAttributePosition = {}));
584
604
  var LinkEndpointType;
585
605
  (function (LinkEndpointType) {
586
606
  LinkEndpointType["Account"] = "account";
@@ -593,11 +613,13 @@ var LinkEndpointType;
593
613
  LinkEndpointType["Feature"] = "feature";
594
614
  LinkEndpointType["Incident"] = "incident";
595
615
  LinkEndpointType["Issue"] = "issue";
616
+ LinkEndpointType["Linkable"] = "linkable";
596
617
  LinkEndpointType["Meeting"] = "meeting";
597
618
  LinkEndpointType["Opportunity"] = "opportunity";
598
619
  LinkEndpointType["Product"] = "product";
599
620
  LinkEndpointType["RevOrg"] = "rev_org";
600
621
  LinkEndpointType["RevUser"] = "rev_user";
622
+ LinkEndpointType["Runnable"] = "runnable";
601
623
  LinkEndpointType["Task"] = "task";
602
624
  LinkEndpointType["Ticket"] = "ticket";
603
625
  LinkEndpointType["Widget"] = "widget";
@@ -641,6 +663,36 @@ var ListMode;
641
663
  ListMode["After"] = "after";
642
664
  ListMode["Before"] = "before";
643
665
  })(ListMode = exports.ListMode || (exports.ListMode = {}));
666
+ /** The type of the function. */
667
+ var MeerkatWidgetColumnFunctionType;
668
+ (function (MeerkatWidgetColumnFunctionType) {
669
+ MeerkatWidgetColumnFunctionType["Avg"] = "avg";
670
+ MeerkatWidgetColumnFunctionType["Count"] = "count";
671
+ MeerkatWidgetColumnFunctionType["CountDistinct"] = "count_distinct";
672
+ MeerkatWidgetColumnFunctionType["Max"] = "max";
673
+ MeerkatWidgetColumnFunctionType["Median"] = "median";
674
+ MeerkatWidgetColumnFunctionType["Min"] = "min";
675
+ MeerkatWidgetColumnFunctionType["Sum"] = "sum";
676
+ })(MeerkatWidgetColumnFunctionType = exports.MeerkatWidgetColumnFunctionType || (exports.MeerkatWidgetColumnFunctionType = {}));
677
+ /** The rollup granularity for the timestamp. */
678
+ var MeerkatWidgetColumnProjectionTimestampRollup;
679
+ (function (MeerkatWidgetColumnProjectionTimestampRollup) {
680
+ MeerkatWidgetColumnProjectionTimestampRollup["Day"] = "day";
681
+ MeerkatWidgetColumnProjectionTimestampRollup["Hour"] = "hour";
682
+ MeerkatWidgetColumnProjectionTimestampRollup["Month"] = "month";
683
+ MeerkatWidgetColumnProjectionTimestampRollup["Week"] = "week";
684
+ MeerkatWidgetColumnProjectionTimestampRollup["Year"] = "year";
685
+ })(MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnProjectionTimestampRollup || (exports.MeerkatWidgetColumnProjectionTimestampRollup = {}));
686
+ /** The data type of the column generated by the SQL expression. */
687
+ var MeerkatWidgetColumnProjectionType;
688
+ (function (MeerkatWidgetColumnProjectionType) {
689
+ MeerkatWidgetColumnProjectionType["Boolean"] = "boolean";
690
+ MeerkatWidgetColumnProjectionType["Number"] = "number";
691
+ MeerkatWidgetColumnProjectionType["NumberArray"] = "number_array";
692
+ MeerkatWidgetColumnProjectionType["String"] = "string";
693
+ MeerkatWidgetColumnProjectionType["StringArray"] = "string_array";
694
+ MeerkatWidgetColumnProjectionType["Time"] = "time";
695
+ })(MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionType || (exports.MeerkatWidgetColumnProjectionType = {}));
644
696
  /** The channel of meeting. */
645
697
  var MeetingChannel;
646
698
  (function (MeetingChannel) {
@@ -764,7 +816,9 @@ var PartType;
764
816
  PartType["Capability"] = "capability";
765
817
  PartType["Enhancement"] = "enhancement";
766
818
  PartType["Feature"] = "feature";
819
+ PartType["Linkable"] = "linkable";
767
820
  PartType["Product"] = "product";
821
+ PartType["Runnable"] = "runnable";
768
822
  })(PartType = exports.PartType || (exports.PartType = {}));
769
823
  var PreferencesType;
770
824
  (function (PreferencesType) {
@@ -784,6 +838,14 @@ var ReactionsUpdateRequestAction;
784
838
  ReactionsUpdateRequestAction["Add"] = "add";
785
839
  ReactionsUpdateRequestAction["Remove"] = "remove";
786
840
  })(ReactionsUpdateRequestAction = exports.ReactionsUpdateRequestAction || (exports.ReactionsUpdateRequestAction = {}));
841
+ /** State of the record template. */
842
+ var RecordTemplateState;
843
+ (function (RecordTemplateState) {
844
+ RecordTemplateState["Active"] = "active";
845
+ RecordTemplateState["Draft"] = "draft";
846
+ RecordTemplateState["Inactive"] = "inactive";
847
+ RecordTemplateState["NeedsAttention"] = "needs_attention";
848
+ })(RecordTemplateState = exports.RecordTemplateState || (exports.RecordTemplateState = {}));
787
849
  /** Privileges the role provides. */
788
850
  var RolePrivileges;
789
851
  (function (RolePrivileges) {
@@ -1193,6 +1255,24 @@ var SyncUnitSyncType;
1193
1255
  SyncUnitSyncType["Manual"] = "manual";
1194
1256
  SyncUnitSyncType["Periodic"] = "periodic";
1195
1257
  })(SyncUnitSyncType = exports.SyncUnitSyncType || (exports.SyncUnitSyncType = {}));
1258
+ /**
1259
+ * Whether the column should be locked to the left or right side of the
1260
+ * table.
1261
+ */
1262
+ var TableVisualizationColumnLockPosition;
1263
+ (function (TableVisualizationColumnLockPosition) {
1264
+ TableVisualizationColumnLockPosition["Left"] = "left";
1265
+ TableVisualizationColumnLockPosition["Right"] = "right";
1266
+ })(TableVisualizationColumnLockPosition = exports.TableVisualizationColumnLockPosition || (exports.TableVisualizationColumnLockPosition = {}));
1267
+ /**
1268
+ * Whether the column should be pinned to the left or right side of the
1269
+ * table.
1270
+ */
1271
+ var TableVisualizationColumnPinPosition;
1272
+ (function (TableVisualizationColumnPinPosition) {
1273
+ TableVisualizationColumnPinPosition["Left"] = "left";
1274
+ TableVisualizationColumnPinPosition["Right"] = "right";
1275
+ })(TableVisualizationColumnPinPosition = exports.TableVisualizationColumnPinPosition || (exports.TableVisualizationColumnPinPosition = {}));
1196
1276
  /** Priority of the work based upon impact and criticality. */
1197
1277
  var TaskPriority;
1198
1278
  (function (TaskPriority) {
@@ -1263,11 +1343,13 @@ var TimelineEntryObjectType;
1263
1343
  TimelineEntryObjectType["Feature"] = "feature";
1264
1344
  TimelineEntryObjectType["Incident"] = "incident";
1265
1345
  TimelineEntryObjectType["Issue"] = "issue";
1346
+ TimelineEntryObjectType["Linkable"] = "linkable";
1266
1347
  TimelineEntryObjectType["Meeting"] = "meeting";
1267
1348
  TimelineEntryObjectType["Opportunity"] = "opportunity";
1268
1349
  TimelineEntryObjectType["Product"] = "product";
1269
1350
  TimelineEntryObjectType["RevOrg"] = "rev_org";
1270
1351
  TimelineEntryObjectType["RevUser"] = "rev_user";
1352
+ TimelineEntryObjectType["Runnable"] = "runnable";
1271
1353
  TimelineEntryObjectType["SnapIn"] = "snap_in";
1272
1354
  TimelineEntryObjectType["Task"] = "task";
1273
1355
  TimelineEntryObjectType["Ticket"] = "ticket";
@@ -1362,6 +1444,12 @@ var VistaType;
1362
1444
  VistaType["Dynamic"] = "dynamic";
1363
1445
  VistaType["Grouped"] = "grouped";
1364
1446
  })(VistaType = exports.VistaType || (exports.VistaType = {}));
1447
+ /** The type of the color. */
1448
+ var VisualizationAxisColorType;
1449
+ (function (VisualizationAxisColorType) {
1450
+ VisualizationAxisColorType["KeyLookup"] = "key_lookup";
1451
+ VisualizationAxisColorType["Static"] = "static";
1452
+ })(VisualizationAxisColorType = exports.VisualizationAxisColorType || (exports.VisualizationAxisColorType = {}));
1365
1453
  /** State of the web crawler job. */
1366
1454
  var WebCrawlerJobState;
1367
1455
  (function (WebCrawlerJobState) {
@@ -1421,6 +1509,7 @@ var WebhookEventType;
1421
1509
  WebhookEventType["RevUserUpdated"] = "rev_user_updated";
1422
1510
  WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
1423
1511
  WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
1512
+ WebhookEventType["SlaTrackerFetched"] = "sla_tracker_fetched";
1424
1513
  WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
1425
1514
  WebhookEventType["SurveyCreated"] = "survey_created";
1426
1515
  WebhookEventType["SurveyDeleted"] = "survey_deleted";
@@ -1463,6 +1552,44 @@ var WebhooksUpdateAction;
1463
1552
  WebhooksUpdateAction["Activate"] = "activate";
1464
1553
  WebhooksUpdateAction["Deactivate"] = "deactivate";
1465
1554
  })(WebhooksUpdateAction = exports.WebhooksUpdateAction || (exports.WebhooksUpdateAction = {}));
1555
+ /** The type of the column. */
1556
+ var WidgetColumnProjectionType;
1557
+ (function (WidgetColumnProjectionType) {
1558
+ WidgetColumnProjectionType["CustomField"] = "custom_field";
1559
+ WidgetColumnProjectionType["Native"] = "native";
1560
+ })(WidgetColumnProjectionType = exports.WidgetColumnProjectionType || (exports.WidgetColumnProjectionType = {}));
1561
+ /** The type of the data source. */
1562
+ var WidgetDataSourceType;
1563
+ (function (WidgetDataSourceType) {
1564
+ WidgetDataSourceType["Api"] = "api";
1565
+ WidgetDataSourceType["DataSource"] = "data_source";
1566
+ WidgetDataSourceType["DataView"] = "data_view";
1567
+ WidgetDataSourceType["ExternalDataSource"] = "external_data_source";
1568
+ WidgetDataSourceType["Oasis"] = "oasis";
1569
+ })(WidgetDataSourceType = exports.WidgetDataSourceType || (exports.WidgetDataSourceType = {}));
1570
+ /** The direction of the sort. */
1571
+ var WidgetQueryOrderByDirection;
1572
+ (function (WidgetQueryOrderByDirection) {
1573
+ WidgetQueryOrderByDirection["Ascending"] = "ascending";
1574
+ WidgetQueryOrderByDirection["Descending"] = "descending";
1575
+ })(WidgetQueryOrderByDirection = exports.WidgetQueryOrderByDirection || (exports.WidgetQueryOrderByDirection = {}));
1576
+ /** The type of the visualization, such as line, bar, pie, etc. */
1577
+ var WidgetVisualizationType;
1578
+ (function (WidgetVisualizationType) {
1579
+ WidgetVisualizationType["Bar"] = "bar";
1580
+ WidgetVisualizationType["Column"] = "column";
1581
+ WidgetVisualizationType["Combination"] = "combination";
1582
+ WidgetVisualizationType["Donut"] = "donut";
1583
+ WidgetVisualizationType["Heatmap"] = "heatmap";
1584
+ WidgetVisualizationType["Kanban"] = "kanban";
1585
+ WidgetVisualizationType["Line"] = "line";
1586
+ WidgetVisualizationType["Metric"] = "metric";
1587
+ WidgetVisualizationType["PackedBubble"] = "packed_bubble";
1588
+ WidgetVisualizationType["Pie"] = "pie";
1589
+ WidgetVisualizationType["RichText"] = "rich_text";
1590
+ WidgetVisualizationType["Scatter"] = "scatter";
1591
+ WidgetVisualizationType["Table"] = "table";
1592
+ })(WidgetVisualizationType = exports.WidgetVisualizationType || (exports.WidgetVisualizationType = {}));
1466
1593
  var WorkType;
1467
1594
  (function (WorkType) {
1468
1595
  WorkType["Issue"] = "issue";
@@ -1861,6 +1988,16 @@ class Api extends HttpClient {
1861
1988
  * @secure
1862
1989
  */
1863
1990
  this.artifactsPrepare = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.prepare`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1991
+ /**
1992
+ * @description Permanently deletes a version of an artifact.
1993
+ *
1994
+ * @tags artifacts
1995
+ * @name ArtifactsHardDeleteVersion
1996
+ * @summary Delete Artifacts Version
1997
+ * @request POST:/artifacts.versions.delete
1998
+ * @secure
1999
+ */
2000
+ this.artifactsHardDeleteVersion = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.versions.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1864
2001
  /**
1865
2002
  * @description Prepares a new version for an artifact, returning the URL and form data to upload the updated file.
1866
2003
  *
@@ -2001,6 +2138,76 @@ class Api extends HttpClient {
2001
2138
  * @secure
2002
2139
  */
2003
2140
  this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2141
+ /**
2142
+ * @description Creates a new brand.
2143
+ *
2144
+ * @tags brands
2145
+ * @name BrandsCreate
2146
+ * @summary Create Brand
2147
+ * @request POST:/brands.create
2148
+ * @secure
2149
+ */
2150
+ this.brandsCreate = (data, params = {}) => this.request(Object.assign({ path: `/brands.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2151
+ /**
2152
+ * @description Deletes a brand by its ID.
2153
+ *
2154
+ * @tags brands
2155
+ * @name BrandsDelete
2156
+ * @summary Delete Brand
2157
+ * @request POST:/brands.delete
2158
+ * @secure
2159
+ */
2160
+ this.brandsDelete = (data, params = {}) => this.request(Object.assign({ path: `/brands.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2161
+ /**
2162
+ * @description Gets a brand by its ID.
2163
+ *
2164
+ * @tags brands
2165
+ * @name BrandsGet
2166
+ * @summary Get Brand
2167
+ * @request GET:/brands.get
2168
+ * @secure
2169
+ */
2170
+ this.brandsGet = (query, params = {}) => this.request(Object.assign({ path: `/brands.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2171
+ /**
2172
+ * @description Gets a brand by its ID.
2173
+ *
2174
+ * @tags brands
2175
+ * @name BrandsGetPost
2176
+ * @summary Get Brand (POST)
2177
+ * @request POST:/brands.get
2178
+ * @secure
2179
+ */
2180
+ this.brandsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/brands.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2181
+ /**
2182
+ * @description Lists all brands.
2183
+ *
2184
+ * @tags brands
2185
+ * @name BrandsList
2186
+ * @summary List Brands
2187
+ * @request GET:/brands.list
2188
+ * @secure
2189
+ */
2190
+ this.brandsList = (query, params = {}) => this.request(Object.assign({ path: `/brands.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2191
+ /**
2192
+ * @description Lists all brands.
2193
+ *
2194
+ * @tags brands
2195
+ * @name BrandsListPost
2196
+ * @summary List Brands (POST)
2197
+ * @request POST:/brands.list
2198
+ * @secure
2199
+ */
2200
+ this.brandsListPost = (data, params = {}) => this.request(Object.assign({ path: `/brands.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2201
+ /**
2202
+ * @description Updates a brand by its ID.
2203
+ *
2204
+ * @tags brands
2205
+ * @name BrandsUpdate
2206
+ * @summary Update Brand
2207
+ * @request POST:/brands.update
2208
+ * @secure
2209
+ */
2210
+ this.brandsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/brands.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2004
2211
  /**
2005
2212
  * @description Creates a new chat, or optionally opens an existing one.
2006
2213
  *
@@ -3180,6 +3387,16 @@ class Api extends HttpClient {
3180
3387
  * @secure
3181
3388
  */
3182
3389
  this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3390
+ /**
3391
+ * @description Replaces a link.
3392
+ *
3393
+ * @tags links
3394
+ * @name LinksReplace
3395
+ * @summary Replace Links
3396
+ * @request POST:/links.replace
3397
+ * @secure
3398
+ */
3399
+ this.linksReplace = (data, params = {}) => this.request(Object.assign({ path: `/links.replace`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3183
3400
  /**
3184
3401
  * @description Counts the meeting records.
3185
3402
  *
@@ -3350,6 +3567,26 @@ class Api extends HttpClient {
3350
3567
  * @secure
3351
3568
  */
3352
3569
  this.metricDefinitionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3570
+ /**
3571
+ * @description Gets a metric tracker.
3572
+ *
3573
+ * @tags slas
3574
+ * @name MetricTrackersGet
3575
+ * @summary Get Metric Tracker
3576
+ * @request GET:/metric-trackers.get
3577
+ * @secure
3578
+ */
3579
+ this.metricTrackersGet = (query, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
3580
+ /**
3581
+ * @description Gets a metric tracker.
3582
+ *
3583
+ * @tags slas
3584
+ * @name MetricTrackersGetPost
3585
+ * @summary Get Metric Tracker (POST)
3586
+ * @request POST:/metric-trackers.get
3587
+ * @secure
3588
+ */
3589
+ this.metricTrackersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3353
3590
  /**
3354
3591
  * @description Ingest endpoint for DevRev metrics data from clients.
3355
3592
  *
@@ -3730,6 +3967,26 @@ class Api extends HttpClient {
3730
3967
  * @secure
3731
3968
  */
3732
3969
  this.getReply = (data, params = {}) => this.request(Object.assign({ path: `/recommendations.get-reply`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3970
+ /**
3971
+ * @description Gets a record template object.
3972
+ *
3973
+ * @tags record-templates
3974
+ * @name RecordTemplateGet
3975
+ * @summary Get Record Template
3976
+ * @request GET:/record-templates.get
3977
+ * @secure
3978
+ */
3979
+ this.recordTemplateGet = (query, params = {}) => this.request(Object.assign({ path: `/record-templates.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
3980
+ /**
3981
+ * @description Gets a record template object.
3982
+ *
3983
+ * @tags record-templates
3984
+ * @name RecordTemplateGetPost
3985
+ * @summary Get Record Template (POST)
3986
+ * @request POST:/record-templates.get
3987
+ * @secure
3988
+ */
3989
+ this.recordTemplateGetPost = (data, params = {}) => this.request(Object.assign({ path: `/record-templates.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3733
3990
  /**
3734
3991
  * @description Creates a Rev organization in the authenticated user's Dev organization.
3735
3992
  *
@@ -4182,6 +4439,16 @@ class Api extends HttpClient {
4182
4439
  * @secure
4183
4440
  */
4184
4441
  this.searchHybridPost = (data, params = {}) => this.request(Object.assign({ path: `/search.hybrid`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4442
+ /**
4443
+ * @description Creates a service account.
4444
+ *
4445
+ * @tags service-accounts
4446
+ * @name ServiceAccountsCreate
4447
+ * @summary Create Service Account
4448
+ * @request POST:/service-accounts.create
4449
+ * @secure
4450
+ */
4451
+ this.serviceAccountsCreate = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4185
4452
  /**
4186
4453
  * @description Gets a service account.
4187
4454
  *
@@ -4562,6 +4829,36 @@ class Api extends HttpClient {
4562
4829
  * @secure
4563
4830
  */
4564
4831
  this.customStatesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4832
+ /**
4833
+ * @description Lists subscribers of an object.
4834
+ *
4835
+ * @tags subscribers
4836
+ * @name SubscribersList
4837
+ * @summary List Subscribers
4838
+ * @request GET:/subscribers.list
4839
+ * @secure
4840
+ */
4841
+ this.subscribersList = (query, params = {}) => this.request(Object.assign({ path: `/subscribers.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
4842
+ /**
4843
+ * @description Lists subscribers of an object.
4844
+ *
4845
+ * @tags subscribers
4846
+ * @name SubscribersListPost
4847
+ * @summary List Subscribers (POST)
4848
+ * @request POST:/subscribers.list
4849
+ * @secure
4850
+ */
4851
+ this.subscribersListPost = (data, params = {}) => this.request(Object.assign({ path: `/subscribers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4852
+ /**
4853
+ * @description Updates subscribers on the object.
4854
+ *
4855
+ * @tags subscribers
4856
+ * @name SubscribersUpdate
4857
+ * @summary Update Subscriber
4858
+ * @request POST:/subscribers.update
4859
+ * @secure
4860
+ */
4861
+ this.subscribersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/subscribers.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4565
4862
  /**
4566
4863
  * @description Creates a schema for survey, which includes name and description of schema.
4567
4864
  *
@@ -5082,6 +5379,26 @@ class Api extends HttpClient {
5082
5379
  * @secure
5083
5380
  */
5084
5381
  this.webhooksUpdate = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
5382
+ /**
5383
+ * @description Returns the requested widget.
5384
+ *
5385
+ * @tags widgets
5386
+ * @name WidgetsGet
5387
+ * @summary Get Widget
5388
+ * @request GET:/widgets.get
5389
+ * @secure
5390
+ */
5391
+ this.widgetsGet = (query, params = {}) => this.request(Object.assign({ path: `/widgets.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
5392
+ /**
5393
+ * @description Returns the requested widget.
5394
+ *
5395
+ * @tags widgets
5396
+ * @name WidgetsGetPost
5397
+ * @summary Get Widget (POST)
5398
+ * @request POST:/widgets.get
5399
+ * @secure
5400
+ */
5401
+ this.widgetsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/widgets.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
5085
5402
  /**
5086
5403
  * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://devrev.ai/docs/product/tasks) and opportunity work types are supported in the beta version.
5087
5404
  *