@devrev/typescript-sdk 1.1.54 → 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,8 +33,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = void 0;
|
|
36
|
+
exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.EventTimelineEntryUpdatedReactionAction = 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.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.ConversationsCreateRequestTypeValue = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AccessLevel = void 0;
|
|
37
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = void 0;
|
|
38
38
|
var AccessLevel;
|
|
39
39
|
(function (AccessLevel) {
|
|
40
40
|
AccessLevel["External"] = "external";
|
|
@@ -43,6 +43,12 @@ var AccessLevel;
|
|
|
43
43
|
AccessLevel["Public"] = "public";
|
|
44
44
|
AccessLevel["Restricted"] = "restricted";
|
|
45
45
|
})(AccessLevel = exports.AccessLevel || (exports.AccessLevel = {}));
|
|
46
|
+
/** Content format of the article. */
|
|
47
|
+
var ArticleContentFormat;
|
|
48
|
+
(function (ArticleContentFormat) {
|
|
49
|
+
ArticleContentFormat["Drdfv2"] = "drdfv2";
|
|
50
|
+
ArticleContentFormat["Rt"] = "rt";
|
|
51
|
+
})(ArticleContentFormat = exports.ArticleContentFormat || (exports.ArticleContentFormat = {}));
|
|
46
52
|
/** Status of the article. */
|
|
47
53
|
var ArticleStatus;
|
|
48
54
|
(function (ArticleStatus) {
|
|
@@ -59,15 +65,21 @@ var ArticleType;
|
|
|
59
65
|
})(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
|
|
60
66
|
var AtomType;
|
|
61
67
|
(function (AtomType) {
|
|
68
|
+
AtomType["AuthToken"] = "auth_token";
|
|
62
69
|
AtomType["Capability"] = "capability";
|
|
63
70
|
AtomType["Conversation"] = "conversation";
|
|
64
71
|
AtomType["DevUser"] = "dev_user";
|
|
65
72
|
AtomType["Enhancement"] = "enhancement";
|
|
66
73
|
AtomType["Feature"] = "feature";
|
|
74
|
+
AtomType["Group"] = "group";
|
|
67
75
|
AtomType["Issue"] = "issue";
|
|
76
|
+
AtomType["Link"] = "link";
|
|
68
77
|
AtomType["Product"] = "product";
|
|
69
78
|
AtomType["RevOrg"] = "rev_org";
|
|
70
79
|
AtomType["RevUser"] = "rev_user";
|
|
80
|
+
AtomType["ServiceAccount"] = "service_account";
|
|
81
|
+
AtomType["Sla"] = "sla";
|
|
82
|
+
AtomType["SlaTracker"] = "sla_tracker";
|
|
71
83
|
AtomType["SysUser"] = "sys_user";
|
|
72
84
|
AtomType["Tag"] = "tag";
|
|
73
85
|
AtomType["Ticket"] = "ticket";
|
|
@@ -209,10 +221,30 @@ var DevUserJobTitle;
|
|
|
209
221
|
DevUserJobTitle["Support"] = "support";
|
|
210
222
|
DevUserJobTitle["TechLead"] = "tech_lead";
|
|
211
223
|
})(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
|
|
224
|
+
var ErrorBadRequestCustomizationValidationErrorSubtype;
|
|
225
|
+
(function (ErrorBadRequestCustomizationValidationErrorSubtype) {
|
|
226
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["BadIdType"] = "bad_id_type";
|
|
227
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["DateParseError"] = "date_parse_error";
|
|
228
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["EnumOutOfRange"] = "enum_out_of_range";
|
|
229
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["ExpressionParseError"] = "expression_parse_error";
|
|
230
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldDropped"] = "field_dropped";
|
|
231
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldImmutable"] = "field_immutable";
|
|
232
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldNotInSchema"] = "field_not_in_schema";
|
|
233
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldRequired"] = "field_required";
|
|
234
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FragmentNotFound"] = "fragment_not_found";
|
|
235
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdParseError"] = "id_parse_error";
|
|
236
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdTypeNotAllowed"] = "id_type_not_allowed";
|
|
237
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["InvalidArgument"] = "invalid_argument";
|
|
238
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["TimestampParseError"] = "timestamp_parse_error";
|
|
239
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnknownError"] = "unknown_error";
|
|
240
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnsupportedType"] = "unsupported_type";
|
|
241
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["WrongType"] = "wrong_type";
|
|
242
|
+
})(ErrorBadRequestCustomizationValidationErrorSubtype = exports.ErrorBadRequestCustomizationValidationErrorSubtype || (exports.ErrorBadRequestCustomizationValidationErrorSubtype = {}));
|
|
212
243
|
var ErrorBadRequestType;
|
|
213
244
|
(function (ErrorBadRequestType) {
|
|
214
245
|
ErrorBadRequestType["ArtifactAlreadyAttachedToAParent"] = "artifact_already_attached_to_a_parent";
|
|
215
246
|
ErrorBadRequestType["BadRequest"] = "bad_request";
|
|
247
|
+
ErrorBadRequestType["CustomizationValidationError"] = "customization_validation_error";
|
|
216
248
|
ErrorBadRequestType["InvalidApiVersion"] = "invalid_api_version";
|
|
217
249
|
ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
|
|
218
250
|
ErrorBadRequestType["InvalidField"] = "invalid_field";
|
|
@@ -225,6 +257,7 @@ var ErrorBadRequestType;
|
|
|
225
257
|
ErrorBadRequestType["UnexpectedIdType"] = "unexpected_id_type";
|
|
226
258
|
ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
|
|
227
259
|
ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
|
|
260
|
+
ErrorBadRequestType["WorkflowComponentValidationErrors"] = "workflow_component_validation_errors";
|
|
228
261
|
})(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
|
|
229
262
|
var ErrorBadRequestUnexpectedJsonTypeType;
|
|
230
263
|
(function (ErrorBadRequestUnexpectedJsonTypeType) {
|
|
@@ -235,6 +268,13 @@ var ErrorBadRequestUnexpectedJsonTypeType;
|
|
|
235
268
|
ErrorBadRequestUnexpectedJsonTypeType["Object"] = "object";
|
|
236
269
|
ErrorBadRequestUnexpectedJsonTypeType["String"] = "string";
|
|
237
270
|
})(ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestUnexpectedJsonTypeType || (exports.ErrorBadRequestUnexpectedJsonTypeType = {}));
|
|
271
|
+
var ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType;
|
|
272
|
+
(function (ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType) {
|
|
273
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Field"] = "field";
|
|
274
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Operation"] = "operation";
|
|
275
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Workflow"] = "workflow";
|
|
276
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["WorkflowStep"] = "workflow_step";
|
|
277
|
+
})(ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType || (exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = {}));
|
|
238
278
|
var ErrorConflictType;
|
|
239
279
|
(function (ErrorConflictType) {
|
|
240
280
|
ErrorConflictType["Conflict"] = "conflict";
|
|
@@ -355,6 +395,7 @@ var ListMode;
|
|
|
355
395
|
var MemberType;
|
|
356
396
|
(function (MemberType) {
|
|
357
397
|
MemberType["DevUser"] = "dev_user";
|
|
398
|
+
MemberType["Group"] = "group";
|
|
358
399
|
MemberType["RevUser"] = "rev_user";
|
|
359
400
|
MemberType["SysUser"] = "sys_user";
|
|
360
401
|
})(MemberType = exports.MemberType || (exports.MemberType = {}));
|
|
@@ -685,6 +726,7 @@ var UserType;
|
|
|
685
726
|
(function (UserType) {
|
|
686
727
|
UserType["DevUser"] = "dev_user";
|
|
687
728
|
UserType["RevUser"] = "rev_user";
|
|
729
|
+
UserType["ServiceAccount"] = "service_account";
|
|
688
730
|
UserType["SysUser"] = "sys_user";
|
|
689
731
|
})(UserType = exports.UserType || (exports.UserType = {}));
|
|
690
732
|
/** Defines the state of the group item. */
|
|
@@ -706,9 +748,13 @@ var WebhookEventType;
|
|
|
706
748
|
WebhookEventType["AccountCreated"] = "account_created";
|
|
707
749
|
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
708
750
|
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
751
|
+
WebhookEventType["AiAgentResponse"] = "ai_agent_response";
|
|
709
752
|
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
710
753
|
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
711
754
|
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
755
|
+
WebhookEventType["DashboardCreated"] = "dashboard_created";
|
|
756
|
+
WebhookEventType["DashboardDeleted"] = "dashboard_deleted";
|
|
757
|
+
WebhookEventType["DashboardUpdated"] = "dashboard_updated";
|
|
712
758
|
WebhookEventType["DevUserCreated"] = "dev_user_created";
|
|
713
759
|
WebhookEventType["DevUserDeleted"] = "dev_user_deleted";
|
|
714
760
|
WebhookEventType["DevUserUpdated"] = "dev_user_updated";
|
|
@@ -720,6 +766,9 @@ var WebhookEventType;
|
|
|
720
766
|
WebhookEventType["IncidentCreated"] = "incident_created";
|
|
721
767
|
WebhookEventType["IncidentDeleted"] = "incident_deleted";
|
|
722
768
|
WebhookEventType["IncidentUpdated"] = "incident_updated";
|
|
769
|
+
WebhookEventType["JobCreated"] = "job_created";
|
|
770
|
+
WebhookEventType["JobDeleted"] = "job_deleted";
|
|
771
|
+
WebhookEventType["JobUpdated"] = "job_updated";
|
|
723
772
|
WebhookEventType["LinkCreated"] = "link_created";
|
|
724
773
|
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
725
774
|
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
@@ -737,6 +786,7 @@ var WebhookEventType;
|
|
|
737
786
|
WebhookEventType["RevUserUpdated"] = "rev_user_updated";
|
|
738
787
|
WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
|
|
739
788
|
WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
|
|
789
|
+
WebhookEventType["SlaTrackerFetched"] = "sla_tracker_fetched";
|
|
740
790
|
WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
|
|
741
791
|
WebhookEventType["SurveyCreated"] = "survey_created";
|
|
742
792
|
WebhookEventType["SurveyDeleted"] = "survey_deleted";
|
|
@@ -758,6 +808,9 @@ var WebhookEventType;
|
|
|
758
808
|
WebhookEventType["WebhookCreated"] = "webhook_created";
|
|
759
809
|
WebhookEventType["WebhookDeleted"] = "webhook_deleted";
|
|
760
810
|
WebhookEventType["WebhookUpdated"] = "webhook_updated";
|
|
811
|
+
WebhookEventType["WidgetCreated"] = "widget_created";
|
|
812
|
+
WebhookEventType["WidgetDeleted"] = "widget_deleted";
|
|
813
|
+
WebhookEventType["WidgetUpdated"] = "widget_updated";
|
|
761
814
|
WebhookEventType["WorkCreated"] = "work_created";
|
|
762
815
|
WebhookEventType["WorkDeleted"] = "work_deleted";
|
|
763
816
|
WebhookEventType["WorkFetched"] = "work_fetched";
|
|
@@ -1092,6 +1145,26 @@ class Api extends HttpClient {
|
|
|
1092
1145
|
* @secure
|
|
1093
1146
|
*/
|
|
1094
1147
|
this.artifactsPrepare = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.prepare`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1148
|
+
/**
|
|
1149
|
+
* @description Permanently deletes a version of an artifact.
|
|
1150
|
+
*
|
|
1151
|
+
* @tags artifacts
|
|
1152
|
+
* @name ArtifactsHardDeleteVersion
|
|
1153
|
+
* @summary Delete Artifacts Version
|
|
1154
|
+
* @request POST:/artifacts.versions.delete
|
|
1155
|
+
* @secure
|
|
1156
|
+
*/
|
|
1157
|
+
this.artifactsHardDeleteVersion = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.versions.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1158
|
+
/**
|
|
1159
|
+
* @description Prepares a new version for an artifact, returning the URL and form data to upload the updated file.
|
|
1160
|
+
*
|
|
1161
|
+
* @tags artifacts
|
|
1162
|
+
* @name ArtifactsVersionsPrepare
|
|
1163
|
+
* @summary Prepare Artifacts Versions
|
|
1164
|
+
* @request POST:/artifacts.versions.prepare
|
|
1165
|
+
* @secure
|
|
1166
|
+
*/
|
|
1167
|
+
this.artifactsVersionsPrepare = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.versions.prepare`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1095
1168
|
/**
|
|
1096
1169
|
* @description Gets the specified object.
|
|
1097
1170
|
*
|
|
@@ -1263,7 +1336,7 @@ class Api extends HttpClient {
|
|
|
1263
1336
|
*/
|
|
1264
1337
|
this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1265
1338
|
/**
|
|
1266
|
-
* @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.
|
|
1339
|
+
* @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. Only 5 authentication connections can be created by an organization.
|
|
1267
1340
|
*
|
|
1268
1341
|
* @tags auth-connections, dev-orgs
|
|
1269
1342
|
* @name DevOrgAuthConnectionsCreate
|
|
@@ -1323,7 +1396,7 @@ class Api extends HttpClient {
|
|
|
1323
1396
|
*/
|
|
1324
1397
|
this.devOrgAuthConnectionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1325
1398
|
/**
|
|
1326
|
-
* @description Enable or disable an authentication connection for a Dev organization.
|
|
1399
|
+
* @description Enable or disable an authentication connection for a Dev organization. Atleast one authentication connection must be enabled for a Dev organization.
|
|
1327
1400
|
*
|
|
1328
1401
|
* @tags auth-connections, dev-orgs
|
|
1329
1402
|
* @name DevOrgAuthConnectionsToggle
|
|
@@ -1601,6 +1674,16 @@ class Api extends HttpClient {
|
|
|
1601
1674
|
* @secure
|
|
1602
1675
|
*/
|
|
1603
1676
|
this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1677
|
+
/**
|
|
1678
|
+
* @description Replaces a link.
|
|
1679
|
+
*
|
|
1680
|
+
* @tags links
|
|
1681
|
+
* @name LinksReplace
|
|
1682
|
+
* @summary Replace Links
|
|
1683
|
+
* @request POST:/links.replace
|
|
1684
|
+
* @secure
|
|
1685
|
+
*/
|
|
1686
|
+
this.linksReplace = (data, params = {}) => this.request(Object.assign({ path: `/links.replace`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1604
1687
|
/**
|
|
1605
1688
|
* @description Lists metric definitions matching a filter.
|
|
1606
1689
|
*
|
|
@@ -1621,6 +1704,26 @@ class Api extends HttpClient {
|
|
|
1621
1704
|
* @secure
|
|
1622
1705
|
*/
|
|
1623
1706
|
this.metricDefinitionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1707
|
+
/**
|
|
1708
|
+
* @description Gets a metric tracker.
|
|
1709
|
+
*
|
|
1710
|
+
* @tags slas
|
|
1711
|
+
* @name MetricTrackersGet
|
|
1712
|
+
* @summary Get Metric Tracker
|
|
1713
|
+
* @request GET:/metric-trackers.get
|
|
1714
|
+
* @secure
|
|
1715
|
+
*/
|
|
1716
|
+
this.metricTrackersGet = (query, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1717
|
+
/**
|
|
1718
|
+
* @description Gets a metric tracker.
|
|
1719
|
+
*
|
|
1720
|
+
* @tags slas
|
|
1721
|
+
* @name MetricTrackersGetPost
|
|
1722
|
+
* @summary Get Metric Tracker (POST)
|
|
1723
|
+
* @request POST:/metric-trackers.get
|
|
1724
|
+
* @secure
|
|
1725
|
+
*/
|
|
1726
|
+
this.metricTrackersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1624
1727
|
/**
|
|
1625
1728
|
* @description Creates new [part](https://devrev.ai/docs/product/parts).
|
|
1626
1729
|
*
|
|
@@ -1831,6 +1934,16 @@ class Api extends HttpClient {
|
|
|
1831
1934
|
* @secure
|
|
1832
1935
|
*/
|
|
1833
1936
|
this.revUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1937
|
+
/**
|
|
1938
|
+
* @description Creates a service account.
|
|
1939
|
+
*
|
|
1940
|
+
* @tags service-accounts
|
|
1941
|
+
* @name ServiceAccountsCreate
|
|
1942
|
+
* @summary Create Service Account
|
|
1943
|
+
* @request POST:/service-accounts.create
|
|
1944
|
+
* @secure
|
|
1945
|
+
*/
|
|
1946
|
+
this.serviceAccountsCreate = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1834
1947
|
/**
|
|
1835
1948
|
* @description Gets a service account.
|
|
1836
1949
|
*
|
|
@@ -1856,7 +1969,7 @@ class Api extends HttpClient {
|
|
|
1856
1969
|
*
|
|
1857
1970
|
* @tags slas
|
|
1858
1971
|
* @name SlaTrackersGet
|
|
1859
|
-
* @summary Get
|
|
1972
|
+
* @summary Get SLA Tracker
|
|
1860
1973
|
* @request GET:/sla-trackers.get
|
|
1861
1974
|
* @secure
|
|
1862
1975
|
*/
|
|
@@ -1866,7 +1979,7 @@ class Api extends HttpClient {
|
|
|
1866
1979
|
*
|
|
1867
1980
|
* @tags slas
|
|
1868
1981
|
* @name SlaTrackersGetPost
|
|
1869
|
-
* @summary Get
|
|
1982
|
+
* @summary Get SLA Tracker (POST)
|
|
1870
1983
|
* @request POST:/sla-trackers.get
|
|
1871
1984
|
* @secure
|
|
1872
1985
|
*/
|
|
@@ -1876,7 +1989,7 @@ class Api extends HttpClient {
|
|
|
1876
1989
|
*
|
|
1877
1990
|
* @tags slas
|
|
1878
1991
|
* @name SlaTrackersList
|
|
1879
|
-
* @summary List
|
|
1992
|
+
* @summary List SLA Trackers
|
|
1880
1993
|
* @request GET:/sla-trackers.list
|
|
1881
1994
|
* @secure
|
|
1882
1995
|
*/
|
|
@@ -1886,7 +1999,7 @@ class Api extends HttpClient {
|
|
|
1886
1999
|
*
|
|
1887
2000
|
* @tags slas
|
|
1888
2001
|
* @name SlaTrackersListPost
|
|
1889
|
-
* @summary List
|
|
2002
|
+
* @summary List SLA Trackers (POST)
|
|
1890
2003
|
* @request POST:/sla-trackers.list
|
|
1891
2004
|
* @secure
|
|
1892
2005
|
*/
|
|
@@ -1896,7 +2009,7 @@ class Api extends HttpClient {
|
|
|
1896
2009
|
*
|
|
1897
2010
|
* @tags slas
|
|
1898
2011
|
* @name SlasAssign
|
|
1899
|
-
* @summary Assign
|
|
2012
|
+
* @summary Assign SLAs
|
|
1900
2013
|
* @request POST:/slas.assign
|
|
1901
2014
|
* @secure
|
|
1902
2015
|
*/
|
|
@@ -1906,7 +2019,7 @@ class Api extends HttpClient {
|
|
|
1906
2019
|
*
|
|
1907
2020
|
* @tags slas
|
|
1908
2021
|
* @name SlasCreate
|
|
1909
|
-
* @summary Create
|
|
2022
|
+
* @summary Create SLA
|
|
1910
2023
|
* @request POST:/slas.create
|
|
1911
2024
|
* @secure
|
|
1912
2025
|
*/
|
|
@@ -1916,7 +2029,7 @@ class Api extends HttpClient {
|
|
|
1916
2029
|
*
|
|
1917
2030
|
* @tags slas
|
|
1918
2031
|
* @name SlasGet
|
|
1919
|
-
* @summary Get
|
|
2032
|
+
* @summary Get SLA
|
|
1920
2033
|
* @request GET:/slas.get
|
|
1921
2034
|
* @secure
|
|
1922
2035
|
*/
|
|
@@ -1926,7 +2039,7 @@ class Api extends HttpClient {
|
|
|
1926
2039
|
*
|
|
1927
2040
|
* @tags slas
|
|
1928
2041
|
* @name SlasGetPost
|
|
1929
|
-
* @summary Get
|
|
2042
|
+
* @summary Get SLA (POST)
|
|
1930
2043
|
* @request POST:/slas.get
|
|
1931
2044
|
* @secure
|
|
1932
2045
|
*/
|
|
@@ -1936,7 +2049,7 @@ class Api extends HttpClient {
|
|
|
1936
2049
|
*
|
|
1937
2050
|
* @tags slas
|
|
1938
2051
|
* @name SlasList
|
|
1939
|
-
* @summary List
|
|
2052
|
+
* @summary List SLAs
|
|
1940
2053
|
* @request GET:/slas.list
|
|
1941
2054
|
* @secure
|
|
1942
2055
|
*/
|
|
@@ -1946,7 +2059,7 @@ class Api extends HttpClient {
|
|
|
1946
2059
|
*
|
|
1947
2060
|
* @tags slas
|
|
1948
2061
|
* @name SlasListPost
|
|
1949
|
-
* @summary List
|
|
2062
|
+
* @summary List SLAs (POST)
|
|
1950
2063
|
* @request POST:/slas.list
|
|
1951
2064
|
* @secure
|
|
1952
2065
|
*/
|
|
@@ -1956,7 +2069,7 @@ class Api extends HttpClient {
|
|
|
1956
2069
|
*
|
|
1957
2070
|
* @tags slas
|
|
1958
2071
|
* @name SlasTransition
|
|
1959
|
-
* @summary Transition
|
|
2072
|
+
* @summary Transition SLAs
|
|
1960
2073
|
* @request POST:/slas.transition
|
|
1961
2074
|
* @secure
|
|
1962
2075
|
*/
|
|
@@ -1966,7 +2079,7 @@ class Api extends HttpClient {
|
|
|
1966
2079
|
*
|
|
1967
2080
|
* @tags slas
|
|
1968
2081
|
* @name SlasUpdate
|
|
1969
|
-
* @summary Update
|
|
2082
|
+
* @summary Update SLA
|
|
1970
2083
|
* @request POST:/slas.update
|
|
1971
2084
|
* @secure
|
|
1972
2085
|
*/
|