@devrev/typescript-sdk 1.1.32 → 1.1.33
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.
|
@@ -34,8 +34,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.GeneralPreferencesGroupPreferredLocale = exports.FieldValueType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
|
-
exports.
|
|
38
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = void 0;
|
|
37
|
+
exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = 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.SlasFilterAppliesToOperatorType = exports.SlaType = 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.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = 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 = void 0;
|
|
38
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = void 0;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -399,7 +399,10 @@ var FieldValueType;
|
|
|
399
399
|
var GeneralPreferencesGroupPreferredLocale;
|
|
400
400
|
(function (GeneralPreferencesGroupPreferredLocale) {
|
|
401
401
|
GeneralPreferencesGroupPreferredLocale["EnUs"] = "en_us";
|
|
402
|
+
GeneralPreferencesGroupPreferredLocale["EsAr"] = "es_ar";
|
|
402
403
|
GeneralPreferencesGroupPreferredLocale["JaJp"] = "ja_jp";
|
|
404
|
+
GeneralPreferencesGroupPreferredLocale["NlAw"] = "nl_aw";
|
|
405
|
+
GeneralPreferencesGroupPreferredLocale["NlSx"] = "nl_sx";
|
|
403
406
|
})(GeneralPreferencesGroupPreferredLocale = exports.GeneralPreferencesGroupPreferredLocale || (exports.GeneralPreferencesGroupPreferredLocale = {}));
|
|
404
407
|
/** Event type of the notification. */
|
|
405
408
|
var GenericNotificationEventType;
|
|
@@ -465,6 +468,7 @@ var LinkType;
|
|
|
465
468
|
LinkType["IsConvertedTo"] = "is_converted_to";
|
|
466
469
|
LinkType["IsDependentOn"] = "is_dependent_on";
|
|
467
470
|
LinkType["IsDuplicateOf"] = "is_duplicate_of";
|
|
471
|
+
LinkType["IsFollowUpOf"] = "is_follow_up_of";
|
|
468
472
|
LinkType["IsMergedInto"] = "is_merged_into";
|
|
469
473
|
LinkType["IsParentOf"] = "is_parent_of";
|
|
470
474
|
LinkType["IsPartOf"] = "is_part_of";
|
|
@@ -499,6 +503,14 @@ var MemberType;
|
|
|
499
503
|
MemberType["RevUser"] = "rev_user";
|
|
500
504
|
MemberType["SysUser"] = "sys_user";
|
|
501
505
|
})(MemberType = exports.MemberType || (exports.MemberType = {}));
|
|
506
|
+
var MetricActionExecuteRequestAction;
|
|
507
|
+
(function (MetricActionExecuteRequestAction) {
|
|
508
|
+
MetricActionExecuteRequestAction["Complete"] = "complete";
|
|
509
|
+
MetricActionExecuteRequestAction["Pause"] = "pause";
|
|
510
|
+
MetricActionExecuteRequestAction["Restart"] = "restart";
|
|
511
|
+
MetricActionExecuteRequestAction["Resume"] = "resume";
|
|
512
|
+
MetricActionExecuteRequestAction["Start"] = "start";
|
|
513
|
+
})(MetricActionExecuteRequestAction = exports.MetricActionExecuteRequestAction || (exports.MetricActionExecuteRequestAction = {}));
|
|
502
514
|
/** The list of item types on which the metric might be applied. */
|
|
503
515
|
var MetricDefinitionAppliesTo;
|
|
504
516
|
(function (MetricDefinitionAppliesTo) {
|
|
@@ -842,6 +854,14 @@ var StockSchemaFragmentsListRequestPrune;
|
|
|
842
854
|
StockSchemaFragmentsListRequestPrune["CompositeSchemas"] = "composite_schemas";
|
|
843
855
|
StockSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
844
856
|
})(StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestPrune || (exports.StockSchemaFragmentsListRequestPrune = {}));
|
|
857
|
+
/** Status of the sync for the object. */
|
|
858
|
+
var SyncInStatus;
|
|
859
|
+
(function (SyncInStatus) {
|
|
860
|
+
SyncInStatus["Failed"] = "failed";
|
|
861
|
+
SyncInStatus["Modified"] = "modified";
|
|
862
|
+
SyncInStatus["Staged"] = "staged";
|
|
863
|
+
SyncInStatus["Succeeded"] = "succeeded";
|
|
864
|
+
})(SyncInStatus = exports.SyncInStatus || (exports.SyncInStatus = {}));
|
|
845
865
|
var SyncMetadataFilterSyncInFilterStatus;
|
|
846
866
|
(function (SyncMetadataFilterSyncInFilterStatus) {
|
|
847
867
|
SyncMetadataFilterSyncInFilterStatus["Failed"] = "failed";
|
|
@@ -854,6 +874,13 @@ var SyncMetadataFilterSyncOutFilterStatus;
|
|
|
854
874
|
SyncMetadataFilterSyncOutFilterStatus["Failed"] = "failed";
|
|
855
875
|
SyncMetadataFilterSyncOutFilterStatus["Succeeded"] = "succeeded";
|
|
856
876
|
})(SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncOutFilterStatus || (exports.SyncMetadataFilterSyncOutFilterStatus = {}));
|
|
877
|
+
/** Status of the sync for the object. */
|
|
878
|
+
var SyncOutStatus;
|
|
879
|
+
(function (SyncOutStatus) {
|
|
880
|
+
SyncOutStatus["Failed"] = "failed";
|
|
881
|
+
SyncOutStatus["Modified"] = "modified";
|
|
882
|
+
SyncOutStatus["Succeeded"] = "succeeded";
|
|
883
|
+
})(SyncOutStatus = exports.SyncOutStatus || (exports.SyncOutStatus = {}));
|
|
857
884
|
/** Priority of the work based upon impact and criticality. */
|
|
858
885
|
var TaskPriority;
|
|
859
886
|
(function (TaskPriority) {
|
|
@@ -1401,6 +1428,15 @@ class Api extends HttpClient {
|
|
|
1401
1428
|
* @secure
|
|
1402
1429
|
*/
|
|
1403
1430
|
this.artifactsVersionsPrepare = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.versions.prepare`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1431
|
+
/**
|
|
1432
|
+
* @description Retrieves audit logs.
|
|
1433
|
+
*
|
|
1434
|
+
* @tags compliance
|
|
1435
|
+
* @name ExportAuditLogs
|
|
1436
|
+
* @request POST:/audit-logs.fetch
|
|
1437
|
+
* @secure
|
|
1438
|
+
*/
|
|
1439
|
+
this.exportAuditLogs = (data, params = {}) => this.request(Object.assign({ path: `/audit-logs.fetch`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1404
1440
|
/**
|
|
1405
1441
|
* @description Creates a JWT corresponding to the requested token type for the authenticated user.
|
|
1406
1442
|
*
|
|
@@ -1662,6 +1698,87 @@ class Api extends HttpClient {
|
|
|
1662
1698
|
* @secure
|
|
1663
1699
|
*/
|
|
1664
1700
|
this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1701
|
+
/**
|
|
1702
|
+
* @description Counts custom objects.
|
|
1703
|
+
*
|
|
1704
|
+
* @tags customization
|
|
1705
|
+
* @name CustomObjectsCount
|
|
1706
|
+
* @request GET:/custom-objects.count
|
|
1707
|
+
* @secure
|
|
1708
|
+
*/
|
|
1709
|
+
this.customObjectsCount = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1710
|
+
/**
|
|
1711
|
+
* @description Counts custom objects.
|
|
1712
|
+
*
|
|
1713
|
+
* @tags customization
|
|
1714
|
+
* @name CustomObjectsCountPost
|
|
1715
|
+
* @request POST:/custom-objects.count
|
|
1716
|
+
* @secure
|
|
1717
|
+
*/
|
|
1718
|
+
this.customObjectsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1719
|
+
/**
|
|
1720
|
+
* @description Creates a custom object.
|
|
1721
|
+
*
|
|
1722
|
+
* @tags customization
|
|
1723
|
+
* @name CustomObjectsCreate
|
|
1724
|
+
* @request POST:/custom-objects.create
|
|
1725
|
+
* @secure
|
|
1726
|
+
*/
|
|
1727
|
+
this.customObjectsCreate = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1728
|
+
/**
|
|
1729
|
+
* @description Deletes a custom object.
|
|
1730
|
+
*
|
|
1731
|
+
* @tags customization
|
|
1732
|
+
* @name CustomObjectsDelete
|
|
1733
|
+
* @request POST:/custom-objects.delete
|
|
1734
|
+
* @secure
|
|
1735
|
+
*/
|
|
1736
|
+
this.customObjectsDelete = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1737
|
+
/**
|
|
1738
|
+
* @description Gets a custom object.
|
|
1739
|
+
*
|
|
1740
|
+
* @tags customization
|
|
1741
|
+
* @name CustomObjectsGet
|
|
1742
|
+
* @request GET:/custom-objects.get
|
|
1743
|
+
* @secure
|
|
1744
|
+
*/
|
|
1745
|
+
this.customObjectsGet = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1746
|
+
/**
|
|
1747
|
+
* @description Gets a custom object.
|
|
1748
|
+
*
|
|
1749
|
+
* @tags customization
|
|
1750
|
+
* @name CustomObjectsGetPost
|
|
1751
|
+
* @request POST:/custom-objects.get
|
|
1752
|
+
* @secure
|
|
1753
|
+
*/
|
|
1754
|
+
this.customObjectsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1755
|
+
/**
|
|
1756
|
+
* @description Lists custom objects.
|
|
1757
|
+
*
|
|
1758
|
+
* @tags customization
|
|
1759
|
+
* @name CustomObjectsList
|
|
1760
|
+
* @request GET:/custom-objects.list
|
|
1761
|
+
* @secure
|
|
1762
|
+
*/
|
|
1763
|
+
this.customObjectsList = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1764
|
+
/**
|
|
1765
|
+
* @description Lists custom objects.
|
|
1766
|
+
*
|
|
1767
|
+
* @tags customization
|
|
1768
|
+
* @name CustomObjectsListPost
|
|
1769
|
+
* @request POST:/custom-objects.list
|
|
1770
|
+
* @secure
|
|
1771
|
+
*/
|
|
1772
|
+
this.customObjectsListPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1773
|
+
/**
|
|
1774
|
+
* @description Updates a custom object.
|
|
1775
|
+
*
|
|
1776
|
+
* @tags customization
|
|
1777
|
+
* @name CustomObjectsUpdate
|
|
1778
|
+
* @request POST:/custom-objects.update
|
|
1779
|
+
* @secure
|
|
1780
|
+
*/
|
|
1781
|
+
this.customObjectsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1665
1782
|
/**
|
|
1666
1783
|
* @description Creates a new enterprise authentication connection for a Dev organization. This authentication connection will not be enabled by default for the organization and the user will need to explicitly enable this. Keep in mind that at a time, only one authentication connection can be enabled for a Dev organization. At present, only 5 enterprise connections can be created by an organization.
|
|
1667
1784
|
*
|
|
@@ -1824,6 +1941,87 @@ class Api extends HttpClient {
|
|
|
1824
1941
|
* @secure
|
|
1825
1942
|
*/
|
|
1826
1943
|
this.devUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1944
|
+
/**
|
|
1945
|
+
* @description Get count of directories matching given filter.
|
|
1946
|
+
*
|
|
1947
|
+
* @tags directory
|
|
1948
|
+
* @name DirectoriesCount
|
|
1949
|
+
* @request GET:/directories.count
|
|
1950
|
+
* @secure
|
|
1951
|
+
*/
|
|
1952
|
+
this.directoriesCount = (query, params = {}) => this.request(Object.assign({ path: `/directories.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1953
|
+
/**
|
|
1954
|
+
* @description Get count of directories matching given filter.
|
|
1955
|
+
*
|
|
1956
|
+
* @tags directory
|
|
1957
|
+
* @name DirectoriesCountPost
|
|
1958
|
+
* @request POST:/directories.count
|
|
1959
|
+
* @secure
|
|
1960
|
+
*/
|
|
1961
|
+
this.directoriesCountPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1962
|
+
/**
|
|
1963
|
+
* @description Creates a directory for the specified inputs.
|
|
1964
|
+
*
|
|
1965
|
+
* @tags directory
|
|
1966
|
+
* @name DirectoriesCreate
|
|
1967
|
+
* @request POST:/directories.create
|
|
1968
|
+
* @secure
|
|
1969
|
+
*/
|
|
1970
|
+
this.directoriesCreate = (data, params = {}) => this.request(Object.assign({ path: `/directories.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1971
|
+
/**
|
|
1972
|
+
* @description Delete the specified directory.
|
|
1973
|
+
*
|
|
1974
|
+
* @tags directory
|
|
1975
|
+
* @name DirectoriesDelete
|
|
1976
|
+
* @request POST:/directories.delete
|
|
1977
|
+
* @secure
|
|
1978
|
+
*/
|
|
1979
|
+
this.directoriesDelete = (data, params = {}) => this.request(Object.assign({ path: `/directories.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1980
|
+
/**
|
|
1981
|
+
* @description Gets the specified directory.
|
|
1982
|
+
*
|
|
1983
|
+
* @tags directory
|
|
1984
|
+
* @name DirectoriesGet
|
|
1985
|
+
* @request GET:/directories.get
|
|
1986
|
+
* @secure
|
|
1987
|
+
*/
|
|
1988
|
+
this.directoriesGet = (query, params = {}) => this.request(Object.assign({ path: `/directories.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1989
|
+
/**
|
|
1990
|
+
* @description Gets the specified directory.
|
|
1991
|
+
*
|
|
1992
|
+
* @tags directory
|
|
1993
|
+
* @name DirectoriesGetPost
|
|
1994
|
+
* @request POST:/directories.get
|
|
1995
|
+
* @secure
|
|
1996
|
+
*/
|
|
1997
|
+
this.directoriesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1998
|
+
/**
|
|
1999
|
+
* @description Lists directories matching the request.
|
|
2000
|
+
*
|
|
2001
|
+
* @tags directory
|
|
2002
|
+
* @name DirectoriesList
|
|
2003
|
+
* @request GET:/directories.list
|
|
2004
|
+
* @secure
|
|
2005
|
+
*/
|
|
2006
|
+
this.directoriesList = (query, params = {}) => this.request(Object.assign({ path: `/directories.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2007
|
+
/**
|
|
2008
|
+
* @description Lists directories matching the request.
|
|
2009
|
+
*
|
|
2010
|
+
* @tags directory
|
|
2011
|
+
* @name DirectoriesListPost
|
|
2012
|
+
* @request POST:/directories.list
|
|
2013
|
+
* @secure
|
|
2014
|
+
*/
|
|
2015
|
+
this.directoriesListPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2016
|
+
/**
|
|
2017
|
+
* @description Updates the specified directory.
|
|
2018
|
+
*
|
|
2019
|
+
* @tags directory
|
|
2020
|
+
* @name DirectoriesUpdate
|
|
2021
|
+
* @request POST:/directories.update
|
|
2022
|
+
* @secure
|
|
2023
|
+
*/
|
|
2024
|
+
this.directoriesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/directories.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1827
2025
|
/**
|
|
1828
2026
|
* @description Counts the engagement records.
|
|
1829
2027
|
*
|
|
@@ -2237,6 +2435,51 @@ class Api extends HttpClient {
|
|
|
2237
2435
|
* @secure
|
|
2238
2436
|
*/
|
|
2239
2437
|
this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2438
|
+
/**
|
|
2439
|
+
* @description Executes the metric action on the given object.
|
|
2440
|
+
*
|
|
2441
|
+
* @tags slas
|
|
2442
|
+
* @name MetricActionExecute
|
|
2443
|
+
* @request POST:/metric-action.execute
|
|
2444
|
+
* @secure
|
|
2445
|
+
*/
|
|
2446
|
+
this.metricActionExecute = (data, params = {}) => this.request(Object.assign({ path: `/metric-action.execute`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2447
|
+
/**
|
|
2448
|
+
* @description Creates a custom metric definition
|
|
2449
|
+
*
|
|
2450
|
+
* @tags slas
|
|
2451
|
+
* @name MetricDefinitionsCreate
|
|
2452
|
+
* @request POST:/metric-definitions.create
|
|
2453
|
+
* @secure
|
|
2454
|
+
*/
|
|
2455
|
+
this.metricDefinitionsCreate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2456
|
+
/**
|
|
2457
|
+
* @description Deletes a custom metric definition
|
|
2458
|
+
*
|
|
2459
|
+
* @tags slas
|
|
2460
|
+
* @name MetricDefinitionsDelete
|
|
2461
|
+
* @request POST:/metric-definitions.delete
|
|
2462
|
+
* @secure
|
|
2463
|
+
*/
|
|
2464
|
+
this.metricDefinitionsDelete = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2465
|
+
/**
|
|
2466
|
+
* @description Gets a custom metric definition
|
|
2467
|
+
*
|
|
2468
|
+
* @tags slas
|
|
2469
|
+
* @name MetricDefinitionsGet
|
|
2470
|
+
* @request GET:/metric-definitions.get
|
|
2471
|
+
* @secure
|
|
2472
|
+
*/
|
|
2473
|
+
this.metricDefinitionsGet = (query, params = {}) => this.request(Object.assign({ path: `/metric-definitions.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2474
|
+
/**
|
|
2475
|
+
* @description Gets a custom metric definition
|
|
2476
|
+
*
|
|
2477
|
+
* @tags slas
|
|
2478
|
+
* @name MetricDefinitionsGetPost
|
|
2479
|
+
* @request POST:/metric-definitions.get
|
|
2480
|
+
* @secure
|
|
2481
|
+
*/
|
|
2482
|
+
this.metricDefinitionsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2240
2483
|
/**
|
|
2241
2484
|
* @description Lists metric definitions matching a filter.
|
|
2242
2485
|
*
|
|
@@ -2255,6 +2498,15 @@ class Api extends HttpClient {
|
|
|
2255
2498
|
* @secure
|
|
2256
2499
|
*/
|
|
2257
2500
|
this.metricDefinitionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2501
|
+
/**
|
|
2502
|
+
* @description Updates a custom metric definition
|
|
2503
|
+
*
|
|
2504
|
+
* @tags slas
|
|
2505
|
+
* @name MetricDefinitionsUpdate
|
|
2506
|
+
* @request POST:/metric-definitions.update
|
|
2507
|
+
* @secure
|
|
2508
|
+
*/
|
|
2509
|
+
this.metricDefinitionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2258
2510
|
/**
|
|
2259
2511
|
* @description Ingest endpoint for DevRev metrics data from clients.
|
|
2260
2512
|
*
|
|
@@ -2606,6 +2858,15 @@ class Api extends HttpClient {
|
|
|
2606
2858
|
* @secure
|
|
2607
2859
|
*/
|
|
2608
2860
|
this.revUsersDelete = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2861
|
+
/**
|
|
2862
|
+
* @description Deletes data of a contact.
|
|
2863
|
+
*
|
|
2864
|
+
* @tags compliance
|
|
2865
|
+
* @name DeleteRevUsersPersonalData
|
|
2866
|
+
* @request POST:/rev-users.delete-personal-data
|
|
2867
|
+
* @secure
|
|
2868
|
+
*/
|
|
2869
|
+
this.deleteRevUsersPersonalData = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.delete-personal-data`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2609
2870
|
/**
|
|
2610
2871
|
* @description Returns the Rev user of a Rev organization by its ID.
|
|
2611
2872
|
*
|
|
@@ -2651,6 +2912,24 @@ class Api extends HttpClient {
|
|
|
2651
2912
|
* @secure
|
|
2652
2913
|
*/
|
|
2653
2914
|
this.revUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2915
|
+
/**
|
|
2916
|
+
* @description Merges the secondary Rev user into the primary Rev user.
|
|
2917
|
+
*
|
|
2918
|
+
* @tags rev-users
|
|
2919
|
+
* @name RevUsersMerge
|
|
2920
|
+
* @request POST:/rev-users.merge
|
|
2921
|
+
* @secure
|
|
2922
|
+
*/
|
|
2923
|
+
this.revUsersMerge = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2924
|
+
/**
|
|
2925
|
+
* @description Retrieves data of a contact.
|
|
2926
|
+
*
|
|
2927
|
+
* @tags compliance
|
|
2928
|
+
* @name GetRevUsersPersonalData
|
|
2929
|
+
* @request POST:/rev-users.personal-data
|
|
2930
|
+
* @secure
|
|
2931
|
+
*/
|
|
2932
|
+
this.getRevUsersPersonalData = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.personal-data`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2654
2933
|
/**
|
|
2655
2934
|
* @description Scans through all Rev users.
|
|
2656
2935
|
*
|
|
@@ -2876,6 +3155,24 @@ class Api extends HttpClient {
|
|
|
2876
3155
|
* @secure
|
|
2877
3156
|
*/
|
|
2878
3157
|
this.slaTrackersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/sla-trackers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3158
|
+
/**
|
|
3159
|
+
* @description Lists SLA trackers matching a filter.
|
|
3160
|
+
*
|
|
3161
|
+
* @tags slas
|
|
3162
|
+
* @name SlaTrackersList
|
|
3163
|
+
* @request GET:/sla-trackers.list
|
|
3164
|
+
* @secure
|
|
3165
|
+
*/
|
|
3166
|
+
this.slaTrackersList = (query, params = {}) => this.request(Object.assign({ path: `/sla-trackers.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3167
|
+
/**
|
|
3168
|
+
* @description Lists SLA trackers matching a filter.
|
|
3169
|
+
*
|
|
3170
|
+
* @tags slas
|
|
3171
|
+
* @name SlaTrackersListPost
|
|
3172
|
+
* @request POST:/sla-trackers.list
|
|
3173
|
+
* @secure
|
|
3174
|
+
*/
|
|
3175
|
+
this.slaTrackersListPost = (data, params = {}) => this.request(Object.assign({ path: `/sla-trackers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2879
3176
|
/**
|
|
2880
3177
|
* @description Assigns the SLA to a set of Rev organizations.
|
|
2881
3178
|
*
|