@devrev/typescript-sdk 1.1.34 → 1.1.36
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.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = void 0;
|
|
36
|
+
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.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = 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.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.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = void 0;
|
|
38
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = void 0;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -102,6 +102,7 @@ var AtomType;
|
|
|
102
102
|
AtomType["Engagement"] = "engagement";
|
|
103
103
|
AtomType["Enhancement"] = "enhancement";
|
|
104
104
|
AtomType["Feature"] = "feature";
|
|
105
|
+
AtomType["Incident"] = "incident";
|
|
105
106
|
AtomType["Issue"] = "issue";
|
|
106
107
|
AtomType["Meeting"] = "meeting";
|
|
107
108
|
AtomType["Opportunity"] = "opportunity";
|
|
@@ -132,6 +133,7 @@ var AuthConnectionType;
|
|
|
132
133
|
(function (AuthConnectionType) {
|
|
133
134
|
AuthConnectionType["GoogleApps"] = "google_apps";
|
|
134
135
|
AuthConnectionType["Oidc"] = "oidc";
|
|
136
|
+
AuthConnectionType["Okta"] = "okta";
|
|
135
137
|
AuthConnectionType["Samlp"] = "samlp";
|
|
136
138
|
AuthConnectionType["Social"] = "social";
|
|
137
139
|
AuthConnectionType["Waad"] = "waad";
|
|
@@ -241,6 +243,13 @@ var DateTimePresetType;
|
|
|
241
243
|
DateTimePresetType["LastNDays"] = "last_n_days";
|
|
242
244
|
DateTimePresetType["NextNDays"] = "next_n_days";
|
|
243
245
|
})(DateTimePresetType = exports.DateTimePresetType || (exports.DateTimePresetType = {}));
|
|
246
|
+
/** Indicates whether this evaluation can change in the future. */
|
|
247
|
+
var Definedness;
|
|
248
|
+
(function (Definedness) {
|
|
249
|
+
Definedness["Immutable"] = "immutable";
|
|
250
|
+
Definedness["Mutable"] = "mutable";
|
|
251
|
+
Definedness["Undefined"] = "undefined";
|
|
252
|
+
})(Definedness = exports.Definedness || (exports.Definedness = {}));
|
|
244
253
|
/**
|
|
245
254
|
* Defines the type for the authentication connection. Different types of
|
|
246
255
|
* authentication connections have different configuration parameters.
|
|
@@ -249,6 +258,7 @@ var DevOrgAuthConnectionsCreateRequestType;
|
|
|
249
258
|
(function (DevOrgAuthConnectionsCreateRequestType) {
|
|
250
259
|
DevOrgAuthConnectionsCreateRequestType["GoogleApps"] = "google_apps";
|
|
251
260
|
DevOrgAuthConnectionsCreateRequestType["Oidc"] = "oidc";
|
|
261
|
+
DevOrgAuthConnectionsCreateRequestType["Okta"] = "okta";
|
|
252
262
|
DevOrgAuthConnectionsCreateRequestType["Samlp"] = "samlp";
|
|
253
263
|
DevOrgAuthConnectionsCreateRequestType["Waad"] = "waad";
|
|
254
264
|
})(DevOrgAuthConnectionsCreateRequestType = exports.DevOrgAuthConnectionsCreateRequestType || (exports.DevOrgAuthConnectionsCreateRequestType = {}));
|
|
@@ -262,6 +272,7 @@ var DevOrgAuthConnectionsUpdateRequestType;
|
|
|
262
272
|
DevOrgAuthConnectionsUpdateRequestType["GoogleApps"] = "google_apps";
|
|
263
273
|
DevOrgAuthConnectionsUpdateRequestType["None"] = "none";
|
|
264
274
|
DevOrgAuthConnectionsUpdateRequestType["Oidc"] = "oidc";
|
|
275
|
+
DevOrgAuthConnectionsUpdateRequestType["Okta"] = "okta";
|
|
265
276
|
DevOrgAuthConnectionsUpdateRequestType["Samlp"] = "samlp";
|
|
266
277
|
DevOrgAuthConnectionsUpdateRequestType["Waad"] = "waad";
|
|
267
278
|
})(DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsUpdateRequestType || (exports.DevOrgAuthConnectionsUpdateRequestType = {}));
|
|
@@ -373,6 +384,20 @@ var EventSourceStatus;
|
|
|
373
384
|
EventSourceStatus["Blocked"] = "blocked";
|
|
374
385
|
EventSourceStatus["Paused"] = "paused";
|
|
375
386
|
})(EventSourceStatus = exports.EventSourceStatus || (exports.EventSourceStatus = {}));
|
|
387
|
+
var ExternalSystemType;
|
|
388
|
+
(function (ExternalSystemType) {
|
|
389
|
+
ExternalSystemType["Adaas"] = "adaas";
|
|
390
|
+
ExternalSystemType["Confluence"] = "confluence";
|
|
391
|
+
ExternalSystemType["Github"] = "github";
|
|
392
|
+
ExternalSystemType["Hubspot"] = "hubspot";
|
|
393
|
+
ExternalSystemType["Jira"] = "jira";
|
|
394
|
+
ExternalSystemType["Linear"] = "linear";
|
|
395
|
+
ExternalSystemType["Rocketlane"] = "rocketlane";
|
|
396
|
+
ExternalSystemType["SalesforceSales"] = "salesforce_sales";
|
|
397
|
+
ExternalSystemType["SalesforceService"] = "salesforce_service";
|
|
398
|
+
ExternalSystemType["Servicenow"] = "servicenow";
|
|
399
|
+
ExternalSystemType["Zendesk"] = "zendesk";
|
|
400
|
+
})(ExternalSystemType = exports.ExternalSystemType || (exports.ExternalSystemType = {}));
|
|
376
401
|
var FieldValueType;
|
|
377
402
|
(function (FieldValueType) {
|
|
378
403
|
FieldValueType["Bool"] = "bool";
|
|
@@ -445,6 +470,7 @@ var LinkEndpointType;
|
|
|
445
470
|
LinkEndpointType["DevUser"] = "dev_user";
|
|
446
471
|
LinkEndpointType["Enhancement"] = "enhancement";
|
|
447
472
|
LinkEndpointType["Feature"] = "feature";
|
|
473
|
+
LinkEndpointType["Incident"] = "incident";
|
|
448
474
|
LinkEndpointType["Issue"] = "issue";
|
|
449
475
|
LinkEndpointType["Opportunity"] = "opportunity";
|
|
450
476
|
LinkEndpointType["Product"] = "product";
|
|
@@ -492,6 +518,24 @@ var ListMode;
|
|
|
492
518
|
ListMode["After"] = "after";
|
|
493
519
|
ListMode["Before"] = "before";
|
|
494
520
|
})(ListMode = exports.ListMode || (exports.ListMode = {}));
|
|
521
|
+
/** The channel of meeting. */
|
|
522
|
+
var MeetingChannel;
|
|
523
|
+
(function (MeetingChannel) {
|
|
524
|
+
MeetingChannel["GoogleMeet"] = "google_meet";
|
|
525
|
+
MeetingChannel["Offline"] = "offline";
|
|
526
|
+
MeetingChannel["Other"] = "other";
|
|
527
|
+
MeetingChannel["Teams"] = "teams";
|
|
528
|
+
MeetingChannel["Zoom"] = "zoom";
|
|
529
|
+
})(MeetingChannel = exports.MeetingChannel || (exports.MeetingChannel = {}));
|
|
530
|
+
/** The state of meeting. */
|
|
531
|
+
var MeetingState;
|
|
532
|
+
(function (MeetingState) {
|
|
533
|
+
MeetingState["Canceled"] = "canceled";
|
|
534
|
+
MeetingState["Completed"] = "completed";
|
|
535
|
+
MeetingState["NoShow"] = "no_show";
|
|
536
|
+
MeetingState["Rescheduled"] = "rescheduled";
|
|
537
|
+
MeetingState["Scheduled"] = "scheduled";
|
|
538
|
+
})(MeetingState = exports.MeetingState || (exports.MeetingState = {}));
|
|
495
539
|
var MemberType;
|
|
496
540
|
(function (MemberType) {
|
|
497
541
|
MemberType["DevUser"] = "dev_user";
|
|
@@ -877,6 +921,53 @@ var SyncOutStatus;
|
|
|
877
921
|
SyncOutStatus["Modified"] = "modified";
|
|
878
922
|
SyncOutStatus["Succeeded"] = "succeeded";
|
|
879
923
|
})(SyncOutStatus = exports.SyncOutStatus || (exports.SyncOutStatus = {}));
|
|
924
|
+
/** The state of a sync progress. */
|
|
925
|
+
var SyncProgressState;
|
|
926
|
+
(function (SyncProgressState) {
|
|
927
|
+
SyncProgressState["Completed"] = "completed";
|
|
928
|
+
SyncProgressState["DeleteInProgress"] = "delete_in_progress";
|
|
929
|
+
SyncProgressState["Deleted"] = "deleted";
|
|
930
|
+
SyncProgressState["DeletionError"] = "deletion_error";
|
|
931
|
+
SyncProgressState["ExtractAttachments"] = "extract_attachments";
|
|
932
|
+
SyncProgressState["ExtractAttachmentsError"] = "extract_attachments_error";
|
|
933
|
+
SyncProgressState["Extraction"] = "extraction";
|
|
934
|
+
SyncProgressState["ExtractionError"] = "extraction_error";
|
|
935
|
+
SyncProgressState["Loading"] = "loading";
|
|
936
|
+
SyncProgressState["LoadingAttachments"] = "loading_attachments";
|
|
937
|
+
SyncProgressState["LoadingAttachmentsError"] = "loading_attachments_error";
|
|
938
|
+
SyncProgressState["LoadingError"] = "loading_error";
|
|
939
|
+
SyncProgressState["RecipeDiscovery"] = "recipe_discovery";
|
|
940
|
+
SyncProgressState["RecipeDiscoveryError"] = "recipe_discovery_error";
|
|
941
|
+
SyncProgressState["RecipeDiscoveryWaitingForUserInput"] = "recipe_discovery_waiting_for_user_input";
|
|
942
|
+
SyncProgressState["Starting"] = "starting";
|
|
943
|
+
SyncProgressState["Transformation"] = "transformation";
|
|
944
|
+
SyncProgressState["TransformationError"] = "transformation_error";
|
|
945
|
+
})(SyncProgressState = exports.SyncProgressState || (exports.SyncProgressState = {}));
|
|
946
|
+
/** The direction/mode of a sync run. */
|
|
947
|
+
var SyncRunMode;
|
|
948
|
+
(function (SyncRunMode) {
|
|
949
|
+
SyncRunMode["Initial"] = "initial";
|
|
950
|
+
SyncRunMode["SyncFromDevrev"] = "sync_from_devrev";
|
|
951
|
+
SyncRunMode["SyncToDevrev"] = "sync_to_devrev";
|
|
952
|
+
})(SyncRunMode = exports.SyncRunMode || (exports.SyncRunMode = {}));
|
|
953
|
+
/** The state of a sync progress. */
|
|
954
|
+
var SyncRunProgressState;
|
|
955
|
+
(function (SyncRunProgressState) {
|
|
956
|
+
SyncRunProgressState["Completed"] = "completed";
|
|
957
|
+
SyncRunProgressState["Failed"] = "failed";
|
|
958
|
+
})(SyncRunProgressState = exports.SyncRunProgressState || (exports.SyncRunProgressState = {}));
|
|
959
|
+
/** Describes how the sync was initiated. */
|
|
960
|
+
var SyncRunStartedBy;
|
|
961
|
+
(function (SyncRunStartedBy) {
|
|
962
|
+
SyncRunStartedBy["PeriodicSyncScheduler"] = "periodic_sync_scheduler";
|
|
963
|
+
SyncRunStartedBy["User"] = "user";
|
|
964
|
+
})(SyncRunStartedBy = exports.SyncRunStartedBy || (exports.SyncRunStartedBy = {}));
|
|
965
|
+
/** Type of sync preferences. */
|
|
966
|
+
var SyncUnitSyncType;
|
|
967
|
+
(function (SyncUnitSyncType) {
|
|
968
|
+
SyncUnitSyncType["Manual"] = "manual";
|
|
969
|
+
SyncUnitSyncType["Periodic"] = "periodic";
|
|
970
|
+
})(SyncUnitSyncType = exports.SyncUnitSyncType || (exports.SyncUnitSyncType = {}));
|
|
880
971
|
/** Priority of the work based upon impact and criticality. */
|
|
881
972
|
var TaskPriority;
|
|
882
973
|
(function (TaskPriority) {
|
|
@@ -942,6 +1033,7 @@ var TimelineEntryObjectType;
|
|
|
942
1033
|
TimelineEntryObjectType["Engagement"] = "engagement";
|
|
943
1034
|
TimelineEntryObjectType["Enhancement"] = "enhancement";
|
|
944
1035
|
TimelineEntryObjectType["Feature"] = "feature";
|
|
1036
|
+
TimelineEntryObjectType["Incident"] = "incident";
|
|
945
1037
|
TimelineEntryObjectType["Issue"] = "issue";
|
|
946
1038
|
TimelineEntryObjectType["Meeting"] = "meeting";
|
|
947
1039
|
TimelineEntryObjectType["Opportunity"] = "opportunity";
|
|
@@ -1053,6 +1145,9 @@ var WebhookEventType;
|
|
|
1053
1145
|
WebhookEventType["GroupMemberAdded"] = "group_member_added";
|
|
1054
1146
|
WebhookEventType["GroupMemberRemoved"] = "group_member_removed";
|
|
1055
1147
|
WebhookEventType["GroupUpdated"] = "group_updated";
|
|
1148
|
+
WebhookEventType["IncidentCreated"] = "incident_created";
|
|
1149
|
+
WebhookEventType["IncidentDeleted"] = "incident_deleted";
|
|
1150
|
+
WebhookEventType["IncidentUpdated"] = "incident_updated";
|
|
1056
1151
|
WebhookEventType["LinkCreated"] = "link_created";
|
|
1057
1152
|
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
1058
1153
|
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
@@ -1074,6 +1169,10 @@ var WebhookEventType;
|
|
|
1074
1169
|
WebhookEventType["SurveyResponseDeleted"] = "survey_response_deleted";
|
|
1075
1170
|
WebhookEventType["SurveyResponseUpdated"] = "survey_response_updated";
|
|
1076
1171
|
WebhookEventType["SurveyUpdated"] = "survey_updated";
|
|
1172
|
+
WebhookEventType["SyncHistoryCreated"] = "sync_history_created";
|
|
1173
|
+
WebhookEventType["SyncHistoryDeleted"] = "sync_history_deleted";
|
|
1174
|
+
WebhookEventType["SyncHistoryUpdated"] = "sync_history_updated";
|
|
1175
|
+
WebhookEventType["SyncUnitUpdated"] = "sync_unit_updated";
|
|
1077
1176
|
WebhookEventType["TagCreated"] = "tag_created";
|
|
1078
1177
|
WebhookEventType["TagDeleted"] = "tag_deleted";
|
|
1079
1178
|
WebhookEventType["TagUpdated"] = "tag_updated";
|
|
@@ -1262,6 +1361,15 @@ class Api extends HttpClient {
|
|
|
1262
1361
|
* @secure
|
|
1263
1362
|
*/
|
|
1264
1363
|
this.accountsListPost = (data, params = {}) => this.request(Object.assign({ path: `/accounts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1364
|
+
/**
|
|
1365
|
+
* @description Merges two accounts.
|
|
1366
|
+
*
|
|
1367
|
+
* @tags accounts
|
|
1368
|
+
* @name AccountsMerge
|
|
1369
|
+
* @request POST:/accounts.merge
|
|
1370
|
+
* @secure
|
|
1371
|
+
*/
|
|
1372
|
+
this.accountsMerge = (data, params = {}) => this.request(Object.assign({ path: `/accounts.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1265
1373
|
/**
|
|
1266
1374
|
* @description Updates an account's information.
|
|
1267
1375
|
*
|
|
@@ -1271,6 +1379,42 @@ class Api extends HttpClient {
|
|
|
1271
1379
|
* @secure
|
|
1272
1380
|
*/
|
|
1273
1381
|
this.accountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1382
|
+
/**
|
|
1383
|
+
* @description Gets a single sync unit's information.
|
|
1384
|
+
*
|
|
1385
|
+
* @tags airdrop
|
|
1386
|
+
* @name AirdropSyncUnitsGet
|
|
1387
|
+
* @request GET:/airdrop.sync-units.get
|
|
1388
|
+
* @secure
|
|
1389
|
+
*/
|
|
1390
|
+
this.airdropSyncUnitsGet = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1391
|
+
/**
|
|
1392
|
+
* @description Gets a single sync unit's information.
|
|
1393
|
+
*
|
|
1394
|
+
* @tags airdrop
|
|
1395
|
+
* @name AirdropSyncUnitsGetPost
|
|
1396
|
+
* @request POST:/airdrop.sync-units.get
|
|
1397
|
+
* @secure
|
|
1398
|
+
*/
|
|
1399
|
+
this.airdropSyncUnitsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1400
|
+
/**
|
|
1401
|
+
* @description Gets a list of sync unit historical records.
|
|
1402
|
+
*
|
|
1403
|
+
* @tags airdrop
|
|
1404
|
+
* @name AirdropSyncUnitsHistory
|
|
1405
|
+
* @request GET:/airdrop.sync-units.history
|
|
1406
|
+
* @secure
|
|
1407
|
+
*/
|
|
1408
|
+
this.airdropSyncUnitsHistory = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.history`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1409
|
+
/**
|
|
1410
|
+
* @description Gets a list of sync unit historical records.
|
|
1411
|
+
*
|
|
1412
|
+
* @tags airdrop
|
|
1413
|
+
* @name AirdropSyncUnitsHistoryPost
|
|
1414
|
+
* @request POST:/airdrop.sync-units.history
|
|
1415
|
+
* @secure
|
|
1416
|
+
*/
|
|
1417
|
+
this.airdropSyncUnitsHistoryPost = (data, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.history`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1274
1418
|
/**
|
|
1275
1419
|
* @description Get count of articles matching given filter.
|
|
1276
1420
|
*
|
|
@@ -1865,6 +2009,24 @@ class Api extends HttpClient {
|
|
|
1865
2009
|
* @secure
|
|
1866
2010
|
*/
|
|
1867
2011
|
this.devOrgAuthConnectionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2012
|
+
/**
|
|
2013
|
+
* @description Activates the requested user.
|
|
2014
|
+
*
|
|
2015
|
+
* @tags dev-users
|
|
2016
|
+
* @name DevUsersActivate
|
|
2017
|
+
* @request POST:/dev-users.activate
|
|
2018
|
+
* @secure
|
|
2019
|
+
*/
|
|
2020
|
+
this.devUsersActivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.activate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2021
|
+
/**
|
|
2022
|
+
* @description Deactivates the requested user.
|
|
2023
|
+
*
|
|
2024
|
+
* @tags dev-users
|
|
2025
|
+
* @name DevUsersDeactivate
|
|
2026
|
+
* @request POST:/dev-users.deactivate
|
|
2027
|
+
* @secure
|
|
2028
|
+
*/
|
|
2029
|
+
this.devUsersDeactivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.deactivate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1868
2030
|
/**
|
|
1869
2031
|
* @description Gets the requested user's information.
|
|
1870
2032
|
*
|
|
@@ -2449,6 +2611,87 @@ class Api extends HttpClient {
|
|
|
2449
2611
|
* @secure
|
|
2450
2612
|
*/
|
|
2451
2613
|
this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2614
|
+
/**
|
|
2615
|
+
* @description Counts the meeting records.
|
|
2616
|
+
*
|
|
2617
|
+
* @tags meetings
|
|
2618
|
+
* @name MeetingsCount
|
|
2619
|
+
* @request GET:/meetings.count
|
|
2620
|
+
* @secure
|
|
2621
|
+
*/
|
|
2622
|
+
this.meetingsCount = (query, params = {}) => this.request(Object.assign({ path: `/meetings.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2623
|
+
/**
|
|
2624
|
+
* @description Counts the meeting records.
|
|
2625
|
+
*
|
|
2626
|
+
* @tags meetings
|
|
2627
|
+
* @name MeetingsCountPost
|
|
2628
|
+
* @request POST:/meetings.count
|
|
2629
|
+
* @secure
|
|
2630
|
+
*/
|
|
2631
|
+
this.meetingsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2632
|
+
/**
|
|
2633
|
+
* @description Creates a new meeting record.
|
|
2634
|
+
*
|
|
2635
|
+
* @tags meetings
|
|
2636
|
+
* @name MeetingsCreate
|
|
2637
|
+
* @request POST:/meetings.create
|
|
2638
|
+
* @secure
|
|
2639
|
+
*/
|
|
2640
|
+
this.meetingsCreate = (data, params = {}) => this.request(Object.assign({ path: `/meetings.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2641
|
+
/**
|
|
2642
|
+
* @description Deletes the meeting record.
|
|
2643
|
+
*
|
|
2644
|
+
* @tags meetings
|
|
2645
|
+
* @name MeetingsDelete
|
|
2646
|
+
* @request POST:/meetings.delete
|
|
2647
|
+
* @secure
|
|
2648
|
+
*/
|
|
2649
|
+
this.meetingsDelete = (data, params = {}) => this.request(Object.assign({ path: `/meetings.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2650
|
+
/**
|
|
2651
|
+
* @description Gets the meeting record.
|
|
2652
|
+
*
|
|
2653
|
+
* @tags meetings
|
|
2654
|
+
* @name MeetingsGet
|
|
2655
|
+
* @request GET:/meetings.get
|
|
2656
|
+
* @secure
|
|
2657
|
+
*/
|
|
2658
|
+
this.meetingsGet = (query, params = {}) => this.request(Object.assign({ path: `/meetings.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2659
|
+
/**
|
|
2660
|
+
* @description Gets the meeting record.
|
|
2661
|
+
*
|
|
2662
|
+
* @tags meetings
|
|
2663
|
+
* @name MeetingsGetPost
|
|
2664
|
+
* @request POST:/meetings.get
|
|
2665
|
+
* @secure
|
|
2666
|
+
*/
|
|
2667
|
+
this.meetingsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2668
|
+
/**
|
|
2669
|
+
* @description Lists the meeting records.
|
|
2670
|
+
*
|
|
2671
|
+
* @tags meetings
|
|
2672
|
+
* @name MeetingsList
|
|
2673
|
+
* @request GET:/meetings.list
|
|
2674
|
+
* @secure
|
|
2675
|
+
*/
|
|
2676
|
+
this.meetingsList = (query, params = {}) => this.request(Object.assign({ path: `/meetings.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2677
|
+
/**
|
|
2678
|
+
* @description Lists the meeting records.
|
|
2679
|
+
*
|
|
2680
|
+
* @tags meetings
|
|
2681
|
+
* @name MeetingsListPost
|
|
2682
|
+
* @request POST:/meetings.list
|
|
2683
|
+
* @secure
|
|
2684
|
+
*/
|
|
2685
|
+
this.meetingsListPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2686
|
+
/**
|
|
2687
|
+
* @description Updates the meeting record.
|
|
2688
|
+
*
|
|
2689
|
+
* @tags meetings
|
|
2690
|
+
* @name MeetingsUpdate
|
|
2691
|
+
* @request POST:/meetings.update
|
|
2692
|
+
* @secure
|
|
2693
|
+
*/
|
|
2694
|
+
this.meetingsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/meetings.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2452
2695
|
/**
|
|
2453
2696
|
* @description Executes the metric action on the given object.
|
|
2454
2697
|
*
|
|
@@ -2584,6 +2827,24 @@ class Api extends HttpClient {
|
|
|
2584
2827
|
* @secure
|
|
2585
2828
|
*/
|
|
2586
2829
|
this.orgSchedulesCreate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2830
|
+
/**
|
|
2831
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2832
|
+
*
|
|
2833
|
+
* @tags schedules
|
|
2834
|
+
* @name OrgSchedulesEvaluate
|
|
2835
|
+
* @request GET:/org-schedules.evaluate
|
|
2836
|
+
* @secure
|
|
2837
|
+
*/
|
|
2838
|
+
this.orgSchedulesEvaluate = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2839
|
+
/**
|
|
2840
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2841
|
+
*
|
|
2842
|
+
* @tags schedules
|
|
2843
|
+
* @name OrgSchedulesEvaluatePost
|
|
2844
|
+
* @request POST:/org-schedules.evaluate
|
|
2845
|
+
* @secure
|
|
2846
|
+
*/
|
|
2847
|
+
this.orgSchedulesEvaluatePost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2587
2848
|
/**
|
|
2588
2849
|
* @description Gets an organization schedule.
|
|
2589
2850
|
*
|
|
@@ -3475,6 +3736,15 @@ class Api extends HttpClient {
|
|
|
3475
3736
|
* @secure
|
|
3476
3737
|
*/
|
|
3477
3738
|
this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3739
|
+
/**
|
|
3740
|
+
* @description Updates a survey's metadata.
|
|
3741
|
+
*
|
|
3742
|
+
* @tags surveys
|
|
3743
|
+
* @name SurveysUpdate
|
|
3744
|
+
* @request POST:/surveys.update
|
|
3745
|
+
* @secure
|
|
3746
|
+
*/
|
|
3747
|
+
this.surveysUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3478
3748
|
/**
|
|
3479
3749
|
* @description Lists system users within your organization.
|
|
3480
3750
|
*
|
|
@@ -3736,6 +4006,15 @@ class Api extends HttpClient {
|
|
|
3736
4006
|
* @secure
|
|
3737
4007
|
*/
|
|
3738
4008
|
this.webhooksDelete = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4009
|
+
/**
|
|
4010
|
+
* @description Describes a webhook invocation for an event from DevRev to a webhook's target URL, where the receiving handler must implement the specified protocol. Note the documented endpoint is for exposition and not provided by DevRev.
|
|
4011
|
+
*
|
|
4012
|
+
* @tags webhooks
|
|
4013
|
+
* @name WebhooksEvent
|
|
4014
|
+
* @request POST:/webhooks.event
|
|
4015
|
+
* @secure
|
|
4016
|
+
*/
|
|
4017
|
+
this.webhooksEvent = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.event`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3739
4018
|
/**
|
|
3740
4019
|
* @description Fetches an object via webhook.
|
|
3741
4020
|
*
|