@devrev/typescript-sdk 1.1.55 → 1.1.57

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.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.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.WebCrawlerJobState = 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 = 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 = 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) {
@@ -1193,6 +1247,24 @@ var SyncUnitSyncType;
1193
1247
  SyncUnitSyncType["Manual"] = "manual";
1194
1248
  SyncUnitSyncType["Periodic"] = "periodic";
1195
1249
  })(SyncUnitSyncType = exports.SyncUnitSyncType || (exports.SyncUnitSyncType = {}));
1250
+ /**
1251
+ * Whether the column should be locked to the left or right side of the
1252
+ * table.
1253
+ */
1254
+ var TableVisualizationColumnLockPosition;
1255
+ (function (TableVisualizationColumnLockPosition) {
1256
+ TableVisualizationColumnLockPosition["Left"] = "left";
1257
+ TableVisualizationColumnLockPosition["Right"] = "right";
1258
+ })(TableVisualizationColumnLockPosition = exports.TableVisualizationColumnLockPosition || (exports.TableVisualizationColumnLockPosition = {}));
1259
+ /**
1260
+ * Whether the column should be pinned to the left or right side of the
1261
+ * table.
1262
+ */
1263
+ var TableVisualizationColumnPinPosition;
1264
+ (function (TableVisualizationColumnPinPosition) {
1265
+ TableVisualizationColumnPinPosition["Left"] = "left";
1266
+ TableVisualizationColumnPinPosition["Right"] = "right";
1267
+ })(TableVisualizationColumnPinPosition = exports.TableVisualizationColumnPinPosition || (exports.TableVisualizationColumnPinPosition = {}));
1196
1268
  /** Priority of the work based upon impact and criticality. */
1197
1269
  var TaskPriority;
1198
1270
  (function (TaskPriority) {
@@ -1263,11 +1335,13 @@ var TimelineEntryObjectType;
1263
1335
  TimelineEntryObjectType["Feature"] = "feature";
1264
1336
  TimelineEntryObjectType["Incident"] = "incident";
1265
1337
  TimelineEntryObjectType["Issue"] = "issue";
1338
+ TimelineEntryObjectType["Linkable"] = "linkable";
1266
1339
  TimelineEntryObjectType["Meeting"] = "meeting";
1267
1340
  TimelineEntryObjectType["Opportunity"] = "opportunity";
1268
1341
  TimelineEntryObjectType["Product"] = "product";
1269
1342
  TimelineEntryObjectType["RevOrg"] = "rev_org";
1270
1343
  TimelineEntryObjectType["RevUser"] = "rev_user";
1344
+ TimelineEntryObjectType["Runnable"] = "runnable";
1271
1345
  TimelineEntryObjectType["SnapIn"] = "snap_in";
1272
1346
  TimelineEntryObjectType["Task"] = "task";
1273
1347
  TimelineEntryObjectType["Ticket"] = "ticket";
@@ -1362,6 +1436,12 @@ var VistaType;
1362
1436
  VistaType["Dynamic"] = "dynamic";
1363
1437
  VistaType["Grouped"] = "grouped";
1364
1438
  })(VistaType = exports.VistaType || (exports.VistaType = {}));
1439
+ /** The type of the color. */
1440
+ var VisualizationAxisColorType;
1441
+ (function (VisualizationAxisColorType) {
1442
+ VisualizationAxisColorType["KeyLookup"] = "key_lookup";
1443
+ VisualizationAxisColorType["Static"] = "static";
1444
+ })(VisualizationAxisColorType = exports.VisualizationAxisColorType || (exports.VisualizationAxisColorType = {}));
1365
1445
  /** State of the web crawler job. */
1366
1446
  var WebCrawlerJobState;
1367
1447
  (function (WebCrawlerJobState) {
@@ -1421,6 +1501,7 @@ var WebhookEventType;
1421
1501
  WebhookEventType["RevUserUpdated"] = "rev_user_updated";
1422
1502
  WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
1423
1503
  WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
1504
+ WebhookEventType["SlaTrackerFetched"] = "sla_tracker_fetched";
1424
1505
  WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
1425
1506
  WebhookEventType["SurveyCreated"] = "survey_created";
1426
1507
  WebhookEventType["SurveyDeleted"] = "survey_deleted";
@@ -1463,6 +1544,44 @@ var WebhooksUpdateAction;
1463
1544
  WebhooksUpdateAction["Activate"] = "activate";
1464
1545
  WebhooksUpdateAction["Deactivate"] = "deactivate";
1465
1546
  })(WebhooksUpdateAction = exports.WebhooksUpdateAction || (exports.WebhooksUpdateAction = {}));
