@devrev/typescript-sdk 1.1.53 → 1.1.55
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.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = void 0;
|
|
36
|
+
exports.SchemaFieldDescriptorFieldType = 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.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 = void 0;
|
|
38
38
|
var AccessLevel;
|
|
39
39
|
(function (AccessLevel) {
|
|
40
40
|
AccessLevel["External"] = "external";
|
|
@@ -59,15 +59,21 @@ var ArticleType;
|
|
|
59
59
|
})(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
|
|
60
60
|
var AtomType;
|
|
61
61
|
(function (AtomType) {
|
|
62
|
+
AtomType["AuthToken"] = "auth_token";
|
|
62
63
|
AtomType["Capability"] = "capability";
|
|
63
64
|
AtomType["Conversation"] = "conversation";
|
|
64
65
|
AtomType["DevUser"] = "dev_user";
|
|
65
66
|
AtomType["Enhancement"] = "enhancement";
|
|
66
67
|
AtomType["Feature"] = "feature";
|
|
68
|
+
AtomType["Group"] = "group";
|
|
67
69
|
AtomType["Issue"] = "issue";
|
|
70
|
+
AtomType["Link"] = "link";
|
|
68
71
|
AtomType["Product"] = "product";
|
|
69
72
|
AtomType["RevOrg"] = "rev_org";
|
|
70
73
|
AtomType["RevUser"] = "rev_user";
|
|
74
|
+
AtomType["ServiceAccount"] = "service_account";
|
|
75
|
+
AtomType["Sla"] = "sla";
|
|
76
|
+
AtomType["SlaTracker"] = "sla_tracker";
|
|
71
77
|
AtomType["SysUser"] = "sys_user";
|
|
72
78
|
AtomType["Tag"] = "tag";
|
|
73
79
|
AtomType["Ticket"] = "ticket";
|
|
@@ -209,10 +215,30 @@ var DevUserJobTitle;
|
|
|
209
215
|
DevUserJobTitle["Support"] = "support";
|
|
210
216
|
DevUserJobTitle["TechLead"] = "tech_lead";
|
|
211
217
|
})(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
|
|
218
|
+
var ErrorBadRequestCustomizationValidationErrorSubtype;
|
|
219
|
+
(function (ErrorBadRequestCustomizationValidationErrorSubtype) {
|
|
220
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["BadIdType"] = "bad_id_type";
|
|
221
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["DateParseError"] = "date_parse_error";
|
|
222
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["EnumOutOfRange"] = "enum_out_of_range";
|
|
223
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["ExpressionParseError"] = "expression_parse_error";
|
|
224
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldDropped"] = "field_dropped";
|
|
225
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldImmutable"] = "field_immutable";
|
|
226
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldNotInSchema"] = "field_not_in_schema";
|
|
227
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldRequired"] = "field_required";
|
|
228
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FragmentNotFound"] = "fragment_not_found";
|
|
229
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdParseError"] = "id_parse_error";
|
|
230
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdTypeNotAllowed"] = "id_type_not_allowed";
|
|
231
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["InvalidArgument"] = "invalid_argument";
|
|
232
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["TimestampParseError"] = "timestamp_parse_error";
|
|
233
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnknownError"] = "unknown_error";
|
|
234
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnsupportedType"] = "unsupported_type";
|
|
235
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["WrongType"] = "wrong_type";
|
|
236
|
+
})(ErrorBadRequestCustomizationValidationErrorSubtype = exports.ErrorBadRequestCustomizationValidationErrorSubtype || (exports.ErrorBadRequestCustomizationValidationErrorSubtype = {}));
|
|
212
237
|
var ErrorBadRequestType;
|
|
213
238
|
(function (ErrorBadRequestType) {
|
|
214
239
|
ErrorBadRequestType["ArtifactAlreadyAttachedToAParent"] = "artifact_already_attached_to_a_parent";
|
|
215
240
|
ErrorBadRequestType["BadRequest"] = "bad_request";
|
|
241
|
+
ErrorBadRequestType["CustomizationValidationError"] = "customization_validation_error";
|
|
216
242
|
ErrorBadRequestType["InvalidApiVersion"] = "invalid_api_version";
|
|
217
243
|
ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
|
|
218
244
|
ErrorBadRequestType["InvalidField"] = "invalid_field";
|
|
@@ -225,6 +251,7 @@ var ErrorBadRequestType;
|
|
|
225
251
|
ErrorBadRequestType["UnexpectedIdType"] = "unexpected_id_type";
|
|
226
252
|
ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
|
|
227
253
|
ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
|
|
254
|
+
ErrorBadRequestType["WorkflowComponentValidationErrors"] = "workflow_component_validation_errors";
|
|
228
255
|
})(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
|
|
229
256
|
var ErrorBadRequestUnexpectedJsonTypeType;
|
|
230
257
|
(function (ErrorBadRequestUnexpectedJsonTypeType) {
|
|
@@ -235,6 +262,13 @@ var ErrorBadRequestUnexpectedJsonTypeType;
|
|
|
235
262
|
ErrorBadRequestUnexpectedJsonTypeType["Object"] = "object";
|
|
236
263
|
ErrorBadRequestUnexpectedJsonTypeType["String"] = "string";
|
|
237
264
|
})(ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestUnexpectedJsonTypeType || (exports.ErrorBadRequestUnexpectedJsonTypeType = {}));
|
|
265
|
+
var ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType;
|
|
266
|
+
(function (ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType) {
|
|
267
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Field"] = "field";
|
|
268
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Operation"] = "operation";
|
|
269
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Workflow"] = "workflow";
|
|
270
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["WorkflowStep"] = "workflow_step";
|
|
271
|
+
})(ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType || (exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = {}));
|
|
238
272
|
var ErrorConflictType;
|
|
239
273
|
(function (ErrorConflictType) {
|
|
240
274
|
ErrorConflictType["Conflict"] = "conflict";
|
|
@@ -269,6 +303,11 @@ var EventFetchedResult;
|
|
|
269
303
|
EventFetchedResult["NotFound"] = "not_found";
|
|
270
304
|
EventFetchedResult["Ok"] = "ok";
|
|
271
305
|
})(EventFetchedResult = exports.EventFetchedResult || (exports.EventFetchedResult = {}));
|
|
306
|
+
var EventTimelineEntryUpdatedReactionAction;
|
|
307
|
+
(function (EventTimelineEntryUpdatedReactionAction) {
|
|
308
|
+
EventTimelineEntryUpdatedReactionAction["Added"] = "added";
|
|
309
|
+
EventTimelineEntryUpdatedReactionAction["Removed"] = "removed";
|
|
310
|
+
})(EventTimelineEntryUpdatedReactionAction = exports.EventTimelineEntryUpdatedReactionAction || (exports.EventTimelineEntryUpdatedReactionAction = {}));
|
|
272
311
|
/** Creation source of the group. */
|
|
273
312
|
var GroupIngestionSource;
|
|
274
313
|
(function (GroupIngestionSource) {
|
|
@@ -350,6 +389,7 @@ var ListMode;
|
|
|
350
389
|
var MemberType;
|
|
351
390
|
(function (MemberType) {
|
|
352
391
|
MemberType["DevUser"] = "dev_user";
|
|
392
|
+
MemberType["Group"] = "group";
|
|
353
393
|
MemberType["RevUser"] = "rev_user";
|
|
354
394
|
MemberType["SysUser"] = "sys_user";
|
|
355
395
|
})(MemberType = exports.MemberType || (exports.MemberType = {}));
|
|
@@ -544,6 +584,11 @@ var SlasFilterAppliesToOperatorType;
|
|
|
544
584
|
SlasFilterAppliesToOperatorType["All"] = "all";
|
|
545
585
|
SlasFilterAppliesToOperatorType["Any"] = "any";
|
|
546
586
|
})(SlasFilterAppliesToOperatorType = exports.SlasFilterAppliesToOperatorType || (exports.SlasFilterAppliesToOperatorType = {}));
|
|
587
|
+
var SnapKitActionRequestElementTypeValue;
|
|
588
|
+
(function (SnapKitActionRequestElementTypeValue) {
|
|
589
|
+
SnapKitActionRequestElementTypeValue["Button"] = "button";
|
|
590
|
+
SnapKitActionRequestElementTypeValue["Form"] = "form";
|
|
591
|
+
})(SnapKitActionRequestElementTypeValue = exports.SnapKitActionRequestElementTypeValue || (exports.SnapKitActionRequestElementTypeValue = {}));
|
|
547
592
|
/** Type of stage validation options when creating an object. */
|
|
548
593
|
var StageValidationOptionForCreate;
|
|
549
594
|
(function (StageValidationOptionForCreate) {
|
|
@@ -675,6 +720,7 @@ var UserType;
|
|
|
675
720
|
(function (UserType) {
|
|
676
721
|
UserType["DevUser"] = "dev_user";
|
|
677
722
|
UserType["RevUser"] = "rev_user";
|
|
723
|
+
UserType["ServiceAccount"] = "service_account";
|
|
678
724
|
UserType["SysUser"] = "sys_user";
|
|
679
725
|
})(UserType = exports.UserType || (exports.UserType = {}));
|
|
680
726
|
/** Defines the state of the group item. */
|
|
@@ -696,9 +742,13 @@ var WebhookEventType;
|
|
|
696
742
|
WebhookEventType["AccountCreated"] = "account_created";
|
|
697
743
|
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
698
744
|
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
745
|
+
WebhookEventType["AiAgentResponse"] = "ai_agent_response";
|
|
699
746
|
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
700
747
|
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
701
748
|
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
749
|
+
WebhookEventType["DashboardCreated"] = "dashboard_created";
|
|
750
|
+
WebhookEventType["DashboardDeleted"] = "dashboard_deleted";
|
|
751
|
+
WebhookEventType["DashboardUpdated"] = "dashboard_updated";
|
|
702
752
|
WebhookEventType["DevUserCreated"] = "dev_user_created";
|
|
703
753
|
WebhookEventType["DevUserDeleted"] = "dev_user_deleted";
|
|
704
754
|
WebhookEventType["DevUserUpdated"] = "dev_user_updated";
|
|
@@ -710,6 +760,9 @@ var WebhookEventType;
|
|
|
710
760
|
WebhookEventType["IncidentCreated"] = "incident_created";
|
|
711
761
|
WebhookEventType["IncidentDeleted"] = "incident_deleted";
|
|
712
762
|
WebhookEventType["IncidentUpdated"] = "incident_updated";
|
|
763
|
+
WebhookEventType["JobCreated"] = "job_created";
|
|
764
|
+
WebhookEventType["JobDeleted"] = "job_deleted";
|
|
765
|
+
WebhookEventType["JobUpdated"] = "job_updated";
|
|
713
766
|
WebhookEventType["LinkCreated"] = "link_created";
|
|
714
767
|
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
715
768
|
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
@@ -748,6 +801,9 @@ var WebhookEventType;
|
|
|
748
801
|
WebhookEventType["WebhookCreated"] = "webhook_created";
|
|
749
802
|
WebhookEventType["WebhookDeleted"] = "webhook_deleted";
|
|
750
803
|
WebhookEventType["WebhookUpdated"] = "webhook_updated";
|
|
804
|
+
WebhookEventType["WidgetCreated"] = "widget_created";
|
|
805
|
+
WebhookEventType["WidgetDeleted"] = "widget_deleted";
|
|
806
|
+
WebhookEventType["WidgetUpdated"] = "widget_updated";
|
|
751
807
|
WebhookEventType["WorkCreated"] = "work_created";
|
|
752
808
|
WebhookEventType["WorkDeleted"] = "work_deleted";
|
|
753
809
|
WebhookEventType["WorkFetched"] = "work_fetched";
|
|
@@ -1253,7 +1309,7 @@ class Api extends HttpClient {
|
|
|
1253
1309
|
*/
|
|
1254
1310
|
this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1255
1311
|
/**
|
|
1256
|
-
* @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.
|
|
1312
|
+
* @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.
|
|
1257
1313
|
*
|
|
1258
1314
|
* @tags auth-connections, dev-orgs
|
|
1259
1315
|
* @name DevOrgAuthConnectionsCreate
|
|
@@ -1313,7 +1369,7 @@ class Api extends HttpClient {
|
|
|
1313
1369
|
*/
|
|
1314
1370
|
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));
|
|
1315
1371
|
/**
|
|
1316
|
-
* @description Enable or disable an authentication connection for a Dev organization.
|
|
1372
|
+
* @description Enable or disable an authentication connection for a Dev organization. Atleast one authentication connection must be enabled for a Dev organization.
|
|
1317
1373
|
*
|
|
1318
1374
|
* @tags auth-connections, dev-orgs
|
|
1319
1375
|
* @name DevOrgAuthConnectionsToggle
|
|
@@ -1846,7 +1902,7 @@ class Api extends HttpClient {
|
|
|
1846
1902
|
*
|
|
1847
1903
|
* @tags slas
|
|
1848
1904
|
* @name SlaTrackersGet
|
|
1849
|
-
* @summary Get
|
|
1905
|
+
* @summary Get SLA Tracker
|
|
1850
1906
|
* @request GET:/sla-trackers.get
|
|
1851
1907
|
* @secure
|
|
1852
1908
|
*/
|
|
@@ -1856,7 +1912,7 @@ class Api extends HttpClient {
|
|
|
1856
1912
|
*
|
|
1857
1913
|
* @tags slas
|
|
1858
1914
|
* @name SlaTrackersGetPost
|
|
1859
|
-
* @summary Get
|
|
1915
|
+
* @summary Get SLA Tracker (POST)
|
|
1860
1916
|
* @request POST:/sla-trackers.get
|
|
1861
1917
|
* @secure
|
|
1862
1918
|
*/
|
|
@@ -1866,7 +1922,7 @@ class Api extends HttpClient {
|
|
|
1866
1922
|
*
|
|
1867
1923
|
* @tags slas
|
|
1868
1924
|
* @name SlaTrackersList
|
|
1869
|
-
* @summary List
|
|
1925
|
+
* @summary List SLA Trackers
|
|
1870
1926
|
* @request GET:/sla-trackers.list
|
|
1871
1927
|
* @secure
|
|
1872
1928
|
*/
|
|
@@ -1876,7 +1932,7 @@ class Api extends HttpClient {
|
|
|
1876
1932
|
*
|
|
1877
1933
|
* @tags slas
|
|
1878
1934
|
* @name SlaTrackersListPost
|
|
1879
|
-
* @summary List
|
|
1935
|
+
* @summary List SLA Trackers (POST)
|
|
1880
1936
|
* @request POST:/sla-trackers.list
|
|
1881
1937
|
* @secure
|
|
1882
1938
|
*/
|
|
@@ -1886,7 +1942,7 @@ class Api extends HttpClient {
|
|
|
1886
1942
|
*
|
|
1887
1943
|
* @tags slas
|
|
1888
1944
|
* @name SlasAssign
|
|
1889
|
-
* @summary Assign
|
|
1945
|
+
* @summary Assign SLAs
|
|
1890
1946
|
* @request POST:/slas.assign
|
|
1891
1947
|
* @secure
|
|
1892
1948
|
*/
|
|
@@ -1896,7 +1952,7 @@ class Api extends HttpClient {
|
|
|
1896
1952
|
*
|
|
1897
1953
|
* @tags slas
|
|
1898
1954
|
* @name SlasCreate
|
|
1899
|
-
* @summary Create
|
|
1955
|
+
* @summary Create SLA
|
|
1900
1956
|
* @request POST:/slas.create
|
|
1901
1957
|
* @secure
|
|
1902
1958
|
*/
|
|
@@ -1906,7 +1962,7 @@ class Api extends HttpClient {
|
|
|
1906
1962
|
*
|
|
1907
1963
|
* @tags slas
|
|
1908
1964
|
* @name SlasGet
|
|
1909
|
-
* @summary Get
|
|
1965
|
+
* @summary Get SLA
|
|
1910
1966
|
* @request GET:/slas.get
|
|
1911
1967
|
* @secure
|
|
1912
1968
|
*/
|
|
@@ -1916,7 +1972,7 @@ class Api extends HttpClient {
|
|
|
1916
1972
|
*
|
|
1917
1973
|
* @tags slas
|
|
1918
1974
|
* @name SlasGetPost
|
|
1919
|
-
* @summary Get
|
|
1975
|
+
* @summary Get SLA (POST)
|
|
1920
1976
|
* @request POST:/slas.get
|
|
1921
1977
|
* @secure
|
|
1922
1978
|
*/
|
|
@@ -1926,7 +1982,7 @@ class Api extends HttpClient {
|
|
|
1926
1982
|
*
|
|
1927
1983
|
* @tags slas
|
|
1928
1984
|
* @name SlasList
|
|
1929
|
-
* @summary List
|
|
1985
|
+
* @summary List SLAs
|
|
1930
1986
|
* @request GET:/slas.list
|
|
1931
1987
|
* @secure
|
|
1932
1988
|
*/
|
|
@@ -1936,7 +1992,7 @@ class Api extends HttpClient {
|
|
|
1936
1992
|
*
|
|
1937
1993
|
* @tags slas
|
|
1938
1994
|
* @name SlasListPost
|
|
1939
|
-
* @summary List
|
|
1995
|
+
* @summary List SLAs (POST)
|
|
1940
1996
|
* @request POST:/slas.list
|
|
1941
1997
|
* @secure
|
|
1942
1998
|
*/
|
|
@@ -1946,7 +2002,7 @@ class Api extends HttpClient {
|
|
|
1946
2002
|
*
|
|
1947
2003
|
* @tags slas
|
|
1948
2004
|
* @name SlasTransition
|
|
1949
|
-
* @summary Transition
|
|
2005
|
+
* @summary Transition SLAs
|
|
1950
2006
|
* @request POST:/slas.transition
|
|
1951
2007
|
* @secure
|
|
1952
2008
|
*/
|
|
@@ -1956,11 +2012,51 @@ class Api extends HttpClient {
|
|
|
1956
2012
|
*
|
|
1957
2013
|
* @tags slas
|
|
1958
2014
|
* @name SlasUpdate
|
|
1959
|
-
* @summary Update
|
|
2015
|
+
* @summary Update SLA
|
|
1960
2016
|
* @request POST:/slas.update
|
|
1961
2017
|
* @secure
|
|
1962
2018
|
*/
|
|
1963
2019
|
this.slasUpdate = (data, params = {}) => this.request(Object.assign({ path: `/slas.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2020
|
+
/**
|
|
2021
|
+
* @description Executes deferred snap-kit actions.
|
|
2022
|
+
*
|
|
2023
|
+
* @tags snap-kit-execution
|
|
2024
|
+
* @name SnapKitActionExecuteDeferred
|
|
2025
|
+
* @summary Deferred Snap Kit Action Execute
|
|
2026
|
+
* @request POST:/snap-kit-action.execute.deferred
|
|
2027
|
+
* @secure
|
|
2028
|
+
*/
|
|
2029
|
+
this.snapKitActionExecuteDeferred = (data, params = {}) => this.request(Object.assign({ path: `/snap-kit-action.execute.deferred`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2030
|
+
/**
|
|
2031
|
+
* @description List survey responses requested by the user.
|
|
2032
|
+
*
|
|
2033
|
+
* @tags surveys
|
|
2034
|
+
* @name SurveysResponsesList
|
|
2035
|
+
* @summary List Surveys Responses
|
|
2036
|
+
* @request GET:/surveys.responses.list
|
|
2037
|
+
* @secure
|
|
2038
|
+
*/
|
|
2039
|
+
this.surveysResponsesList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2040
|
+
/**
|
|
2041
|
+
* @description List survey responses requested by the user.
|
|
2042
|
+
*
|
|
2043
|
+
* @tags surveys
|
|
2044
|
+
* @name SurveysResponsesListPost
|
|
2045
|
+
* @summary List Surveys Responses (POST)
|
|
2046
|
+
* @request POST:/surveys.responses.list
|
|
2047
|
+
* @secure
|
|
2048
|
+
*/
|
|
2049
|
+
this.surveysResponsesListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2050
|
+
/**
|
|
2051
|
+
* @description Updates a user's survey response for the provided dispatch ID.
|
|
2052
|
+
*
|
|
2053
|
+
* @tags surveys
|
|
2054
|
+
* @name SurveysResponsesUpdate
|
|
2055
|
+
* @summary Update Surveys Response
|
|
2056
|
+
* @request POST:/surveys.responses.update
|
|
2057
|
+
* @secure
|
|
2058
|
+
*/
|
|
2059
|
+
this.surveysResponsesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.responses.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1964
2060
|
/**
|
|
1965
2061
|
* @description Lists system users within your organization.
|
|
1966
2062
|
*
|