@devrev/typescript-sdk 1.1.29 → 1.1.31
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 = void 0;
|
|
36
|
+
exports.MetricDefinitionAppliesTo = 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.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.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = 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 = 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 = void 0;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -114,7 +114,9 @@ var AtomType;
|
|
|
114
114
|
AtomType["Task"] = "task";
|
|
115
115
|
AtomType["TenantFragment"] = "tenant_fragment";
|
|
116
116
|
AtomType["Ticket"] = "ticket";
|
|
117
|
+
AtomType["TimelineChangeEvent"] = "timeline_change_event";
|
|
117
118
|
AtomType["TimelineComment"] = "timeline_comment";
|
|
119
|
+
AtomType["UserPreferences"] = "user_preferences";
|
|
118
120
|
AtomType["Webhook"] = "webhook";
|
|
119
121
|
})(AtomType = exports.AtomType || (exports.AtomType = {}));
|
|
120
122
|
var AuthConnectionToggle;
|
|
@@ -196,6 +198,7 @@ var BooleanExpressionType;
|
|
|
196
198
|
/** Source of the code change object. */
|
|
197
199
|
var CodeChangeSource;
|
|
198
200
|
(function (CodeChangeSource) {
|
|
201
|
+
CodeChangeSource["AzureDevops"] = "azure_devops";
|
|
199
202
|
CodeChangeSource["Bitbucket"] = "bitbucket";
|
|
200
203
|
CodeChangeSource["Github"] = "github";
|
|
201
204
|
})(CodeChangeSource = exports.CodeChangeSource || (exports.CodeChangeSource = {}));
|
|
@@ -282,6 +285,8 @@ var DevUserJobTitle;
|
|
|
282
285
|
var EngagementType;
|
|
283
286
|
(function (EngagementType) {
|
|
284
287
|
EngagementType["Call"] = "call";
|
|
288
|
+
EngagementType["Conversation"] = "conversation";
|
|
289
|
+
EngagementType["Custom"] = "custom";
|
|
285
290
|
EngagementType["Default"] = "default";
|
|
286
291
|
EngagementType["Email"] = "email";
|
|
287
292
|
EngagementType["LinkedIn"] = "linked_in";
|
|
@@ -362,6 +367,34 @@ var EventSourceStatus;
|
|
|
362
367
|
EventSourceStatus["Blocked"] = "blocked";
|
|
363
368
|
EventSourceStatus["Paused"] = "paused";
|
|
364
369
|
})(EventSourceStatus = exports.EventSourceStatus || (exports.EventSourceStatus = {}));
|
|
370
|
+
var FieldValueType;
|
|
371
|
+
(function (FieldValueType) {
|
|
372
|
+
FieldValueType["Bool"] = "bool";
|
|
373
|
+
FieldValueType["BoolList"] = "bool_list";
|
|
374
|
+
FieldValueType["Composite"] = "composite";
|
|
375
|
+
FieldValueType["CompositeList"] = "composite_list";
|
|
376
|
+
FieldValueType["Date"] = "date";
|
|
377
|
+
FieldValueType["DateList"] = "date_list";
|
|
378
|
+
FieldValueType["DateTime"] = "date_time";
|
|
379
|
+
FieldValueType["DateTimeList"] = "date_time_list";
|
|
380
|
+
FieldValueType["Double"] = "double";
|
|
381
|
+
FieldValueType["DoubleList"] = "double_list";
|
|
382
|
+
FieldValueType["Id"] = "id";
|
|
383
|
+
FieldValueType["IdList"] = "id_list";
|
|
384
|
+
FieldValueType["Int"] = "int";
|
|
385
|
+
FieldValueType["IntList"] = "int_list";
|
|
386
|
+
FieldValueType["Stage"] = "stage";
|
|
387
|
+
FieldValueType["String"] = "string";
|
|
388
|
+
FieldValueType["StringList"] = "string_list";
|
|
389
|
+
FieldValueType["TagSummary"] = "tag_summary";
|
|
390
|
+
FieldValueType["TagSummaryList"] = "tag_summary_list";
|
|
391
|
+
})(FieldValueType = exports.FieldValueType || (exports.FieldValueType = {}));
|
|
392
|
+
/** Preferred locale of the user. */
|
|
393
|
+
var GeneralPreferencesGroupPreferredLocale;
|
|
394
|
+
(function (GeneralPreferencesGroupPreferredLocale) {
|
|
395
|
+
GeneralPreferencesGroupPreferredLocale["EnUs"] = "en_us";
|
|
396
|
+
GeneralPreferencesGroupPreferredLocale["JaJp"] = "ja_jp";
|
|
397
|
+
})(GeneralPreferencesGroupPreferredLocale = exports.GeneralPreferencesGroupPreferredLocale || (exports.GeneralPreferencesGroupPreferredLocale = {}));
|
|
365
398
|
/** Event type of the notification. */
|
|
366
399
|
var GenericNotificationEventType;
|
|
367
400
|
(function (GenericNotificationEventType) {
|
|
@@ -371,6 +404,12 @@ var GenericNotificationEventType;
|
|
|
371
404
|
GenericNotificationEventType["Reminder"] = "reminder";
|
|
372
405
|
GenericNotificationEventType["Update"] = "update";
|
|
373
406
|
})(GenericNotificationEventType = exports.GenericNotificationEventType || (exports.GenericNotificationEventType = {}));
|
|
407
|
+
/** Creation source of the group. */
|
|
408
|
+
var GroupIngestionSource;
|
|
409
|
+
(function (GroupIngestionSource) {
|
|
410
|
+
GroupIngestionSource["Airdrop"] = "airdrop";
|
|
411
|
+
GroupIngestionSource["Scim"] = "scim";
|
|
412
|
+
})(GroupIngestionSource = exports.GroupIngestionSource || (exports.GroupIngestionSource = {}));
|
|
374
413
|
/** Type of the members in the group. */
|
|
375
414
|
var GroupMemberType;
|
|
376
415
|
(function (GroupMemberType) {
|
|
@@ -417,6 +456,7 @@ var LinkType;
|
|
|
417
456
|
LinkType["DevelopedWith"] = "developed_with";
|
|
418
457
|
LinkType["Imports"] = "imports";
|
|
419
458
|
LinkType["IsAnalyzedBy"] = "is_analyzed_by";
|
|
459
|
+
LinkType["IsConvertedTo"] = "is_converted_to";
|
|
420
460
|
LinkType["IsDependentOn"] = "is_dependent_on";
|
|
421
461
|
LinkType["IsDuplicateOf"] = "is_duplicate_of";
|
|
422
462
|
LinkType["IsMergedInto"] = "is_merged_into";
|
|
@@ -540,6 +580,10 @@ var PartType;
|
|
|
540
580
|
PartType["Feature"] = "feature";
|
|
541
581
|
PartType["Product"] = "product";
|
|
542
582
|
})(PartType = exports.PartType || (exports.PartType = {}));
|
|
583
|
+
var PreferencesType;
|
|
584
|
+
(function (PreferencesType) {
|
|
585
|
+
PreferencesType["UserPreferences"] = "user_preferences";
|
|
586
|
+
})(PreferencesType = exports.PreferencesType || (exports.PreferencesType = {}));
|
|
543
587
|
/** Status of the question answer. */
|
|
544
588
|
var QuestionAnswerStatus;
|
|
545
589
|
(function (QuestionAnswerStatus) {
|
|
@@ -752,6 +796,7 @@ var SlasFilterAppliesToOperatorType;
|
|
|
752
796
|
/** Logical grouping of snap widgets. Useful for filtering. */
|
|
753
797
|
var SnapWidgetNamespace;
|
|
754
798
|
(function (SnapWidgetNamespace) {
|
|
799
|
+
SnapWidgetNamespace["AiAssistantMessage"] = "ai_assistant_message";
|
|
755
800
|
SnapWidgetNamespace["CommentSuggestionReplies"] = "comment_suggestion_replies";
|
|
756
801
|
SnapWidgetNamespace["EmailPreview"] = "email_preview";
|
|
757
802
|
SnapWidgetNamespace["LinkPreview"] = "link_preview";
|
|
@@ -818,6 +863,7 @@ var TicketChannels;
|
|
|
818
863
|
TicketChannels["Plug"] = "plug";
|
|
819
864
|
TicketChannels["Slack"] = "slack";
|
|
820
865
|
TicketChannels["Twilio"] = "twilio";
|
|
866
|
+
TicketChannels["TwilioSms"] = "twilio_sms";
|
|
821
867
|
})(TicketChannels = exports.TicketChannels || (exports.TicketChannels = {}));
|
|
822
868
|
/** Severity of the ticket. */
|
|
823
869
|
var TicketSeverity;
|
|
@@ -827,6 +873,15 @@ var TicketSeverity;
|
|
|
827
873
|
TicketSeverity["Low"] = "low";
|
|
828
874
|
TicketSeverity["Medium"] = "medium";
|
|
829
875
|
})(TicketSeverity = exports.TicketSeverity || (exports.TicketSeverity = {}));
|
|
876
|
+
/** The type of the event. */
|
|
877
|
+
var TimelineChangeEventEventType;
|
|
878
|
+
(function (TimelineChangeEventEventType) {
|
|
879
|
+
TimelineChangeEventEventType["Annotated"] = "annotated";
|
|
880
|
+
TimelineChangeEventEventType["Created"] = "created";
|
|
881
|
+
TimelineChangeEventEventType["Deleted"] = "deleted";
|
|
882
|
+
TimelineChangeEventEventType["Linked"] = "linked";
|
|
883
|
+
TimelineChangeEventEventType["Updated"] = "updated";
|
|
884
|
+
})(TimelineChangeEventEventType = exports.TimelineChangeEventEventType || (exports.TimelineChangeEventEventType = {}));
|
|
830
885
|
/** The type of the body to use for the comment. */
|
|
831
886
|
var TimelineCommentBodyType;
|
|
832
887
|
(function (TimelineCommentBodyType) {
|
|
@@ -865,6 +920,7 @@ var TimelineEntryObjectType;
|
|
|
865
920
|
TimelineEntryObjectType["RevUser"] = "rev_user";
|
|
866
921
|
TimelineEntryObjectType["Task"] = "task";
|
|
867
922
|
TimelineEntryObjectType["Ticket"] = "ticket";
|
|
923
|
+
TimelineEntryObjectType["TimelineChangeEvent"] = "timeline_change_event";
|
|
868
924
|
TimelineEntryObjectType["TimelineComment"] = "timeline_comment";
|
|
869
925
|
})(TimelineEntryObjectType = exports.TimelineEntryObjectType || (exports.TimelineEntryObjectType = {}));
|
|
870
926
|
/** Display panels for the Timeline entry. */
|
|
@@ -876,6 +932,7 @@ var TimelineEntryPanel;
|
|
|
876
932
|
})(TimelineEntryPanel = exports.TimelineEntryPanel || (exports.TimelineEntryPanel = {}));
|
|
877
933
|
var TimelineEntryType;
|
|
878
934
|
(function (TimelineEntryType) {
|
|
935
|
+
TimelineEntryType["TimelineChangeEvent"] = "timeline_change_event";
|
|
879
936
|
TimelineEntryType["TimelineComment"] = "timeline_comment";
|
|
880
937
|
})(TimelineEntryType = exports.TimelineEntryType || (exports.TimelineEntryType = {}));
|
|
881
938
|
/**
|
|
@@ -961,7 +1018,12 @@ var WebhookEventType;
|
|
|
961
1018
|
WebhookEventType["DevUserUpdated"] = "dev_user_updated";
|
|
962
1019
|
WebhookEventType["GroupCreated"] = "group_created";
|
|
963
1020
|
WebhookEventType["GroupDeleted"] = "group_deleted";
|
|
1021
|
+
WebhookEventType["GroupMemberAdded"] = "group_member_added";
|
|
1022
|
+
WebhookEventType["GroupMemberRemoved"] = "group_member_removed";
|
|
964
1023
|
WebhookEventType["GroupUpdated"] = "group_updated";
|
|
1024
|
+
WebhookEventType["LinkCreated"] = "link_created";
|
|
1025
|
+
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
1026
|
+
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
965
1027
|
WebhookEventType["PartCreated"] = "part_created";
|
|
966
1028
|
WebhookEventType["PartDeleted"] = "part_deleted";
|
|
967
1029
|
WebhookEventType["PartUpdated"] = "part_updated";
|
|
@@ -974,6 +1036,12 @@ var WebhookEventType;
|
|
|
974
1036
|
WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
|
|
975
1037
|
WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
|
|
976
1038
|
WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
|
|
1039
|
+
WebhookEventType["SurveyCreated"] = "survey_created";
|
|
1040
|
+
WebhookEventType["SurveyDeleted"] = "survey_deleted";
|
|
1041
|
+
WebhookEventType["SurveyResponseCreated"] = "survey_response_created";
|
|
1042
|
+
WebhookEventType["SurveyResponseDeleted"] = "survey_response_deleted";
|
|
1043
|
+
WebhookEventType["SurveyResponseUpdated"] = "survey_response_updated";
|
|
1044
|
+
WebhookEventType["SurveyUpdated"] = "survey_updated";
|
|
977
1045
|
WebhookEventType["TagCreated"] = "tag_created";
|
|
978
1046
|
WebhookEventType["TagDeleted"] = "tag_deleted";
|
|
979
1047
|
WebhookEventType["TagUpdated"] = "tag_updated";
|
|
@@ -1458,6 +1526,51 @@ class Api extends HttpClient {
|
|
|
1458
1526
|
* @secure
|
|
1459
1527
|
*/
|
|
1460
1528
|
this.codeChangesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1529
|
+
/**
|
|
1530
|
+
* @description Create the content template.
|
|
1531
|
+
*
|
|
1532
|
+
* @tags notifications
|
|
1533
|
+
* @name ContentTemplateCreate
|
|
1534
|
+
* @request POST:/content-template.create
|
|
1535
|
+
* @secure
|
|
1536
|
+
*/
|
|
1537
|
+
this.contentTemplateCreate = (data, params = {}) => this.request(Object.assign({ path: `/content-template.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1538
|
+
/**
|
|
1539
|
+
* @description Get the content template.
|
|
1540
|
+
*
|
|
1541
|
+
* @tags notifications
|
|
1542
|
+
* @name ContentTemplateGet
|
|
1543
|
+
* @request GET:/content-template.get
|
|
1544
|
+
* @secure
|
|
1545
|
+
*/
|
|
1546
|
+
this.contentTemplateGet = (query, params = {}) => this.request(Object.assign({ path: `/content-template.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1547
|
+
/**
|
|
1548
|
+
* @description Get the content template.
|
|
1549
|
+
*
|
|
1550
|
+
* @tags notifications
|
|
1551
|
+
* @name ContentTemplateGetPost
|
|
1552
|
+
* @request POST:/content-template.get
|
|
1553
|
+
* @secure
|
|
1554
|
+
*/
|
|
1555
|
+
this.contentTemplateGetPost = (data, params = {}) => this.request(Object.assign({ path: `/content-template.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1556
|
+
/**
|
|
1557
|
+
* @description Lists the content templates.
|
|
1558
|
+
*
|
|
1559
|
+
* @tags notifications
|
|
1560
|
+
* @name ContentTemplateList
|
|
1561
|
+
* @request GET:/content-template.list
|
|
1562
|
+
* @secure
|
|
1563
|
+
*/
|
|
1564
|
+
this.contentTemplateList = (query, params = {}) => this.request(Object.assign({ path: `/content-template.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1565
|
+
/**
|
|
1566
|
+
* @description Lists the content templates.
|
|
1567
|
+
*
|
|
1568
|
+
* @tags notifications
|
|
1569
|
+
* @name ContentTemplateListPost
|
|
1570
|
+
* @request POST:/content-template.list
|
|
1571
|
+
* @secure
|
|
1572
|
+
*/
|
|
1573
|
+
this.contentTemplateListPost = (data, params = {}) => this.request(Object.assign({ path: `/content-template.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1461
1574
|
/**
|
|
1462
1575
|
* @description Creates a conversation.
|
|
1463
1576
|
*
|
|
@@ -1908,6 +2021,24 @@ class Api extends HttpClient {
|
|
|
1908
2021
|
* @secure
|
|
1909
2022
|
*/
|
|
1910
2023
|
this.groupsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/groups.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2024
|
+
/**
|
|
2025
|
+
* @description Creates an incident.
|
|
2026
|
+
*
|
|
2027
|
+
* @tags operate
|
|
2028
|
+
* @name IncidentsCreate
|
|
2029
|
+
* @request POST:/incidents.create
|
|
2030
|
+
* @secure
|
|
2031
|
+
*/
|
|
2032
|
+
this.incidentsCreate = (data, params = {}) => this.request(Object.assign({ path: `/incidents.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2033
|
+
/**
|
|
2034
|
+
* @description Deletes an incident.
|
|
2035
|
+
*
|
|
2036
|
+
* @tags operate
|
|
2037
|
+
* @name IncidentsDelete
|
|
2038
|
+
* @request POST:/incidents.delete
|
|
2039
|
+
* @secure
|
|
2040
|
+
*/
|
|
2041
|
+
this.incidentsDelete = (data, params = {}) => this.request(Object.assign({ path: `/incidents.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1911
2042
|
/**
|
|
1912
2043
|
* @description Gets an incident.
|
|
1913
2044
|
*
|
|
@@ -1962,6 +2093,15 @@ class Api extends HttpClient {
|
|
|
1962
2093
|
* @secure
|
|
1963
2094
|
*/
|
|
1964
2095
|
this.incidentsListPost = (data, params = {}) => this.request(Object.assign({ path: `/incidents.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2096
|
+
/**
|
|
2097
|
+
* @description Updates an incident.
|
|
2098
|
+
*
|
|
2099
|
+
* @tags operate
|
|
2100
|
+
* @name IncidentsUpdate
|
|
2101
|
+
* @request POST:/incidents.update
|
|
2102
|
+
* @secure
|
|
2103
|
+
*/
|
|
2104
|
+
this.incidentsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/incidents.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1965
2105
|
/**
|
|
1966
2106
|
* @description OAuth2 authorization callback.
|
|
1967
2107
|
*
|
|
@@ -2240,6 +2380,24 @@ class Api extends HttpClient {
|
|
|
2240
2380
|
* @secure
|
|
2241
2381
|
*/
|
|
2242
2382
|
this.partsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/parts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2383
|
+
/**
|
|
2384
|
+
* @description Get the preferences object.
|
|
2385
|
+
*
|
|
2386
|
+
* @tags preferences
|
|
2387
|
+
* @name PreferencesGet
|
|
2388
|
+
* @request GET:/preferences.get
|
|
2389
|
+
* @secure
|
|
2390
|
+
*/
|
|
2391
|
+
this.preferencesGet = (query, params = {}) => this.request(Object.assign({ path: `/preferences.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2392
|
+
/**
|
|
2393
|
+
* @description Get the preferences object.
|
|
2394
|
+
*
|
|
2395
|
+
* @tags preferences
|
|
2396
|
+
* @name PreferencesGetPost
|
|
2397
|
+
* @request POST:/preferences.get
|
|
2398
|
+
* @secure
|
|
2399
|
+
*/
|
|
2400
|
+
this.preferencesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/preferences.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2243
2401
|
/**
|
|
2244
2402
|
* @description Creates a question-answer.
|
|
2245
2403
|
*
|
|
@@ -2429,6 +2587,24 @@ class Api extends HttpClient {
|
|
|
2429
2587
|
* @secure
|
|
2430
2588
|
*/
|
|
2431
2589
|
this.revUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2590
|
+
/**
|
|
2591
|
+
* @description Scans through all Rev users.
|
|
2592
|
+
*
|
|
2593
|
+
* @tags rev-users
|
|
2594
|
+
* @name RevUsersScan
|
|
2595
|
+
* @request GET:/rev-users.scan
|
|
2596
|
+
* @secure
|
|
2597
|
+
*/
|
|
2598
|
+
this.revUsersScan = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.scan`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2599
|
+
/**
|
|
2600
|
+
* @description Scans through all Rev users.
|
|
2601
|
+
*
|
|
2602
|
+
* @tags rev-users
|
|
2603
|
+
* @name RevUsersScanPost
|
|
2604
|
+
* @request POST:/rev-users.scan
|
|
2605
|
+
* @secure
|
|
2606
|
+
*/
|
|
2607
|
+
this.revUsersScanPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.scan`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2432
2608
|
/**
|
|
2433
2609
|
* @description Unlinks a rev user from a rev org.
|
|
2434
2610
|
*
|
|
@@ -2726,6 +2902,15 @@ class Api extends HttpClient {
|
|
|
2726
2902
|
* @secure
|
|
2727
2903
|
*/
|
|
2728
2904
|
this.snapInsResourcesPost = (data, params = {}) => this.request(Object.assign({ path: `/snap-ins.resources`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2905
|
+
/**
|
|
2906
|
+
* @description Updates a snap-in.
|
|
2907
|
+
*
|
|
2908
|
+
* @tags snap-ins
|
|
2909
|
+
* @name SnapInsUpdate
|
|
2910
|
+
* @request POST:/snap-ins.update
|
|
2911
|
+
* @secure
|
|
2912
|
+
*/
|
|
2913
|
+
this.snapInsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/snap-ins.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2729
2914
|
/**
|
|
2730
2915
|
* @description Create a snap widget object.
|
|
2731
2916
|
*
|