1547
+ /** The type of the column. */
1548
+ var WidgetColumnProjectionType;
1549
+ (function (WidgetColumnProjectionType) {
1550
+ WidgetColumnProjectionType["CustomField"] = "custom_field";
1551
+ WidgetColumnProjectionType["Native"] = "native";
1552
+ })(WidgetColumnProjectionType = exports.WidgetColumnProjectionType || (exports.WidgetColumnProjectionType = {}));
1553
+ /** The type of the data source. */
1554
+ var WidgetDataSourceType;
1555
+ (function (WidgetDataSourceType) {
1556
+ WidgetDataSourceType["Api"] = "api";
1557
+ WidgetDataSourceType["DataSource"] = "data_source";
1558
+ WidgetDataSourceType["DataView"] = "data_view";
1559
+ WidgetDataSourceType["ExternalDataSource"] = "external_data_source";
1560
+ WidgetDataSourceType["Oasis"] = "oasis";
1561
+ })(WidgetDataSourceType = exports.WidgetDataSourceType || (exports.WidgetDataSourceType = {}));
1562
+ /** The direction of the sort. */
1563
+ var WidgetQueryOrderByDirection;
1564
+ (function (WidgetQueryOrderByDirection) {
1565
+ WidgetQueryOrderByDirection["Ascending"] = "ascending";
1566
+ WidgetQueryOrderByDirection["Descending"] = "descending";
1567
+ })(WidgetQueryOrderByDirection = exports.WidgetQueryOrderByDirection || (exports.WidgetQueryOrderByDirection = {}));
1568
+ /** The type of the visualization, such as line, bar, pie, etc. */
1569
+ var WidgetVisualizationType;
1570
+ (function (WidgetVisualizationType) {
1571
+ WidgetVisualizationType["Bar"] = "bar";
1572
+ WidgetVisualizationType["Column"] = "column";
1573
+ WidgetVisualizationType["Combination"] = "combination";
1574
+ WidgetVisualizationType["Donut"] = "donut";
1575
+ WidgetVisualizationType["Heatmap"] = "heatmap";
1576
+ WidgetVisualizationType["Kanban"] = "kanban";
1577
+ WidgetVisualizationType["Line"] = "line";
1578
+ WidgetVisualizationType["Metric"] = "metric";
1579
+ WidgetVisualizationType["PackedBubble"] = "packed_bubble";
1580
+ WidgetVisualizationType["Pie"] = "pie";
1581
+ WidgetVisualizationType["RichText"] = "rich_text";
1582
+ WidgetVisualizationType["Scatter"] = "scatter";
1583
+ WidgetVisualizationType["Table"] = "table";
1584
+ })(WidgetVisualizationType = exports.WidgetVisualizationType || (exports.WidgetVisualizationType = {}));
1466
1585
  var WorkType;
