@devrev/typescript-sdk 1.1.54 → 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,9 +33,9 @@ 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.
|
|
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.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 = void 0;
|
|
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;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -100,22 +100,35 @@ var AtomType;
|
|
|
100
100
|
(function (AtomType) {
|
|
101
101
|
AtomType["Account"] = "account";
|
|
102
102
|
AtomType["AppFragment"] = "app_fragment";
|
|
103
|
+
AtomType["AuthToken"] = "auth_token";
|
|
103
104
|
AtomType["Capability"] = "capability";
|
|
105
|
+
AtomType["CodeChange"] = "code_change";
|
|
106
|
+
AtomType["Command"] = "command";
|
|
104
107
|
AtomType["Conversation"] = "conversation";
|
|
108
|
+
AtomType["CustomObject"] = "custom_object";
|
|
105
109
|
AtomType["CustomTypeFragment"] = "custom_type_fragment";
|
|
110
|
+
AtomType["DevOrg"] = "dev_org";
|
|
106
111
|
AtomType["DevUser"] = "dev_user";
|
|
112
|
+
AtomType["Dm"] = "dm";
|
|
107
113
|
AtomType["Engagement"] = "engagement";
|
|
108
114
|
AtomType["Enhancement"] = "enhancement";
|
|
109
115
|
AtomType["Feature"] = "feature";
|
|
116
|
+
AtomType["Group"] = "group";
|
|
110
117
|
AtomType["Incident"] = "incident";
|
|
111
118
|
AtomType["Issue"] = "issue";
|
|
119
|
+
AtomType["Link"] = "link";
|
|
112
120
|
AtomType["Meeting"] = "meeting";
|
|
121
|
+
AtomType["ObjectMember"] = "object_member";
|
|
113
122
|
AtomType["Opportunity"] = "opportunity";
|
|
114
123
|
AtomType["Product"] = "product";
|
|
115
124
|
AtomType["QuestionAnswer"] = "question_answer";
|
|
116
125
|
AtomType["RevOrg"] = "rev_org";
|
|
117
126
|
AtomType["RevUser"] = "rev_user";
|
|
118
127
|
AtomType["ServiceAccount"] = "service_account";
|
|
128
|
+
AtomType["Sla"] = "sla";
|
|
129
|
+
AtomType["SlaTracker"] = "sla_tracker";
|
|
130
|
+
AtomType["SnapIn"] = "snap_in";
|
|
131
|
+
AtomType["SnapInVersion"] = "snap_in_version";
|
|
119
132
|
AtomType["SysUser"] = "sys_user";
|
|
120
133
|
AtomType["Tag"] = "tag";
|
|
121
134
|
AtomType["Task"] = "task";
|
|
@@ -123,8 +136,10 @@ var AtomType;
|
|
|
123
136
|
AtomType["Ticket"] = "ticket";
|
|
124
137
|
AtomType["TimelineChangeEvent"] = "timeline_change_event";
|
|
125
138
|
AtomType["TimelineComment"] = "timeline_comment";
|
|
139
|
+
AtomType["Uom"] = "uom";
|
|
126
140
|
AtomType["UserPreferences"] = "user_preferences";
|
|
127
141
|
AtomType["Webhook"] = "webhook";
|
|
142
|
+
AtomType["Widget"] = "widget";
|
|
128
143
|
})(AtomType = exports.AtomType || (exports.AtomType = {}));
|
|
129
144
|
var AuthConnectionToggle;
|
|
130
145
|
(function (AuthConnectionToggle) {
|
|
@@ -210,12 +225,17 @@ var ChatCompletionsRequestMessageRole;
|
|
|
210
225
|
ChatCompletionsRequestMessageRole["System"] = "system";
|
|
211
226
|
ChatCompletionsRequestMessageRole["User"] = "user";
|
|
212
227
|
})(ChatCompletionsRequestMessageRole = exports.ChatCompletionsRequestMessageRole || (exports.ChatCompletionsRequestMessageRole = {}));
|
|
228
|
+
var ChatType;
|
|
229
|
+
(function (ChatType) {
|
|
230
|
+
ChatType["Dm"] = "dm";
|
|
231
|
+
})(ChatType = exports.ChatType || (exports.ChatType = {}));
|
|
213
232
|
/** Source of the code change object. */
|
|
214
233
|
var CodeChangeSource;
|
|
215
234
|
(function (CodeChangeSource) {
|
|
216
235
|
CodeChangeSource["AzureDevops"] = "azure_devops";
|
|
217
236
|
CodeChangeSource["Bitbucket"] = "bitbucket";
|
|
218
237
|
CodeChangeSource["Github"] = "github";
|
|
238
|
+
CodeChangeSource["Gitlab"] = "gitlab";
|
|
219
239
|
})(CodeChangeSource = exports.CodeChangeSource || (exports.CodeChangeSource = {}));
|
|
220
240
|
/** Specifies how the action is defined. */
|
|
221
241
|
var CommandActionExecutorType;
|
|
@@ -373,10 +393,37 @@ var EngagementsCreateRequestEngagementType;
|
|
|
373
393
|
EngagementsCreateRequestEngagementType["LinkedIn"] = "linked_in";
|
|
374
394
|
EngagementsCreateRequestEngagementType["Offline"] = "offline";
|
|
375
395
|
})(EngagementsCreateRequestEngagementType = exports.EngagementsCreateRequestEngagementType || (exports.EngagementsCreateRequestEngagementType = {}));
|
|
396
|
+
/** Rev Score tier of the enhancement. */
|
|
397
|
+
var EnhancementRevScoreTier;
|
|
398
|
+
(function (EnhancementRevScoreTier) {
|
|
399
|
+
EnhancementRevScoreTier["High"] = "high";
|
|
400
|
+
EnhancementRevScoreTier["Low"] = "low";
|
|
401
|
+
EnhancementRevScoreTier["Medium"] = "medium";
|
|
402
|
+
})(EnhancementRevScoreTier = exports.EnhancementRevScoreTier || (exports.EnhancementRevScoreTier = {}));
|
|
403
|
+
var ErrorBadRequestCustomizationValidationErrorSubtype;
|
|
404
|
+
(function (ErrorBadRequestCustomizationValidationErrorSubtype) {
|
|
405
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["BadIdType"] = "bad_id_type";
|
|
406
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["DateParseError"] = "date_parse_error";
|
|
407
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["EnumOutOfRange"] = "enum_out_of_range";
|
|
408
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["ExpressionParseError"] = "expression_parse_error";
|
|
409
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldDropped"] = "field_dropped";
|
|
410
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldImmutable"] = "field_immutable";
|
|
411
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldNotInSchema"] = "field_not_in_schema";
|
|
412
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FieldRequired"] = "field_required";
|
|
413
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["FragmentNotFound"] = "fragment_not_found";
|
|
414
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdParseError"] = "id_parse_error";
|
|
415
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["IdTypeNotAllowed"] = "id_type_not_allowed";
|
|
416
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["InvalidArgument"] = "invalid_argument";
|
|
417
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["TimestampParseError"] = "timestamp_parse_error";
|
|
418
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnknownError"] = "unknown_error";
|
|
419
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["UnsupportedType"] = "unsupported_type";
|
|
420
|
+
ErrorBadRequestCustomizationValidationErrorSubtype["WrongType"] = "wrong_type";
|
|
421
|
+
})(ErrorBadRequestCustomizationValidationErrorSubtype = exports.ErrorBadRequestCustomizationValidationErrorSubtype || (exports.ErrorBadRequestCustomizationValidationErrorSubtype = {}));
|
|
376
422
|
var ErrorBadRequestType;
|
|
377
423
|
(function (ErrorBadRequestType) {
|
|
378
424
|
ErrorBadRequestType["ArtifactAlreadyAttachedToAParent"] = "artifact_already_attached_to_a_parent";
|
|
379
425
|
ErrorBadRequestType["BadRequest"] = "bad_request";
|
|
426
|
+
ErrorBadRequestType["CustomizationValidationError"] = "customization_validation_error";
|
|
380
427
|
ErrorBadRequestType["InvalidApiVersion"] = "invalid_api_version";
|
|
381
428
|
ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
|
|
382
429
|
ErrorBadRequestType["InvalidField"] = "invalid_field";
|
|
@@ -389,6 +436,7 @@ var ErrorBadRequestType;
|
|
|
389
436
|
ErrorBadRequestType["UnexpectedIdType"] = "unexpected_id_type";
|
|
390
437
|
ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
|
|
391
438
|
ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
|
|
439
|
+
ErrorBadRequestType["WorkflowComponentValidationErrors"] = "workflow_component_validation_errors";
|
|
392
440
|
})(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
|
|
393
441
|
var ErrorBadRequestUnexpectedJsonTypeType;
|
|
394
442
|
(function (ErrorBadRequestUnexpectedJsonTypeType) {
|
|
@@ -399,6 +447,13 @@ var ErrorBadRequestUnexpectedJsonTypeType;
|
|
|
399
447
|
ErrorBadRequestUnexpectedJsonTypeType["Object"] = "object";
|
|
400
448
|
ErrorBadRequestUnexpectedJsonTypeType["String"] = "string";
|
|
401
449
|
})(ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestUnexpectedJsonTypeType || (exports.ErrorBadRequestUnexpectedJsonTypeType = {}));
|
|
450
|
+
var ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType;
|
|
451
|
+
(function (ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType) {
|
|
452
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Field"] = "field";
|
|
453
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Operation"] = "operation";
|
|
454
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["Workflow"] = "workflow";
|
|
455
|
+
ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType["WorkflowStep"] = "workflow_step";
|
|
456
|
+
})(ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType || (exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = {}));
|
|
402
457
|
var ErrorConflictType;
|
|
403
458
|
(function (ErrorConflictType) {
|
|
404
459
|
ErrorConflictType["Conflict"] = "conflict";
|
|
@@ -530,7 +585,9 @@ var LinkEndpointType;
|
|
|
530
585
|
(function (LinkEndpointType) {
|
|
531
586
|
LinkEndpointType["Account"] = "account";
|
|
532
587
|
LinkEndpointType["Capability"] = "capability";
|
|
588
|
+
LinkEndpointType["CodeChange"] = "code_change";
|
|
533
589
|
LinkEndpointType["Conversation"] = "conversation";
|
|
590
|
+
LinkEndpointType["CustomObject"] = "custom_object";
|
|
534
591
|
LinkEndpointType["DevUser"] = "dev_user";
|
|
535
592
|
LinkEndpointType["Enhancement"] = "enhancement";
|
|
536
593
|
LinkEndpointType["Feature"] = "feature";
|
|
@@ -543,6 +600,7 @@ var LinkEndpointType;
|
|
|
543
600
|
LinkEndpointType["RevUser"] = "rev_user";
|
|
544
601
|
LinkEndpointType["Task"] = "task";
|
|
545
602
|
LinkEndpointType["Ticket"] = "ticket";
|
|
603
|
+
LinkEndpointType["Widget"] = "widget";
|
|
546
604
|
})(LinkEndpointType = exports.LinkEndpointType || (exports.LinkEndpointType = {}));
|
|
547
605
|
/** Type of link used to define the relationship. */
|
|
548
606
|
var LinkType;
|
|
@@ -608,6 +666,7 @@ var MeetingState;
|
|
|
608
666
|
var MemberType;
|
|
609
667
|
(function (MemberType) {
|
|
610
668
|
MemberType["DevUser"] = "dev_user";
|
|
669
|
+
MemberType["Group"] = "group";
|
|
611
670
|
MemberType["RevUser"] = "rev_user";
|
|
612
671
|
MemberType["SysUser"] = "sys_user";
|
|
613
672
|
})(MemberType = exports.MemberType || (exports.MemberType = {}));
|
|
@@ -697,6 +756,7 @@ var OrgScheduleStatus;
|
|
|
697
756
|
var OrgType;
|
|
698
757
|
(function (OrgType) {
|
|
699
758
|
OrgType["Account"] = "account";
|
|
759
|
+
OrgType["DevOrg"] = "dev_org";
|
|
700
760
|
OrgType["RevOrg"] = "rev_org";
|
|
701
761
|
})(OrgType = exports.OrgType || (exports.OrgType = {}));
|
|
702
762
|
var PartType;
|
|
@@ -853,6 +913,7 @@ var SearchNamespace;
|
|
|
853
913
|
SearchNamespace["Linkable"] = "linkable";
|
|
854
914
|
SearchNamespace["Microservice"] = "microservice";
|
|
855
915
|
SearchNamespace["ObjectMember"] = "object_member";
|
|
916
|
+
SearchNamespace["Operation"] = "operation";
|
|
856
917
|
SearchNamespace["Opportunity"] = "opportunity";
|
|
857
918
|
SearchNamespace["Product"] = "product";
|
|
858
919
|
SearchNamespace["Project"] = "project";
|
|
@@ -866,6 +927,7 @@ var SearchNamespace;
|
|
|
866
927
|
SearchNamespace["Task"] = "task";
|
|
867
928
|
SearchNamespace["Ticket"] = "ticket";
|
|
868
929
|
SearchNamespace["Vista"] = "vista";
|
|
930
|
+
SearchNamespace["Workflow"] = "workflow";
|
|
869
931
|
})(SearchNamespace = exports.SearchNamespace || (exports.SearchNamespace = {}));
|
|
870
932
|
var SearchResultType;
|
|
871
933
|
(function (SearchResultType) {
|
|
@@ -878,6 +940,7 @@ var SearchResultType;
|
|
|
878
940
|
SearchResultType["Group"] = "group";
|
|
879
941
|
SearchResultType["Link"] = "link";
|
|
880
942
|
SearchResultType["ObjectMember"] = "object_member";
|
|
943
|
+
SearchResultType["Operation"] = "operation";
|
|
881
944
|
SearchResultType["Org"] = "org";
|
|
882
945
|
SearchResultType["Part"] = "part";
|
|
883
946
|
SearchResultType["QuestionAnswer"] = "question_answer";
|
|
@@ -885,6 +948,7 @@ var SearchResultType;
|
|
|
885
948
|
SearchResultType["User"] = "user";
|
|
886
949
|
SearchResultType["Vista"] = "vista";
|
|
887
950
|
SearchResultType["Work"] = "work";
|
|
951
|
+
SearchResultType["Workflow"] = "workflow";
|
|
888
952
|
})(SearchResultType = exports.SearchResultType || (exports.SearchResultType = {}));
|
|
889
953
|
/** Search sort by parameters. */
|
|
890
954
|
var SearchSortByParam;
|
|
@@ -1190,7 +1254,10 @@ var TimelineEntryObjectType;
|
|
|
1190
1254
|
(function (TimelineEntryObjectType) {
|
|
1191
1255
|
TimelineEntryObjectType["Account"] = "account";
|
|
1192
1256
|
TimelineEntryObjectType["Capability"] = "capability";
|
|
1257
|
+
TimelineEntryObjectType["CodeChange"] = "code_change";
|
|
1193
1258
|
TimelineEntryObjectType["Conversation"] = "conversation";
|
|
1259
|
+
TimelineEntryObjectType["CustomObject"] = "custom_object";
|
|
1260
|
+
TimelineEntryObjectType["Dm"] = "dm";
|
|
1194
1261
|
TimelineEntryObjectType["Engagement"] = "engagement";
|
|
1195
1262
|
TimelineEntryObjectType["Enhancement"] = "enhancement";
|
|
1196
1263
|
TimelineEntryObjectType["Feature"] = "feature";
|
|
@@ -1201,6 +1268,7 @@ var TimelineEntryObjectType;
|
|
|
1201
1268
|
TimelineEntryObjectType["Product"] = "product";
|
|
1202
1269
|
TimelineEntryObjectType["RevOrg"] = "rev_org";
|
|
1203
1270
|
TimelineEntryObjectType["RevUser"] = "rev_user";
|
|
1271
|
+
TimelineEntryObjectType["SnapIn"] = "snap_in";
|
|
1204
1272
|
TimelineEntryObjectType["Task"] = "task";
|
|
1205
1273
|
TimelineEntryObjectType["Ticket"] = "ticket";
|
|
1206
1274
|
TimelineEntryObjectType["TimelineChangeEvent"] = "timeline_change_event";
|
|
@@ -1294,15 +1362,34 @@ var VistaType;
|
|
|
1294
1362
|
VistaType["Dynamic"] = "dynamic";
|
|
1295
1363
|
VistaType["Grouped"] = "grouped";
|
|
1296
1364
|
})(VistaType = exports.VistaType || (exports.VistaType = {}));
|
|
1365
|
+
/** State of the web crawler job. */
|
|
1366
|
+
var WebCrawlerJobState;
|
|
1367
|
+
(function (WebCrawlerJobState) {
|
|
1368
|
+
WebCrawlerJobState["Aborted"] = "aborted";
|
|
1369
|
+
WebCrawlerJobState["Completed"] = "completed";
|
|
1370
|
+
WebCrawlerJobState["Running"] = "running";
|
|
1371
|
+
WebCrawlerJobState["Scheduled"] = "scheduled";
|
|
1372
|
+
WebCrawlerJobState["Suspended"] = "suspended";
|
|
1373
|
+
})(WebCrawlerJobState = exports.WebCrawlerJobState || (exports.WebCrawlerJobState = {}));
|
|
1374
|
+
var WebCrawlerJobsControlRequestAction;
|
|
1375
|
+
(function (WebCrawlerJobsControlRequestAction) {
|
|
1376
|
+
WebCrawlerJobsControlRequestAction["Abort"] = "abort";
|
|
1377
|
+
WebCrawlerJobsControlRequestAction["Pause"] = "pause";
|
|
1378
|
+
WebCrawlerJobsControlRequestAction["Resume"] = "resume";
|
|
1379
|
+
})(WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobsControlRequestAction || (exports.WebCrawlerJobsControlRequestAction = {}));
|
|
1297
1380
|
/** The event types that the webhook will receive. */
|
|
1298
1381
|
var WebhookEventType;
|
|
1299
1382
|
(function (WebhookEventType) {
|
|
1300
1383
|
WebhookEventType["AccountCreated"] = "account_created";
|
|
1301
1384
|
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
1302
1385
|
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
1386
|
+
WebhookEventType["AiAgentResponse"] = "ai_agent_response";
|
|
1303
1387
|
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
1304
1388
|
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
1305
1389
|
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
1390
|
+
WebhookEventType["DashboardCreated"] = "dashboard_created";
|
|
1391
|
+
WebhookEventType["DashboardDeleted"] = "dashboard_deleted";
|
|
1392
|
+
WebhookEventType["DashboardUpdated"] = "dashboard_updated";
|
|
1306
1393
|
WebhookEventType["DevUserCreated"] = "dev_user_created";
|
|
1307
1394
|
WebhookEventType["DevUserDeleted"] = "dev_user_deleted";
|
|
1308
1395
|
WebhookEventType["DevUserUpdated"] = "dev_user_updated";
|
|
@@ -1314,6 +1401,9 @@ var WebhookEventType;
|
|
|
1314
1401
|
WebhookEventType["IncidentCreated"] = "incident_created";
|
|
1315
1402
|
WebhookEventType["IncidentDeleted"] = "incident_deleted";
|
|
1316
1403
|
WebhookEventType["IncidentUpdated"] = "incident_updated";
|
|
1404
|
+
WebhookEventType["JobCreated"] = "job_created";
|
|
1405
|
+
WebhookEventType["JobDeleted"] = "job_deleted";
|
|
1406
|
+
WebhookEventType["JobUpdated"] = "job_updated";
|
|
1317
1407
|
WebhookEventType["LinkCreated"] = "link_created";
|
|
1318
1408
|
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
1319
1409
|
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
@@ -1352,6 +1442,9 @@ var WebhookEventType;
|
|
|
1352
1442
|
WebhookEventType["WebhookCreated"] = "webhook_created";
|
|
1353
1443
|
WebhookEventType["WebhookDeleted"] = "webhook_deleted";
|
|
1354
1444
|
WebhookEventType["WebhookUpdated"] = "webhook_updated";
|
|
1445
|
+
WebhookEventType["WidgetCreated"] = "widget_created";
|
|
1446
|
+
WebhookEventType["WidgetDeleted"] = "widget_deleted";
|
|
1447
|
+
WebhookEventType["WidgetUpdated"] = "widget_updated";
|
|
1355
1448
|
WebhookEventType["WorkCreated"] = "work_created";
|
|
1356
1449
|
WebhookEventType["WorkDeleted"] = "work_deleted";
|
|
1357
1450
|
WebhookEventType["WorkFetched"] = "work_fetched";
|
|
@@ -1908,6 +2001,36 @@ class Api extends HttpClient {
|
|
|
1908
2001
|
* @secure
|
|
1909
2002
|
*/
|
|
1910
2003
|
this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2004
|
+
/**
|
|
2005
|
+
* @description Creates a new chat, or optionally opens an existing one.
|
|
2006
|
+
*
|
|
2007
|
+
* @tags chats
|
|
2008
|
+
* @name ChatsCreate
|
|
2009
|
+
* @summary Create Chat
|
|
2010
|
+
* @request POST:/chats.create
|
|
2011
|
+
* @secure
|
|
2012
|
+
*/
|
|
2013
|
+
this.chatsCreate = (data, params = {}) => this.request(Object.assign({ path: `/chats.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2014
|
+
/**
|
|
2015
|
+
* @description Gets a chat's information.
|
|
2016
|
+
*
|
|
2017
|
+
* @tags chats
|
|
2018
|
+
* @name ChatsGet
|
|
2019
|
+
* @summary Get Chat
|
|
2020
|
+
* @request GET:/chats.get
|
|
2021
|
+
* @secure
|
|
2022
|
+
*/
|
|
2023
|
+
this.chatsGet = (query, params = {}) => this.request(Object.assign({ path: `/chats.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2024
|
+
/**
|
|
2025
|
+
* @description Gets a chat's information.
|
|
2026
|
+
*
|
|
2027
|
+
* @tags chats
|
|
2028
|
+
* @name ChatsGetPost
|
|
2029
|
+
* @summary Get Chat (POST)
|
|
2030
|
+
* @request POST:/chats.get
|
|
2031
|
+
* @secure
|
|
2032
|
+
*/
|
|
2033
|
+
this.chatsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/chats.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1911
2034
|
/**
|
|
1912
2035
|
* @description Creates a code change object.
|
|
1913
2036
|
*
|
|
@@ -2269,7 +2392,7 @@ class Api extends HttpClient {
|
|
|
2269
2392
|
*/
|
|
2270
2393
|
this.customObjectsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2271
2394
|
/**
|
|
2272
|
-
* @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.
|
|
2395
|
+
* @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.
|
|
2273
2396
|
*
|
|
2274
2397
|
* @tags auth-connections, dev-orgs
|
|
2275
2398
|
* @name DevOrgAuthConnectionsCreate
|
|
@@ -2329,7 +2452,7 @@ class Api extends HttpClient {
|
|
|
2329
2452
|
*/
|
|
2330
2453
|
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));
|
|
2331
2454
|
/**
|
|
2332
|
-
* @description Enable or disable an authentication connection for a Dev organization.
|
|
2455
|
+
* @description Enable or disable an authentication connection for a Dev organization. Atleast one authentication connection must be enabled for a Dev organization.
|
|
2333
2456
|
*
|
|
2334
2457
|
* @tags auth-connections, dev-orgs
|
|
2335
2458
|
* @name DevOrgAuthConnectionsToggle
|
|
@@ -2458,6 +2581,16 @@ class Api extends HttpClient {
|
|
|
2458
2581
|
* @secure
|
|
2459
2582
|
*/
|
|
2460
2583
|
this.devUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2584
|
+
/**
|
|
2585
|
+
* @description Merges the identity of a secondary Dev user with the primary Dev user. The account of the secondary Dev user will be deactivated and will no longer be able to log into DevRev. All objects - issues, tickets, parts etc. owned by the secondary Dev user will be transferred to the primary Dev user.
|
|
2586
|
+
*
|
|
2587
|
+
* @tags dev-users
|
|
2588
|
+
* @name DevUsersMerge
|
|
2589
|
+
* @summary Merge Dev Users
|
|
2590
|
+
* @request POST:/dev-users.merge
|
|
2591
|
+
* @secure
|
|
2592
|
+
*/
|
|
2593
|
+
this.devUsersMerge = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2461
2594
|
/**
|
|
2462
2595
|
* @description Gets the authenticated user's information.
|
|
2463
2596
|
*
|
|
@@ -3764,6 +3897,7 @@ class Api extends HttpClient {
|
|
|
3764
3897
|
* @name LinkRevUserToRevOrg
|
|
3765
3898
|
* @summary Link Rev Users
|
|
3766
3899
|
* @request POST:/rev-users.link
|
|
3900
|
+
* @deprecated
|
|
3767
3901
|
* @secure
|
|
3768
3902
|
*/
|
|
3769
3903
|
this.linkRevUserToRevOrg = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.link`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
@@ -3834,6 +3968,7 @@ class Api extends HttpClient {
|
|
|
3834
3968
|
* @name UnlinkRevUserFromRevOrg
|
|
3835
3969
|
* @summary Unlink Rev Users
|
|
3836
3970
|
* @request POST:/rev-users.unlink
|
|
3971
|
+
* @deprecated
|
|
3837
3972
|
* @secure
|
|
3838
3973
|
*/
|
|
3839
3974
|
this.unlinkRevUserFromRevOrg = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.unlink`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
@@ -4072,7 +4207,7 @@ class Api extends HttpClient {
|
|
|
4072
4207
|
*
|
|
4073
4208
|
* @tags slas
|
|
4074
4209
|
* @name SlaTrackersGet
|
|
4075
|
-
* @summary Get
|
|
4210
|
+
* @summary Get SLA Tracker
|
|
4076
4211
|
* @request GET:/sla-trackers.get
|
|
4077
4212
|
* @secure
|
|
4078
4213
|
*/
|
|
@@ -4082,7 +4217,7 @@ class Api extends HttpClient {
|
|
|
4082
4217
|
*
|
|
4083
4218
|
* @tags slas
|
|
4084
4219
|
* @name SlaTrackersGetPost
|
|
4085
|
-
* @summary Get
|
|
4220
|
+
* @summary Get SLA Tracker (POST)
|
|
4086
4221
|
* @request POST:/sla-trackers.get
|
|
4087
4222
|
* @secure
|
|
4088
4223
|
*/
|
|
@@ -4092,7 +4227,7 @@ class Api extends HttpClient {
|
|
|
4092
4227
|
*
|
|
4093
4228
|
* @tags slas
|
|
4094
4229
|
* @name SlaTrackersList
|
|
4095
|
-
* @summary List
|
|
4230
|
+
* @summary List SLA Trackers
|
|
4096
4231
|
* @request GET:/sla-trackers.list
|
|
4097
4232
|
* @secure
|
|
4098
4233
|
*/
|
|
@@ -4102,17 +4237,27 @@ class Api extends HttpClient {
|
|
|
4102
4237
|
*
|
|
4103
4238
|
* @tags slas
|
|
4104
4239
|
* @name SlaTrackersListPost
|
|
4105
|
-
* @summary List
|
|
4240
|
+
* @summary List SLA Trackers (POST)
|
|
4106
4241
|
* @request POST:/sla-trackers.list
|
|
4107
4242
|
* @secure
|
|
4108
4243
|
*/
|
|
4109
4244
|
this.slaTrackersListPost = (data, params = {}) => this.request(Object.assign({ path: `/sla-trackers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4245
|
+
/**
|
|
4246
|
+
* @description Removes a metric from the given object's SLA.
|
|
4247
|
+
*
|
|
4248
|
+
* @tags slas
|
|
4249
|
+
* @name SlaTrackersRemoveMetric
|
|
4250
|
+
* @summary Remove SLA Tracker Metric
|
|
4251
|
+
* @request POST:/sla-trackers.remove-metric
|
|
4252
|
+
* @secure
|
|
4253
|
+
*/
|
|
4254
|
+
this.slaTrackersRemoveMetric = (data, params = {}) => this.request(Object.assign({ path: `/sla-trackers.remove-metric`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4110
4255
|
/**
|
|
4111
4256
|
* @description Assigns the SLA to a set of Rev organizations.
|
|
4112
4257
|
*
|
|
4113
4258
|
* @tags slas
|
|
4114
4259
|
* @name SlasAssign
|
|
4115
|
-
* @summary Assign
|
|
4260
|
+
* @summary Assign SLAs
|
|
4116
4261
|
* @request POST:/slas.assign
|
|
4117
4262
|
* @secure
|
|
4118
4263
|
*/
|
|
@@ -4122,7 +4267,7 @@ class Api extends HttpClient {
|
|
|
4122
4267
|
*
|
|
4123
4268
|
* @tags slas
|
|
4124
4269
|
* @name SlasCreate
|
|
4125
|
-
* @summary Create
|
|
4270
|
+
* @summary Create SLA
|
|
4126
4271
|
* @request POST:/slas.create
|
|
4127
4272
|
* @secure
|
|
4128
4273
|
*/
|
|
@@ -4132,7 +4277,7 @@ class Api extends HttpClient {
|
|
|
4132
4277
|
*
|
|
4133
4278
|
* @tags slas
|
|
4134
4279
|
* @name SlasGet
|
|
4135
|
-
* @summary Get
|
|
4280
|
+
* @summary Get SLA
|
|
4136
4281
|
* @request GET:/slas.get
|
|
4137
4282
|
* @secure
|
|
4138
4283
|
*/
|
|
@@ -4142,7 +4287,7 @@ class Api extends HttpClient {
|
|
|
4142
4287
|
*
|
|
4143
4288
|
* @tags slas
|
|
4144
4289
|
* @name SlasGetPost
|
|
4145
|
-
* @summary Get
|
|
4290
|
+
* @summary Get SLA (POST)
|
|
4146
4291
|
* @request POST:/slas.get
|
|
4147
4292
|
* @secure
|
|
4148
4293
|
*/
|
|
@@ -4152,7 +4297,7 @@ class Api extends HttpClient {
|
|
|
4152
4297
|
*
|
|
4153
4298
|
* @tags slas
|
|
4154
4299
|
* @name SlasList
|
|
4155
|
-
* @summary List
|
|
4300
|
+
* @summary List SLAs
|
|
4156
4301
|
* @request GET:/slas.list
|
|
4157
4302
|
* @secure
|
|
4158
4303
|
*/
|
|
@@ -4162,7 +4307,7 @@ class Api extends HttpClient {
|
|
|
4162
4307
|
*
|
|
4163
4308
|
* @tags slas
|
|
4164
4309
|
* @name SlasListPost
|
|
4165
|
-
* @summary List
|
|
4310
|
+
* @summary List SLAs (POST)
|
|
4166
4311
|
* @request POST:/slas.list
|
|
4167
4312
|
* @secure
|
|
4168
4313
|
*/
|
|
@@ -4172,7 +4317,7 @@ class Api extends HttpClient {
|
|
|
4172
4317
|
*
|
|
4173
4318
|
* @tags slas
|
|
4174
4319
|
* @name SlasTransition
|
|
4175
|
-
* @summary Transition
|
|
4320
|
+
* @summary Transition SLAs
|
|
4176
4321
|
* @request POST:/slas.transition
|
|
4177
4322
|
* @secure
|
|
4178
4323
|
*/
|
|
@@ -4182,7 +4327,7 @@ class Api extends HttpClient {
|
|
|
4182
4327
|
*
|
|
4183
4328
|
* @tags slas
|
|
4184
4329
|
* @name SlasUpdate
|
|
4185
|
-
* @summary Update
|
|
4330
|
+
* @summary Update SLA
|
|
4186
4331
|
* @request POST:/slas.update
|
|
4187
4332
|
* @secure
|
|
4188
4333
|
*/
|
|
@@ -4787,6 +4932,66 @@ class Api extends HttpClient {
|
|
|
4787
4932
|
* @secure
|
|
4788
4933
|
*/
|
|
4789
4934
|
this.uomsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/uoms.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4935
|
+
/**
|
|
4936
|
+
* @description Change state of a web crawler job to pause or resume it back to running.
|
|
4937
|
+
*
|
|
4938
|
+
* @tags web-crawler-job
|
|
4939
|
+
* @name WebCrawlerJobsControl
|
|
4940
|
+
* @summary Control Web Crawler Jobs
|
|
4941
|
+
* @request POST:/web-crawler-jobs.control
|
|
4942
|
+
* @secure
|
|
4943
|
+
*/
|
|
4944
|
+
this.webCrawlerJobsControl = (data, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.control`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4945
|
+
/**
|
|
4946
|
+
* @description Creates a web crawler job whose objective is to crawl the provided URLs/sitemaps and generate corresponding webpages as artifacts.
|
|
4947
|
+
*
|
|
4948
|
+
* @tags web-crawler-job
|
|
4949
|
+
* @name CreateWebCrawlerJob
|
|
4950
|
+
* @summary Create Web Crawler Job
|
|
4951
|
+
* @request POST:/web-crawler-jobs.create
|
|
4952
|
+
* @secure
|
|
4953
|
+
*/
|
|
4954
|
+
this.createWebCrawlerJob = (data, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4955
|
+
/**
|
|
4956
|
+
* @description Gets a web crawler job.
|
|
4957
|
+
*
|
|
4958
|
+
* @tags web-crawler-job
|
|
4959
|
+
* @name GetWebCrawlerJob
|
|
4960
|
+
* @summary Get Web Crawler Job
|
|
4961
|
+
* @request GET:/web-crawler-jobs.get
|
|
4962
|
+
* @secure
|
|
4963
|
+
*/
|
|
4964
|
+
this.getWebCrawlerJob = (query, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
4965
|
+
/**
|
|
4966
|
+
* @description Gets a web crawler job.
|
|
4967
|
+
*
|
|
4968
|
+
* @tags web-crawler-job
|
|
4969
|
+
* @name GetWebCrawlerJobPost
|
|
4970
|
+
* @summary Get Web Crawler Job (POST)
|
|
4971
|
+
* @request POST:/web-crawler-jobs.get
|
|
4972
|
+
* @secure
|
|
4973
|
+
*/
|
|
4974
|
+
this.getWebCrawlerJobPost = (data, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4975
|
+
/**
|
|
4976
|
+
* @description Lists web crawler jobs.
|
|
4977
|
+
*
|
|
4978
|
+
* @tags web-crawler-job
|
|
4979
|
+
* @name ListWebCrawlerJobs
|
|
4980
|
+
* @summary List Web Crawler Jobs
|
|
4981
|
+
* @request GET:/web-crawler-jobs.list
|
|
4982
|
+
* @secure
|
|
4983
|
+
*/
|
|
4984
|
+
this.listWebCrawlerJobs = (query, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
4985
|
+
/**
|
|
4986
|
+
* @description Lists web crawler jobs.
|
|
4987
|
+
*
|
|
4988
|
+
* @tags web-crawler-job
|
|
4989
|
+
* @name ListWebCrawlerJobsPost
|
|
4990
|
+
* @summary List Web Crawler Jobs (POST)
|
|
4991
|
+
* @request POST:/web-crawler-jobs.list
|
|
4992
|
+
* @secure
|
|
4993
|
+
*/
|
|
4994
|
+
this.listWebCrawlerJobsPost = (data, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4790
4995
|
/**
|
|
4791
4996
|
* @description Creates a new webhook target.
|
|
4792
4997
|
*
|