@devrev/typescript-sdk 1.1.33 → 1.1.35
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 = exports.TimelineEntryObjectType = 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.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.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 = 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 = 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";
|
|
@@ -395,15 +420,6 @@ var FieldValueType;
|
|
|
395
420
|
FieldValueType["TagSummary"] = "tag_summary";
|
|
396
421
|
FieldValueType["TagSummaryList"] = "tag_summary_list";
|
|
397
422
|
})(FieldValueType = exports.FieldValueType || (exports.FieldValueType = {}));
|
|
398
|
-
/** Preferred locale of the user. */
|
|
399
|
-
var GeneralPreferencesGroupPreferredLocale;
|
|
400
|
-
(function (GeneralPreferencesGroupPreferredLocale) {
|
|
401
|
-
GeneralPreferencesGroupPreferredLocale["EnUs"] = "en_us";
|
|
402
|
-
GeneralPreferencesGroupPreferredLocale["EsAr"] = "es_ar";
|
|
403
|
-
GeneralPreferencesGroupPreferredLocale["JaJp"] = "ja_jp";
|
|
404
|
-
GeneralPreferencesGroupPreferredLocale["NlAw"] = "nl_aw";
|
|
405
|
-
GeneralPreferencesGroupPreferredLocale["NlSx"] = "nl_sx";
|
|
406
|
-
})(GeneralPreferencesGroupPreferredLocale = exports.GeneralPreferencesGroupPreferredLocale || (exports.GeneralPreferencesGroupPreferredLocale = {}));
|
|
407
423
|
/** Event type of the notification. */
|
|
408
424
|
var GenericNotificationEventType;
|
|
409
425
|
(function (GenericNotificationEventType) {
|
|
@@ -448,13 +464,18 @@ var IssuePriority;
|
|
|
448
464
|
})(IssuePriority = exports.IssuePriority || (exports.IssuePriority = {}));
|
|
449
465
|
var LinkEndpointType;
|
|
450
466
|
(function (LinkEndpointType) {
|
|
467
|
+
LinkEndpointType["Account"] = "account";
|
|
451
468
|
LinkEndpointType["Capability"] = "capability";
|
|
452
469
|
LinkEndpointType["Conversation"] = "conversation";
|
|
470
|
+
LinkEndpointType["DevUser"] = "dev_user";
|
|
453
471
|
LinkEndpointType["Enhancement"] = "enhancement";
|
|
454
472
|
LinkEndpointType["Feature"] = "feature";
|
|
473
|
+
LinkEndpointType["Incident"] = "incident";
|
|
455
474
|
LinkEndpointType["Issue"] = "issue";
|
|
456
475
|
LinkEndpointType["Opportunity"] = "opportunity";
|
|
457
476
|
LinkEndpointType["Product"] = "product";
|
|
477
|
+
LinkEndpointType["RevOrg"] = "rev_org";
|
|
478
|
+
LinkEndpointType["RevUser"] = "rev_user";
|
|
458
479
|
LinkEndpointType["Task"] = "task";
|
|
459
480
|
LinkEndpointType["Ticket"] = "ticket";
|
|
460
481
|
})(LinkEndpointType = exports.LinkEndpointType || (exports.LinkEndpointType = {}));
|
|
@@ -872,6 +893,7 @@ var SyncMetadataFilterSyncInFilterStatus;
|
|
|
872
893
|
var SyncMetadataFilterSyncOutFilterStatus;
|
|
873
894
|
(function (SyncMetadataFilterSyncOutFilterStatus) {
|
|
874
895
|
SyncMetadataFilterSyncOutFilterStatus["Failed"] = "failed";
|
|
896
|
+
SyncMetadataFilterSyncOutFilterStatus["Modified"] = "modified";
|
|
875
897
|
SyncMetadataFilterSyncOutFilterStatus["Succeeded"] = "succeeded";
|
|
876
898
|
})(SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncOutFilterStatus || (exports.SyncMetadataFilterSyncOutFilterStatus = {}));
|
|
877
899
|
/** Status of the sync for the object. */
|
|
@@ -881,6 +903,53 @@ var SyncOutStatus;
|
|
|
881
903
|
SyncOutStatus["Modified"] = "modified";
|
|
882
904
|
SyncOutStatus["Succeeded"] = "succeeded";
|
|
883
905
|
})(SyncOutStatus = exports.SyncOutStatus || (exports.SyncOutStatus = {}));
|
|
906
|
+
/** The state of a sync progress. */
|
|
907
|
+
var SyncProgressState;
|
|
908
|
+
(function (SyncProgressState) {
|
|
909
|
+
SyncProgressState["Completed"] = "completed";
|
|
910
|
+
SyncProgressState["DeleteInProgress"] = "delete_in_progress";
|
|
911
|
+
SyncProgressState["Deleted"] = "deleted";
|
|
912
|
+
SyncProgressState["DeletionError"] = "deletion_error";
|
|
913
|
+
SyncProgressState["ExtractAttachments"] = "extract_attachments";
|
|
914
|
+
SyncProgressState["ExtractAttachmentsError"] = "extract_attachments_error";
|
|
915
|
+
SyncProgressState["Extraction"] = "extraction";
|
|
916
|
+
SyncProgressState["ExtractionError"] = "extraction_error";
|
|
917
|
+
SyncProgressState["Loading"] = "loading";
|
|
918
|
+
SyncProgressState["LoadingAttachments"] = "loading_attachments";
|
|
919
|
+
SyncProgressState["LoadingAttachmentsError"] = "loading_attachments_error";
|
|
920
|
+
SyncProgressState["LoadingError"] = "loading_error";
|
|
921
|
+
SyncProgressState["RecipeDiscovery"] = "recipe_discovery";
|
|
922
|
+
SyncProgressState["RecipeDiscoveryError"] = "recipe_discovery_error";
|
|
923
|
+
SyncProgressState["RecipeDiscoveryWaitingForUserInput"] = "recipe_discovery_waiting_for_user_input";
|
|
924
|
+
SyncProgressState["Starting"] = "starting";
|
|
925
|
+
SyncProgressState["Transformation"] = "transformation";
|
|
926
|
+
SyncProgressState["TransformationError"] = "transformation_error";
|
|
927
|
+
})(SyncProgressState = exports.SyncProgressState || (exports.SyncProgressState = {}));
|
|
928
|
+
/** The direction/mode of a sync run. */
|
|
929
|
+
var SyncRunMode;
|
|
930
|
+
(function (SyncRunMode) {
|
|
931
|
+
SyncRunMode["Initial"] = "initial";
|
|
932
|
+
SyncRunMode["SyncFromDevrev"] = "sync_from_devrev";
|
|
933
|
+
SyncRunMode["SyncToDevrev"] = "sync_to_devrev";
|
|
934
|
+
})(SyncRunMode = exports.SyncRunMode || (exports.SyncRunMode = {}));
|
|
935
|
+
/** The state of a sync progress. */
|
|
936
|
+
var SyncRunProgressState;
|
|
937
|
+
(function (SyncRunProgressState) {
|
|
938
|
+
SyncRunProgressState["Completed"] = "completed";
|
|
939
|
+
SyncRunProgressState["Failed"] = "failed";
|
|
940
|
+
})(SyncRunProgressState = exports.SyncRunProgressState || (exports.SyncRunProgressState = {}));
|
|
941
|
+
/** Describes how the sync was initiated. */
|
|
942
|
+
var SyncRunStartedBy;
|
|
943
|
+
(function (SyncRunStartedBy) {
|
|
944
|
+
SyncRunStartedBy["PeriodicSyncScheduler"] = "periodic_sync_scheduler";
|
|
945
|
+
SyncRunStartedBy["User"] = "user";
|
|
946
|
+
})(SyncRunStartedBy = exports.SyncRunStartedBy || (exports.SyncRunStartedBy = {}));
|
|
947
|
+
/** Type of sync preferences. */
|
|
948
|
+
var SyncUnitSyncType;
|
|
949
|
+
(function (SyncUnitSyncType) {
|
|
950
|
+
SyncUnitSyncType["Manual"] = "manual";
|
|
951
|
+
SyncUnitSyncType["Periodic"] = "periodic";
|
|
952
|
+
})(SyncUnitSyncType = exports.SyncUnitSyncType || (exports.SyncUnitSyncType = {}));
|
|
884
953
|
/** Priority of the work based upon impact and criticality. */
|
|
885
954
|
var TaskPriority;
|
|
886
955
|
(function (TaskPriority) {
|
|
@@ -946,6 +1015,7 @@ var TimelineEntryObjectType;
|
|
|
946
1015
|
TimelineEntryObjectType["Engagement"] = "engagement";
|
|
947
1016
|
TimelineEntryObjectType["Enhancement"] = "enhancement";
|
|
948
1017
|
TimelineEntryObjectType["Feature"] = "feature";
|
|
1018
|
+
TimelineEntryObjectType["Incident"] = "incident";
|
|
949
1019
|
TimelineEntryObjectType["Issue"] = "issue";
|
|
950
1020
|
TimelineEntryObjectType["Meeting"] = "meeting";
|
|
951
1021
|
TimelineEntryObjectType["Opportunity"] = "opportunity";
|
|
@@ -1057,6 +1127,9 @@ var WebhookEventType;
|
|
|
1057
1127
|
WebhookEventType["GroupMemberAdded"] = "group_member_added";
|
|
1058
1128
|
WebhookEventType["GroupMemberRemoved"] = "group_member_removed";
|
|
1059
1129
|
WebhookEventType["GroupUpdated"] = "group_updated";
|
|
1130
|
+
WebhookEventType["IncidentCreated"] = "incident_created";
|
|
1131
|
+
WebhookEventType["IncidentDeleted"] = "incident_deleted";
|
|
1132
|
+
WebhookEventType["IncidentUpdated"] = "incident_updated";
|
|
1060
1133
|
WebhookEventType["LinkCreated"] = "link_created";
|
|
1061
1134
|
WebhookEventType["LinkDeleted"] = "link_deleted";
|
|
1062
1135
|
WebhookEventType["LinkUpdated"] = "link_updated";
|
|
@@ -1078,6 +1151,9 @@ var WebhookEventType;
|
|
|
1078
1151
|
WebhookEventType["SurveyResponseDeleted"] = "survey_response_deleted";
|
|
1079
1152
|
WebhookEventType["SurveyResponseUpdated"] = "survey_response_updated";
|
|
1080
1153
|
WebhookEventType["SurveyUpdated"] = "survey_updated";
|
|
1154
|
+
WebhookEventType["SyncHistoryCreated"] = "sync_history_created";
|
|
1155
|
+
WebhookEventType["SyncHistoryDeleted"] = "sync_history_deleted";
|
|
1156
|
+
WebhookEventType["SyncHistoryUpdated"] = "sync_history_updated";
|
|
1081
1157
|
WebhookEventType["TagCreated"] = "tag_created";
|
|
1082
1158
|
WebhookEventType["TagDeleted"] = "tag_deleted";
|
|
1083
1159
|
WebhookEventType["TagUpdated"] = "tag_updated";
|
|
@@ -1266,6 +1342,15 @@ class Api extends HttpClient {
|
|
|
1266
1342
|
* @secure
|
|
1267
1343
|
*/
|
|
1268
1344
|
this.accountsListPost = (data, params = {}) => this.request(Object.assign({ path: `/accounts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1345
|
+
/**
|
|
1346
|
+
* @description Merges two accounts.
|
|
1347
|
+
*
|
|
1348
|
+
* @tags accounts
|
|
1349
|
+
* @name AccountsMerge
|
|
1350
|
+
* @request POST:/accounts.merge
|
|
1351
|
+
* @secure
|
|
1352
|
+
*/
|
|
1353
|
+
this.accountsMerge = (data, params = {}) => this.request(Object.assign({ path: `/accounts.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1269
1354
|
/**
|
|
1270
1355
|
* @description Updates an account's information.
|
|
1271
1356
|
*
|
|
@@ -1275,6 +1360,42 @@ class Api extends HttpClient {
|
|
|
1275
1360
|
* @secure
|
|
1276
1361
|
*/
|
|
1277
1362
|
this.accountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1363
|
+
/**
|
|
1364
|
+
* @description Gets a single sync unit's information.
|
|
1365
|
+
*
|
|
1366
|
+
* @tags airdrop
|
|
1367
|
+
* @name AirdropSyncUnitsGet
|
|
1368
|
+
* @request GET:/airdrop.sync-units.get
|
|
1369
|
+
* @secure
|
|
1370
|
+
*/
|
|
1371
|
+
this.airdropSyncUnitsGet = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1372
|
+
/**
|
|
1373
|
+
* @description Gets a single sync unit's information.
|
|
1374
|
+
*
|
|
1375
|
+
* @tags airdrop
|
|
1376
|
+
* @name AirdropSyncUnitsGetPost
|
|
1377
|
+
* @request POST:/airdrop.sync-units.get
|
|
1378
|
+
* @secure
|
|
1379
|
+
*/
|
|
1380
|
+
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));
|
|
1381
|
+
/**
|
|
1382
|
+
* @description Gets a list of sync unit historical records.
|
|
1383
|
+
*
|
|
1384
|
+
* @tags airdrop
|
|
1385
|
+
* @name AirdropSyncUnitsHistory
|
|
1386
|
+
* @request GET:/airdrop.sync-units.history
|
|
1387
|
+
* @secure
|
|
1388
|
+
*/
|
|
1389
|
+
this.airdropSyncUnitsHistory = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.history`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1390
|
+
/**
|
|
1391
|
+
* @description Gets a list of sync unit historical records.
|
|
1392
|
+
*
|
|
1393
|
+
* @tags airdrop
|
|
1394
|
+
* @name AirdropSyncUnitsHistoryPost
|
|
1395
|
+
* @request POST:/airdrop.sync-units.history
|
|
1396
|
+
* @secure
|
|
1397
|
+
*/
|
|
1398
|
+
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));
|
|
1278
1399
|
/**
|
|
1279
1400
|
* @description Get count of articles matching given filter.
|
|
1280
1401
|
*
|
|
@@ -1473,6 +1594,24 @@ class Api extends HttpClient {
|
|
|
1473
1594
|
* @secure
|
|
1474
1595
|
*/
|
|
1475
1596
|
this.authTokensGetPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1597
|
+
/**
|
|
1598
|
+
* @description Returns the Dev organization, user and token attributes extracted from the auth token.
|
|
1599
|
+
*
|
|
1600
|
+
* @tags auth-tokens
|
|
1601
|
+
* @name AuthTokensInfo
|
|
1602
|
+
* @request GET:/auth-tokens.info
|
|
1603
|
+
* @secure
|
|
1604
|
+
*/
|
|
1605
|
+
this.authTokensInfo = (params = {}) => this.request(Object.assign({ path: `/auth-tokens.info`, method: 'GET', secure: true, format: 'json' }, params));
|
|
1606
|
+
/**
|
|
1607
|
+
* @description Returns the Dev organization, user and token attributes extracted from the auth token.
|
|
1608
|
+
*
|
|
1609
|
+
* @tags auth-tokens
|
|
1610
|
+
* @name AuthTokensInfoPost
|
|
1611
|
+
* @request POST:/auth-tokens.info
|
|
1612
|
+
* @secure
|
|
1613
|
+
*/
|
|
1614
|
+
this.authTokensInfoPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.info`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1476
1615
|
/**
|
|
1477
1616
|
* @description Gets the token metadata for all the tokens corresponding to the given token type issued for a given subject.
|
|
1478
1617
|
*
|
|
@@ -1851,6 +1990,24 @@ class Api extends HttpClient {
|
|
|
1851
1990
|
* @secure
|
|
1852
1991
|
*/
|
|
1853
1992
|
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));
|
|
1993
|
+
/**
|
|
1994
|
+
* @description Activates the requested user.
|
|
1995
|
+
*
|
|
1996
|
+
* @tags dev-users
|
|
1997
|
+
* @name DevUsersActivate
|
|
1998
|
+
* @request POST:/dev-users.activate
|
|
1999
|
+
* @secure
|
|
2000
|
+
*/
|
|
2001
|
+
this.devUsersActivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.activate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2002
|
+
/**
|
|
2003
|
+
* @description Deactivates the requested user.
|
|
2004
|
+
*
|
|
2005
|
+
* @tags dev-users
|
|
2006
|
+
* @name DevUsersDeactivate
|
|
2007
|
+
* @request POST:/dev-users.deactivate
|
|
2008
|
+
* @secure
|
|
2009
|
+
*/
|
|
2010
|
+
this.devUsersDeactivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.deactivate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1854
2011
|
/**
|
|
1855
2012
|
* @description Gets the requested user's information.
|
|
1856
2013
|
*
|
|
@@ -2570,6 +2727,24 @@ class Api extends HttpClient {
|
|
|
2570
2727
|
* @secure
|
|
2571
2728
|
*/
|
|
2572
2729
|
this.orgSchedulesCreate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2730
|
+
/**
|
|
2731
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2732
|
+
*
|
|
2733
|
+
* @tags schedules
|
|
2734
|
+
* @name OrgSchedulesEvaluate
|
|
2735
|
+
* @request GET:/org-schedules.evaluate
|
|
2736
|
+
* @secure
|
|
2737
|
+
*/
|
|
2738
|
+
this.orgSchedulesEvaluate = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2739
|
+
/**
|
|
2740
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2741
|
+
*
|
|
2742
|
+
* @tags schedules
|
|
2743
|
+
* @name OrgSchedulesEvaluatePost
|
|
2744
|
+
* @request POST:/org-schedules.evaluate
|
|
2745
|
+
* @secure
|
|
2746
|
+
*/
|
|
2747
|
+
this.orgSchedulesEvaluatePost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2573
2748
|
/**
|
|
2574
2749
|
* @description Gets an organization schedule.
|
|
2575
2750
|
*
|
|
@@ -3461,6 +3636,15 @@ class Api extends HttpClient {
|
|
|
3461
3636
|
* @secure
|
|
3462
3637
|
*/
|
|
3463
3638
|
this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3639
|
+
/**
|
|
3640
|
+
* @description Updates a survey's metadata.
|
|
3641
|
+
*
|
|
3642
|
+
* @tags surveys
|
|
3643
|
+
* @name SurveysUpdate
|
|
3644
|
+
* @request POST:/surveys.update
|
|
3645
|
+
* @secure
|
|
3646
|
+
*/
|
|
3647
|
+
this.surveysUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3464
3648
|
/**
|
|
3465
3649
|
* @description Lists system users within your organization.
|
|
3466
3650
|
*
|
|
@@ -3722,6 +3906,15 @@ class Api extends HttpClient {
|
|
|
3722
3906
|
* @secure
|
|
3723
3907
|
*/
|
|
3724
3908
|
this.webhooksDelete = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3909
|
+
/**
|
|
3910
|
+
* @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.
|
|
3911
|
+
*
|
|
3912
|
+
* @tags webhooks
|
|
3913
|
+
* @name WebhooksEvent
|
|
3914
|
+
* @request POST:/webhooks.event
|
|
3915
|
+
* @secure
|
|
3916
|
+
*/
|
|
3917
|
+
this.webhooksEvent = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.event`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3725
3918
|
/**
|
|
3726
3919
|
* @description Fetches an object via webhook.
|
|
3727
3920
|
*
|