1467
1586
  (function (WorkType) {
1468
1587
  WorkType["Issue"] = "issue";
@@ -1861,6 +1980,16 @@ class Api extends HttpClient {
1861
1980
  * @secure
1862
1981
  */
1863
1982
  this.artifactsPrepare = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.prepare`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1983
+ /**
1984
+ * @description Permanently deletes a version of an artifact.
1985
+ *
1986
+ * @tags artifacts
1987
+ * @name ArtifactsHardDeleteVersion
1988
+ * @summary Delete Artifacts Version
1989
+ * @request POST:/artifacts.versions.delete
1990
+ * @secure
1991
+ */
1992
+ 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
1993
  /**
1865
1994
  * @description Prepares a new version for an artifact, returning the URL and form data to upload the updated file.
1866
1995
  *
@@ -2001,6 +2130,76 @@ class Api extends HttpClient {
2001
2130
  * @secure
2002
2131
  */
2003
2132
  this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2133
+ /**
2134
+ * @description Creates a new brand.
2135
+ *
2136
+ * @tags brands
2137
+ * @name BrandsCreate
2138
+ * @summary Create Brand
2139
+ * @request POST:/brands.create
2140
+ * @secure
2141
+ */
2142
+ this.brandsCreate = (data, params = {}) => this.request(Object.assign({ path: `/brands.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2143
+ /**
2144
+ * @description Deletes a brand by its ID.
2145
+ *
2146
+ * @tags brands
2147
+ * @name BrandsDelete
2148
+ * @summary Delete Brand
2149
+ * @request POST:/brands.delete
2150
+ * @secure
2151
+ */
2152
+ this.brandsDelete = (data, params = {}) => this.request(Object.assign({ path: `/brands.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2153
+ /**
2154
+ * @description Gets a brand by its ID.
2155
+ *
2156
+ * @tags brands
2157
+ * @name BrandsGet
2158
+ * @summary Get Brand
2159
+ * @request GET:/brands.get
2160
+ * @secure
2161
+ */
2162
+ this.brandsGet = (query, params = {}) => this.request(Object.assign({ path: `/brands.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2163
+ /**
2164
+ * @description Gets a brand by its ID.
2165
+ *
2166
+ * @tags brands
2167
+ * @name BrandsGetPost
2168
+ * @summary Get Brand (POST)
2169
+ * @request POST:/brands.get
2170
+ * @secure
2171
+ */
2172
+ this.brandsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/brands.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2173
+ /**
2174
+ * @description Lists all brands.
2175
+ *
2176
+ * @tags brands
2177
+ * @name BrandsList
2178
+ * @summary List Brands
2179
+ * @request GET:/brands.list
2180
+ * @secure
2181
+ */
2182
+ this.brandsList = (query, params = {}) => this.request(Object.assign({ path: `/brands.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2183
+ /**
2184
+ * @description Lists all brands.
2185
+ *
2186
+ * @tags brands
2187
+ * @name BrandsListPost
2188
+ * @summary List Brands (POST)
2189
+ * @request POST:/brands.list
2190
+ * @secure
2191
+ */
2192
+ this.brandsListPost = (data, params = {}) => this.request(Object.assign({ path: `/brands.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2193
+ /**
2194
+ * @description Updates a brand by its ID.
2195
+ *
2196
+ * @tags brands
2197
+ * @name BrandsUpdate
2198
+ * @summary Update Brand
2199
+ * @request POST:/brands.update
2200
+ * @secure
2201
+ */
2202
+ this.brandsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/brands.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2004
2203
  /**
2005
2204
  * @description Creates a new chat, or optionally opens an existing one.
2006
2205
  *
@@ -3180,6 +3379,16 @@ class Api extends HttpClient {
3180
3379
  * @secure
3181
3380
  */
3182
3381
  this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3382
+ /**
3383
+ * @description Replaces a link.
3384
+ *
3385
+ * @tags links
3386
+ * @name LinksReplace
3387
+ * @summary Replace Links
3388
+ * @request POST:/links.replace
3389
+ * @secure
3390
+ */
3391
+ this.linksReplace = (data, params = {}) => this.request(Object.assign({ path: `/links.replace`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3183
3392
  /**
3184
3393
  * @description Counts the meeting records.
3185
3394
  *
@@ -3350,6 +3559,26 @@ class Api extends HttpClient {
3350
3559
  * @secure
3351
3560
  */
3352
3561
  this.metricDefinitionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3562
+ /**
3563
+ * @description Gets a metric tracker.
3564
+ *
3565
+ * @tags slas
3566
+ * @name MetricTrackersGet
3567
+ * @summary Get Metric Tracker
3568
+ * @request GET:/metric-trackers.get
3569
+ * @secure
3570
+ */
3571
+ this.metricTrackersGet = (query, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
3572
+ /**
3573
+ * @description Gets a metric tracker.
3574
+ *
3575
+ * @tags slas
3576
+ * @name MetricTrackersGetPost
3577
+ * @summary Get Metric Tracker (POST)
3578
+ * @request POST:/metric-trackers.get
3579
+ * @secure
3580
+ */
3581
+ 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
3582
  /**
3354
3583
  * @description Ingest endpoint for DevRev metrics data from clients.
3355
3584
  *
@@ -4182,6 +4411,16 @@ class Api extends HttpClient {
4182
4411
  * @secure
4183
4412
  */
4184
4413
  this.searchHybridPost = (data, params = {}) => this.request(Object.assign({ path: `/search.hybrid`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4414
+ /**
4415
+ * @description Creates a service account.
4416
+ *
4417
+ * @tags service-accounts
4418
+ * @name ServiceAccountsCreate
4419
+ * @summary Create Service Account
4420
+ * @request POST:/service-accounts.create
4421
+ * @secure
4422
+ */
4423
+ 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
4424
  /**
4186
4425
  * @description Gets a service account.
4187
4426
  *
@@ -5082,6 +5321,26 @@ class Api extends HttpClient {
5082
5321
  * @secure
5083
5322
  */
5084
5323
  this.webhooksUpdate = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
5324
+ /**
5325
+ * @description Returns the requested widget.
5326
+ *
5327
+ * @tags widgets
5328
+ * @name WidgetsGet
5329
+ * @summary Get Widget
5330
+ * @request GET:/widgets.get
5331
+ * @secure
5332
+ */
5333
+ this.widgetsGet = (query, params = {}) => this.request(Object.assign({ path: `/widgets.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
5334
+ /**
5335
+ * @description Returns the requested widget.
5336
+ *
5337
+ * @tags widgets
5338
+ * @name WidgetsGetPost
5339
+ * @summary Get Widget (POST)
5340
+ * @request POST:/widgets.get
5341
+ * @secure
5342
+ */
5343
+ this.widgetsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/widgets.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
5085
5344
  /**
5086
5345
  * @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
5346
  *