@devrev/typescript-sdk 1.1.59 → 1.1.61
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.
- package/dist/auto-generated/beta/beta-devrev-sdk.d.ts +382 -12
- package/dist/auto-generated/beta/beta-devrev-sdk.js +63 -4
- package/dist/auto-generated/public-devrev-sdk.d.ts +6475 -2268
- package/dist/auto-generated/public-devrev-sdk.js +1026 -2
- package/dist/snap-ins/schema.pb.d.ts +1 -0
- package/dist/snap-ins/schema.pb.js +6 -0
- package/dist/snap-ins/struct.pb.js +1 -1
- package/package.json +1 -1
|
@@ -33,8 +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.
|
|
36
|
+
exports.MeetingChannel = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.EventTimelineEntryUpdatedReactionAction = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArtifactConfigurationSet = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AccessLevel = void 0;
|
|
37
|
+
exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = void 0;
|
|
38
|
+
exports.Api = exports.HttpClient = exports.ContentType = void 0;
|
|
38
39
|
var AccessLevel;
|
|
39
40
|
(function (AccessLevel) {
|
|
40
41
|
AccessLevel["External"] = "external";
|
|
@@ -62,7 +63,26 @@ var ArticleType;
|
|
|
62
63
|
(function (ArticleType) {
|
|
63
64
|
ArticleType["Article"] = "article";
|
|
64
65
|
ArticleType["ContentBlock"] = "content_block";
|
|
66
|
+
ArticleType["Page"] = "page";
|
|
65
67
|
})(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
|
|
68
|
+
/** Represents a set of configuration to be used with the artifacts object. */
|
|
69
|
+
var ArtifactConfigurationSet;
|
|
70
|
+
(function (ArtifactConfigurationSet) {
|
|
71
|
+
ArtifactConfigurationSet["ArticleMedia"] = "article_media";
|
|
72
|
+
ArtifactConfigurationSet["Default"] = "default";
|
|
73
|
+
ArtifactConfigurationSet["EmailMedia"] = "email_media";
|
|
74
|
+
ArtifactConfigurationSet["JobData"] = "job_data";
|
|
75
|
+
ArtifactConfigurationSet["MarketplaceListingIcon"] = "marketplace_listing_icon";
|
|
76
|
+
ArtifactConfigurationSet["MarketplaceMedia"] = "marketplace_media";
|
|
77
|
+
ArtifactConfigurationSet["OrgLogo"] = "org_logo";
|
|
78
|
+
ArtifactConfigurationSet["PlugSetting"] = "plug_setting";
|
|
79
|
+
ArtifactConfigurationSet["PlugSettingBannerCard"] = "plug_setting_banner_card";
|
|
80
|
+
ArtifactConfigurationSet["PortalCss"] = "portal_css";
|
|
81
|
+
ArtifactConfigurationSet["SnapInFunctionsCode"] = "snap_in_functions_code";
|
|
82
|
+
ArtifactConfigurationSet["SnapWidget"] = "snap_widget";
|
|
83
|
+
ArtifactConfigurationSet["UserProfilePicture"] = "user_profile_picture";
|
|
84
|
+
ArtifactConfigurationSet["Work"] = "work";
|
|
85
|
+
})(ArtifactConfigurationSet = exports.ArtifactConfigurationSet || (exports.ArtifactConfigurationSet = {}));
|
|
66
86
|
var AtomType;
|
|
67
87
|
(function (AtomType) {
|
|
68
88
|
AtomType["AuthToken"] = "auth_token";
|
|
@@ -163,6 +183,58 @@ var BooleanExpressionType;
|
|
|
163
183
|
BooleanExpressionType["Or"] = "or";
|
|
164
184
|
BooleanExpressionType["Primitive"] = "primitive";
|
|
165
185
|
})(BooleanExpressionType = exports.BooleanExpressionType || (exports.BooleanExpressionType = {}));
|
|
186
|
+
/** Source of the code change object. */
|
|
187
|
+
var CodeChangeSource;
|
|
188
|
+
(function (CodeChangeSource) {
|
|
189
|
+
CodeChangeSource["AzureDevops"] = "azure_devops";
|
|
190
|
+
CodeChangeSource["Bitbucket"] = "bitbucket";
|
|
191
|
+
CodeChangeSource["Github"] = "github";
|
|
192
|
+
CodeChangeSource["Gitlab"] = "gitlab";
|
|
193
|
+
})(CodeChangeSource = exports.CodeChangeSource || (exports.CodeChangeSource = {}));
|
|
194
|
+
/** Specifies how the action is defined. */
|
|
195
|
+
var CommandActionExecutorType;
|
|
196
|
+
(function (CommandActionExecutorType) {
|
|
197
|
+
CommandActionExecutorType["Rego"] = "rego";
|
|
198
|
+
CommandActionExecutorType["Workflow"] = "workflow";
|
|
199
|
+
})(CommandActionExecutorType = exports.CommandActionExecutorType || (exports.CommandActionExecutorType = {}));
|
|
200
|
+
/** The template engine for resolving message. */
|
|
201
|
+
var CommandActionTemplateType;
|
|
202
|
+
(function (CommandActionTemplateType) {
|
|
203
|
+
CommandActionTemplateType["DevrevV1"] = "devrev_v1";
|
|
204
|
+
})(CommandActionTemplateType = exports.CommandActionTemplateType || (exports.CommandActionTemplateType = {}));
|
|
205
|
+
/** Status of the command. */
|
|
206
|
+
var CommandStatus;
|
|
207
|
+
(function (CommandStatus) {
|
|
208
|
+
CommandStatus["Disabled"] = "disabled";
|
|
209
|
+
CommandStatus["Draft"] = "draft";
|
|
210
|
+
CommandStatus["Enabled"] = "enabled";
|
|
211
|
+
})(CommandStatus = exports.CommandStatus || (exports.CommandStatus = {}));
|
|
212
|
+
/** Objects types on which a command can be invoked. */
|
|
213
|
+
var CommandSurfaceObjectTypes;
|
|
214
|
+
(function (CommandSurfaceObjectTypes) {
|
|
215
|
+
CommandSurfaceObjectTypes["Account"] = "account";
|
|
216
|
+
CommandSurfaceObjectTypes["AiAssistantChat"] = "ai_assistant_chat";
|
|
217
|
+
CommandSurfaceObjectTypes["Article"] = "article";
|
|
218
|
+
CommandSurfaceObjectTypes["Conversation"] = "conversation";
|
|
219
|
+
CommandSurfaceObjectTypes["CustomObject"] = "custom_object";
|
|
220
|
+
CommandSurfaceObjectTypes["Dm"] = "dm";
|
|
221
|
+
CommandSurfaceObjectTypes["Engagement"] = "engagement";
|
|
222
|
+
CommandSurfaceObjectTypes["Flow"] = "flow";
|
|
223
|
+
CommandSurfaceObjectTypes["Incident"] = "incident";
|
|
224
|
+
CommandSurfaceObjectTypes["Issue"] = "issue";
|
|
225
|
+
CommandSurfaceObjectTypes["Opportunity"] = "opportunity";
|
|
226
|
+
CommandSurfaceObjectTypes["Part"] = "part";
|
|
227
|
+
CommandSurfaceObjectTypes["RevOrg"] = "rev_org";
|
|
228
|
+
CommandSurfaceObjectTypes["RevUser"] = "rev_user";
|
|
229
|
+
CommandSurfaceObjectTypes["SnapIn"] = "snap_in";
|
|
230
|
+
CommandSurfaceObjectTypes["Ticket"] = "ticket";
|
|
231
|
+
})(CommandSurfaceObjectTypes = exports.CommandSurfaceObjectTypes || (exports.CommandSurfaceObjectTypes = {}));
|
|
232
|
+
/** Surfaces from where this command can be invoked. */
|
|
233
|
+
var CommandSurfaceSurface;
|
|
234
|
+
(function (CommandSurfaceSurface) {
|
|
235
|
+
CommandSurfaceSurface["CustomerChat"] = "customer_chat";
|
|
236
|
+
CommandSurfaceSurface["Discussions"] = "discussions";
|
|
237
|
+
})(CommandSurfaceSurface = exports.CommandSurfaceSurface || (exports.CommandSurfaceSurface = {}));
|
|
166
238
|
var ConversationsCreateRequestTypeValue;
|
|
167
239
|
(function (ConversationsCreateRequestTypeValue) {
|
|
168
240
|
ConversationsCreateRequestTypeValue["Support"] = "support";
|
|
@@ -179,6 +251,13 @@ var DateTimePresetType;
|
|
|
179
251
|
DateTimePresetType["LastNDays"] = "last_n_days";
|
|
180
252
|
DateTimePresetType["NextNDays"] = "next_n_days";
|
|
181
253
|
})(DateTimePresetType = exports.DateTimePresetType || (exports.DateTimePresetType = {}));
|
|
254
|
+
/** Indicates whether this evaluation can change in the future. */
|
|
255
|
+
var Definedness;
|
|
256
|
+
(function (Definedness) {
|
|
257
|
+
Definedness["Immutable"] = "immutable";
|
|
258
|
+
Definedness["Mutable"] = "mutable";
|
|
259
|
+
Definedness["Undefined"] = "undefined";
|
|
260
|
+
})(Definedness = exports.Definedness || (exports.Definedness = {}));
|
|
182
261
|
/**
|
|
183
262
|
* Defines the type for the authentication connection. Different types of
|
|
184
263
|
* authentication connections have different configuration parameters.
|
|
@@ -221,6 +300,10 @@ var DevUserJobTitle;
|
|
|
221
300
|
DevUserJobTitle["Support"] = "support";
|
|
222
301
|
DevUserJobTitle["TechLead"] = "tech_lead";
|
|
223
302
|
})(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
|
|
303
|
+
var DevUsersCreateRequestStateEnumValue;
|
|
304
|
+
(function (DevUsersCreateRequestStateEnumValue) {
|
|
305
|
+
DevUsersCreateRequestStateEnumValue["Shadow"] = "shadow";
|
|
306
|
+
})(DevUsersCreateRequestStateEnumValue = exports.DevUsersCreateRequestStateEnumValue || (exports.DevUsersCreateRequestStateEnumValue = {}));
|
|
224
307
|
var ErrorBadRequestCustomizationValidationErrorSubtype;
|
|
225
308
|
(function (ErrorBadRequestCustomizationValidationErrorSubtype) {
|
|
226
309
|
ErrorBadRequestCustomizationValidationErrorSubtype["BadIdType"] = "bad_id_type";
|
|
@@ -392,6 +475,28 @@ var ListMode;
|
|
|
392
475
|
ListMode["After"] = "after";
|
|
393
476
|
ListMode["Before"] = "before";
|
|
394
477
|
})(ListMode = exports.ListMode || (exports.ListMode = {}));
|
|
478
|
+
/** The channel of meeting. */
|
|
479
|
+
var MeetingChannel;
|
|
480
|
+
(function (MeetingChannel) {
|
|
481
|
+
MeetingChannel["AmazonConnect"] = "amazon_connect";
|
|
482
|
+
MeetingChannel["GoogleMeet"] = "google_meet";
|
|
483
|
+
MeetingChannel["Offline"] = "offline";
|
|
484
|
+
MeetingChannel["Other"] = "other";
|
|
485
|
+
MeetingChannel["Teams"] = "teams";
|
|
486
|
+
MeetingChannel["Zoom"] = "zoom";
|
|
487
|
+
})(MeetingChannel = exports.MeetingChannel || (exports.MeetingChannel = {}));
|
|
488
|
+
/** The state of meeting. */
|
|
489
|
+
var MeetingState;
|
|
490
|
+
(function (MeetingState) {
|
|
491
|
+
MeetingState["Canceled"] = "canceled";
|
|
492
|
+
MeetingState["Completed"] = "completed";
|
|
493
|
+
MeetingState["NoShow"] = "no_show";
|
|
494
|
+
MeetingState["Ongoing"] = "ongoing";
|
|
495
|
+
MeetingState["Rejected"] = "rejected";
|
|
496
|
+
MeetingState["Rescheduled"] = "rescheduled";
|
|
497
|
+
MeetingState["Scheduled"] = "scheduled";
|
|
498
|
+
MeetingState["Waiting"] = "waiting";
|
|
499
|
+
})(MeetingState = exports.MeetingState || (exports.MeetingState = {}));
|
|
395
500
|
var MemberType;
|
|
396
501
|
(function (MemberType) {
|
|
397
502
|
MemberType["DevUser"] = "dev_user";
|
|
@@ -399,6 +504,14 @@ var MemberType;
|
|
|
399
504
|
MemberType["RevUser"] = "rev_user";
|
|
400
505
|
MemberType["SysUser"] = "sys_user";
|
|
401
506
|
})(MemberType = exports.MemberType || (exports.MemberType = {}));
|
|
507
|
+
var MetricActionExecuteRequestAction;
|
|
508
|
+
(function (MetricActionExecuteRequestAction) {
|
|
509
|
+
MetricActionExecuteRequestAction["Complete"] = "complete";
|
|
510
|
+
MetricActionExecuteRequestAction["Pause"] = "pause";
|
|
511
|
+
MetricActionExecuteRequestAction["Restart"] = "restart";
|
|
512
|
+
MetricActionExecuteRequestAction["Resume"] = "resume";
|
|
513
|
+
MetricActionExecuteRequestAction["Start"] = "start";
|
|
514
|
+
})(MetricActionExecuteRequestAction = exports.MetricActionExecuteRequestAction || (exports.MetricActionExecuteRequestAction = {}));
|
|
402
515
|
/** The list of item types on which the metric might be applied. */
|
|
403
516
|
var MetricDefinitionAppliesTo;
|
|
404
517
|
(function (MetricDefinitionAppliesTo) {
|
|
@@ -434,6 +547,17 @@ var OrgEnvironment;
|
|
|
434
547
|
OrgEnvironment["Staging"] = "staging";
|
|
435
548
|
OrgEnvironment["Test"] = "test";
|
|
436
549
|
})(OrgEnvironment = exports.OrgEnvironment || (exports.OrgEnvironment = {}));
|
|
550
|
+
/**
|
|
551
|
+
* Status determines how an item can be used. In 'draft' status an item
|
|
552
|
+
* can be edited but can't be used. When 'published' the item can longer
|
|
553
|
+
* be edited but can be used. 'Archived' is read-only.
|
|
554
|
+
*/
|
|
555
|
+
var OrgScheduleFragmentStatus;
|
|
556
|
+
(function (OrgScheduleFragmentStatus) {
|
|
557
|
+
OrgScheduleFragmentStatus["Archived"] = "archived";
|
|
558
|
+
OrgScheduleFragmentStatus["Draft"] = "draft";
|
|
559
|
+
OrgScheduleFragmentStatus["Published"] = "published";
|
|
560
|
+
})(OrgScheduleFragmentStatus = exports.OrgScheduleFragmentStatus || (exports.OrgScheduleFragmentStatus = {}));
|
|
437
561
|
/**
|
|
438
562
|
* Status determines how an item can be used. In 'draft' status an item
|
|
439
563
|
* can be edited but can't be used. When 'published' the item can longer
|
|
@@ -465,6 +589,11 @@ var QuestionAnswerStatus;
|
|
|
465
589
|
QuestionAnswerStatus["Published"] = "published";
|
|
466
590
|
QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
|
|
467
591
|
})(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
|
|
592
|
+
var ReactionsUpdateRequestAction;
|
|
593
|
+
(function (ReactionsUpdateRequestAction) {
|
|
594
|
+
ReactionsUpdateRequestAction["Add"] = "add";
|
|
595
|
+
ReactionsUpdateRequestAction["Remove"] = "remove";
|
|
596
|
+
})(ReactionsUpdateRequestAction = exports.ReactionsUpdateRequestAction || (exports.ReactionsUpdateRequestAction = {}));
|
|
468
597
|
var SchemaFieldDescriptorArrayTypeBaseType;
|
|
469
598
|
(function (SchemaFieldDescriptorArrayTypeBaseType) {
|
|
470
599
|
SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
|
|
@@ -742,6 +871,21 @@ var VistaGroupItemType;
|
|
|
742
871
|
VistaGroupItemType["Curated"] = "curated";
|
|
743
872
|
VistaGroupItemType["Dynamic"] = "dynamic";
|
|
744
873
|
})(VistaGroupItemType = exports.VistaGroupItemType || (exports.VistaGroupItemType = {}));
|
|
874
|
+
/** State of the web crawler job. */
|
|
875
|
+
var WebCrawlerJobState;
|
|
876
|
+
(function (WebCrawlerJobState) {
|
|
877
|
+
WebCrawlerJobState["Aborted"] = "aborted";
|
|
878
|
+
WebCrawlerJobState["Completed"] = "completed";
|
|
879
|
+
WebCrawlerJobState["Running"] = "running";
|
|
880
|
+
WebCrawlerJobState["Scheduled"] = "scheduled";
|
|
881
|
+
WebCrawlerJobState["Suspended"] = "suspended";
|
|
882
|
+
})(WebCrawlerJobState = exports.WebCrawlerJobState || (exports.WebCrawlerJobState = {}));
|
|
883
|
+
var WebCrawlerJobsControlRequestAction;
|
|
884
|
+
(function (WebCrawlerJobsControlRequestAction) {
|
|
885
|
+
WebCrawlerJobsControlRequestAction["Abort"] = "abort";
|
|
886
|
+
WebCrawlerJobsControlRequestAction["Pause"] = "pause";
|
|
887
|
+
WebCrawlerJobsControlRequestAction["Resume"] = "resume";
|
|
888
|
+
})(WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobsControlRequestAction || (exports.WebCrawlerJobsControlRequestAction = {}));
|
|
745
889
|
/** The event types that the webhook will receive. */
|
|
746
890
|
var WebhookEventType;
|
|
747
891
|
(function (WebhookEventType) {
|
|
@@ -995,6 +1139,16 @@ class Api extends HttpClient {
|
|
|
995
1139
|
* @secure
|
|
996
1140
|
*/
|
|
997
1141
|
this.accountsListPost = (data, params = {}) => this.request(Object.assign({ path: `/accounts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1142
|
+
/**
|
|
1143
|
+
* @description Merges two accounts.
|
|
1144
|
+
*
|
|
1145
|
+
* @tags accounts
|
|
1146
|
+
* @name AccountsMerge
|
|
1147
|
+
* @summary Merge Accounts
|
|
1148
|
+
* @request POST:/accounts.merge
|
|
1149
|
+
* @secure
|
|
1150
|
+
*/
|
|
1151
|
+
this.accountsMerge = (data, params = {}) => this.request(Object.assign({ path: `/accounts.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
998
1152
|
/**
|
|
999
1153
|
* @description Updates an account's information.
|
|
1000
1154
|
*
|
|
@@ -1225,6 +1379,26 @@ class Api extends HttpClient {
|
|
|
1225
1379
|
* @secure
|
|
1226
1380
|
*/
|
|
1227
1381
|
this.authTokensGetPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1382
|
+
/**
|
|
1383
|
+
* @description Returns the Dev organization, user and token attributes extracted from the auth token.
|
|
1384
|
+
*
|
|
1385
|
+
* @tags auth-tokens
|
|
1386
|
+
* @name AuthTokensInfo
|
|
1387
|
+
* @summary Info Auth Tokens
|
|
1388
|
+
* @request GET:/auth-tokens.info
|
|
1389
|
+
* @secure
|
|
1390
|
+
*/
|
|
1391
|
+
this.authTokensInfo = (params = {}) => this.request(Object.assign({ path: `/auth-tokens.info`, method: 'GET', secure: true, format: 'json' }, params));
|
|
1392
|
+
/**
|
|
1393
|
+
* @description Returns the Dev organization, user and token attributes extracted from the auth token.
|
|
1394
|
+
*
|
|
1395
|
+
* @tags auth-tokens
|
|
1396
|
+
* @name AuthTokensInfoPost
|
|
1397
|
+
* @summary Info Auth Tokens (POST)
|
|
1398
|
+
* @request POST:/auth-tokens.info
|
|
1399
|
+
* @secure
|
|
1400
|
+
*/
|
|
1401
|
+
this.authTokensInfoPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.info`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1228
1402
|
/**
|
|
1229
1403
|
* @description Gets the token metadata for all the tokens corresponding to the given token type issued for a given subject.
|
|
1230
1404
|
*
|
|
@@ -1265,6 +1439,176 @@ class Api extends HttpClient {
|
|
|
1265
1439
|
* @secure
|
|
1266
1440
|
*/
|
|
1267
1441
|
this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1442
|
+
/**
|
|
1443
|
+
* @description Creates a new chat, or optionally opens an existing one.
|
|
1444
|
+
*
|
|
1445
|
+
* @tags chats
|
|
1446
|
+
* @name ChatsCreate
|
|
1447
|
+
* @summary Create Chat
|
|
1448
|
+
* @request POST:/chats.create
|
|
1449
|
+
* @secure
|
|
1450
|
+
*/
|
|
1451
|
+
this.chatsCreate = (data, params = {}) => this.request(Object.assign({ path: `/chats.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1452
|
+
/**
|
|
1453
|
+
* @description Gets a chat's information.
|
|
1454
|
+
*
|
|
1455
|
+
* @tags chats
|
|
1456
|
+
* @name ChatsGet
|
|
1457
|
+
* @summary Get Chat
|
|
1458
|
+
* @request GET:/chats.get
|
|
1459
|
+
* @secure
|
|
1460
|
+
*/
|
|
1461
|
+
this.chatsGet = (query, params = {}) => this.request(Object.assign({ path: `/chats.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1462
|
+
/**
|
|
1463
|
+
* @description Gets a chat's information.
|
|
1464
|
+
*
|
|
1465
|
+
* @tags chats
|
|
1466
|
+
* @name ChatsGetPost
|
|
1467
|
+
* @summary Get Chat (POST)
|
|
1468
|
+
* @request POST:/chats.get
|
|
1469
|
+
* @secure
|
|
1470
|
+
*/
|
|
1471
|
+
this.chatsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/chats.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1472
|
+
/**
|
|
1473
|
+
* @description Updates a chat's information.
|
|
1474
|
+
*
|
|
1475
|
+
* @tags chats
|
|
1476
|
+
* @name ChatsUpdate
|
|
1477
|
+
* @summary Update Chat
|
|
1478
|
+
* @request POST:/chats.update
|
|
1479
|
+
* @secure
|
|
1480
|
+
*/
|
|
1481
|
+
this.chatsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/chats.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1482
|
+
/**
|
|
1483
|
+
* @description Creates a code change object.
|
|
1484
|
+
*
|
|
1485
|
+
* @tags code-changes
|
|
1486
|
+
* @name CodeChangesCreate
|
|
1487
|
+
* @summary Create Code Change
|
|
1488
|
+
* @request POST:/code-changes.create
|
|
1489
|
+
* @secure
|
|
1490
|
+
*/
|
|
1491
|
+
this.codeChangesCreate = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1492
|
+
/**
|
|
1493
|
+
* @description Deletes a code change object.
|
|
1494
|
+
*
|
|
1495
|
+
* @tags code-changes
|
|
1496
|
+
* @name CodeChangesDelete
|
|
1497
|
+
* @summary Delete Code Change
|
|
1498
|
+
* @request POST:/code-changes.delete
|
|
1499
|
+
* @secure
|
|
1500
|
+
*/
|
|
1501
|
+
this.codeChangesDelete = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1502
|
+
/**
|
|
1503
|
+
* @description Gets a code change object.
|
|
1504
|
+
*
|
|
1505
|
+
* @tags code-changes
|
|
1506
|
+
* @name CodeChangesGet
|
|
1507
|
+
* @summary Get Code Change
|
|
1508
|
+
* @request GET:/code-changes.get
|
|
1509
|
+
* @secure
|
|
1510
|
+
*/
|
|
1511
|
+
this.codeChangesGet = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1512
|
+
/**
|
|
1513
|
+
* @description Gets a code change object.
|
|
1514
|
+
*
|
|
1515
|
+
* @tags code-changes
|
|
1516
|
+
* @name CodeChangesGetPost
|
|
1517
|
+
* @summary Get Code Change (POST)
|
|
1518
|
+
* @request POST:/code-changes.get
|
|
1519
|
+
* @secure
|
|
1520
|
+
*/
|
|
1521
|
+
this.codeChangesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1522
|
+
/**
|
|
1523
|
+
* @description Lists code change objects.
|
|
1524
|
+
*
|
|
1525
|
+
* @tags code-changes
|
|
1526
|
+
* @name CodeChangesList
|
|
1527
|
+
* @summary List Code Changes
|
|
1528
|
+
* @request GET:/code-changes.list
|
|
1529
|
+
* @secure
|
|
1530
|
+
*/
|
|
1531
|
+
this.codeChangesList = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1532
|
+
/**
|
|
1533
|
+
* @description Lists code change objects.
|
|
1534
|
+
*
|
|
1535
|
+
* @tags code-changes
|
|
1536
|
+
* @name CodeChangesListPost
|
|
1537
|
+
* @summary List Code Changes (POST)
|
|
1538
|
+
* @request POST:/code-changes.list
|
|
1539
|
+
* @secure
|
|
1540
|
+
*/
|
|
1541
|
+
this.codeChangesListPost = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1542
|
+
/**
|
|
1543
|
+
* @description Updates a code change object.
|
|
1544
|
+
*
|
|
1545
|
+
* @tags code-changes
|
|
1546
|
+
* @name CodeChangesUpdate
|
|
1547
|
+
* @summary Update Code Change
|
|
1548
|
+
* @request POST:/code-changes.update
|
|
1549
|
+
* @secure
|
|
1550
|
+
*/
|
|
1551
|
+
this.codeChangesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1552
|
+
/**
|
|
1553
|
+
* @description Creates a command.
|
|
1554
|
+
*
|
|
1555
|
+
* @tags commands
|
|
1556
|
+
* @name CommandsCreate
|
|
1557
|
+
* @summary Create Command
|
|
1558
|
+
* @request POST:/commands.create
|
|
1559
|
+
* @secure
|
|
1560
|
+
*/
|
|
1561
|
+
this.commandsCreate = (data, params = {}) => this.request(Object.assign({ path: `/commands.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1562
|
+
/**
|
|
1563
|
+
* @description Gets a command.
|
|
1564
|
+
*
|
|
1565
|
+
* @tags commands
|
|
1566
|
+
* @name CommandsGet
|
|
1567
|
+
* @summary Get Command
|
|
1568
|
+
* @request GET:/commands.get
|
|
1569
|
+
* @secure
|
|
1570
|
+
*/
|
|
1571
|
+
this.commandsGet = (query, params = {}) => this.request(Object.assign({ path: `/commands.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1572
|
+
/**
|
|
1573
|
+
* @description Gets a command.
|
|
1574
|
+
*
|
|
1575
|
+
* @tags commands
|
|
1576
|
+
* @name CommandsGetPost
|
|
1577
|
+
* @summary Get Command (POST)
|
|
1578
|
+
* @request POST:/commands.get
|
|
1579
|
+
* @secure
|
|
1580
|
+
*/
|
|
1581
|
+
this.commandsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/commands.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1582
|
+
/**
|
|
1583
|
+
* @description Lists commands for a Dev organization.
|
|
1584
|
+
*
|
|
1585
|
+
* @tags commands
|
|
1586
|
+
* @name CommandsList
|
|
1587
|
+
* @summary List Commands
|
|
1588
|
+
* @request GET:/commands.list
|
|
1589
|
+
* @secure
|
|
1590
|
+
*/
|
|
1591
|
+
this.commandsList = (query, params = {}) => this.request(Object.assign({ path: `/commands.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1592
|
+
/**
|
|
1593
|
+
* @description Lists commands for a Dev organization.
|
|
1594
|
+
*
|
|
1595
|
+
* @tags commands
|
|
1596
|
+
* @name CommandsListPost
|
|
1597
|
+
* @summary List Commands (POST)
|
|
1598
|
+
* @request POST:/commands.list
|
|
1599
|
+
* @secure
|
|
1600
|
+
*/
|
|
1601
|
+
this.commandsListPost = (data, params = {}) => this.request(Object.assign({ path: `/commands.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1602
|
+
/**
|
|
1603
|
+
* @description Updates a command.
|
|
1604
|
+
*
|
|
1605
|
+
* @tags commands
|
|
1606
|
+
* @name CommandsUpdate
|
|
1607
|
+
* @summary Update Command
|
|
1608
|
+
* @request POST:/commands.update
|
|
1609
|
+
* @secure
|
|
1610
|
+
*/
|
|
1611
|
+
this.commandsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/commands.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1268
1612
|
/**
|
|
1269
1613
|
* @description Creates a conversation.
|
|
1270
1614
|
*
|
|
@@ -1415,6 +1759,56 @@ class Api extends HttpClient {
|
|
|
1415
1759
|
* @secure
|
|
1416
1760
|
*/
|
|
1417
1761
|
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));
|
|
1762
|
+
/**
|
|
1763
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
1764
|
+
*
|
|
1765
|
+
* @tags dev-orgs
|
|
1766
|
+
* @name DevOrgsGet
|
|
1767
|
+
* @summary Get Dev Org
|
|
1768
|
+
* @request GET:/dev-orgs.get
|
|
1769
|
+
* @secure
|
|
1770
|
+
*/
|
|
1771
|
+
this.devOrgsGet = (params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'GET', secure: true, format: 'json' }, params));
|
|
1772
|
+
/**
|
|
1773
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
1774
|
+
*
|
|
1775
|
+
* @tags dev-orgs
|
|
1776
|
+
* @name DevOrgsGetPost
|
|
1777
|
+
* @summary Get Dev Org (POST)
|
|
1778
|
+
* @request POST:/dev-orgs.get
|
|
1779
|
+
* @secure
|
|
1780
|
+
*/
|
|
1781
|
+
this.devOrgsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1782
|
+
/**
|
|
1783
|
+
* @description Activates the requested user.
|
|
1784
|
+
*
|
|
1785
|
+
* @tags dev-users
|
|
1786
|
+
* @name DevUsersActivate
|
|
1787
|
+
* @summary Activate Dev Users
|
|
1788
|
+
* @request POST:/dev-users.activate
|
|
1789
|
+
* @secure
|
|
1790
|
+
*/
|
|
1791
|
+
this.devUsersActivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.activate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1792
|
+
/**
|
|
1793
|
+
* @description Creates a Dev user for a Dev organization.
|
|
1794
|
+
*
|
|
1795
|
+
* @tags dev-users
|
|
1796
|
+
* @name DevUsersCreate
|
|
1797
|
+
* @summary Create Dev User
|
|
1798
|
+
* @request POST:/dev-users.create
|
|
1799
|
+
* @secure
|
|
1800
|
+
*/
|
|
1801
|
+
this.devUsersCreate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1802
|
+
/**
|
|
1803
|
+
* @description Deactivates the requested user.
|
|
1804
|
+
*
|
|
1805
|
+
* @tags dev-users
|
|
1806
|
+
* @name DevUsersDeactivate
|
|
1807
|
+
* @summary Deactivate Dev Users
|
|
1808
|
+
* @request POST:/dev-users.deactivate
|
|
1809
|
+
* @secure
|
|
1810
|
+
*/
|
|
1811
|
+
this.devUsersDeactivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.deactivate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1418
1812
|
/**
|
|
1419
1813
|
* @description Gets the requested user's information.
|
|
1420
1814
|
*
|
|
@@ -1435,6 +1829,26 @@ class Api extends HttpClient {
|
|
|
1435
1829
|
* @secure
|
|
1436
1830
|
*/
|
|
1437
1831
|
this.devUsersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1832
|
+
/**
|
|
1833
|
+
* @description Links an external/secondary identity to the Dev user.
|
|
1834
|
+
*
|
|
1835
|
+
* @tags dev-users
|
|
1836
|
+
* @name DevUsersIdentitiesLink
|
|
1837
|
+
* @summary Link Dev Users Identities
|
|
1838
|
+
* @request POST:/dev-users.identities.link
|
|
1839
|
+
* @secure
|
|
1840
|
+
*/
|
|
1841
|
+
this.devUsersIdentitiesLink = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.identities.link`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1842
|
+
/**
|
|
1843
|
+
* @description Unlinks an external/secondary identity from the Dev user.
|
|
1844
|
+
*
|
|
1845
|
+
* @tags dev-users
|
|
1846
|
+
* @name DevUsersIdentitiesUnlink
|
|
1847
|
+
* @summary Unlink Dev Users Identities
|
|
1848
|
+
* @request POST:/dev-users.identities.unlink
|
|
1849
|
+
* @secure
|
|
1850
|
+
*/
|
|
1851
|
+
this.devUsersIdentitiesUnlink = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.identities.unlink`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1438
1852
|
/**
|
|
1439
1853
|
* @description Lists users within your organization.
|
|
1440
1854
|
*
|
|
@@ -1455,6 +1869,16 @@ class Api extends HttpClient {
|
|
|
1455
1869
|
* @secure
|
|
1456
1870
|
*/
|
|
1457
1871
|
this.devUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1872
|
+
/**
|
|
1873
|
+
* @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.
|
|
1874
|
+
*
|
|
1875
|
+
* @tags dev-users
|
|
1876
|
+
* @name DevUsersMerge
|
|
1877
|
+
* @summary Merge Dev Users
|
|
1878
|
+
* @request POST:/dev-users.merge
|
|
1879
|
+
* @secure
|
|
1880
|
+
*/
|
|
1881
|
+
this.devUsersMerge = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1458
1882
|
/**
|
|
1459
1883
|
* @description Gets the authenticated user's information.
|
|
1460
1884
|
*
|
|
@@ -1495,6 +1919,96 @@ class Api extends HttpClient {
|
|
|
1495
1919
|
* @secure
|
|
1496
1920
|
*/
|
|
1497
1921
|
this.devUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1922
|
+
/**
|
|
1923
|
+
* @description Get count of directories matching given filter.
|
|
1924
|
+
*
|
|
1925
|
+
* @tags directory
|
|
1926
|
+
* @name DirectoriesCount
|
|
1927
|
+
* @summary Count Directories
|
|
1928
|
+
* @request GET:/directories.count
|
|
1929
|
+
* @secure
|
|
1930
|
+
*/
|
|
1931
|
+
this.directoriesCount = (query, params = {}) => this.request(Object.assign({ path: `/directories.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1932
|
+
/**
|
|
1933
|
+
* @description Get count of directories matching given filter.
|
|
1934
|
+
*
|
|
1935
|
+
* @tags directory
|
|
1936
|
+
* @name DirectoriesCountPost
|
|
1937
|
+
* @summary Count Directories (POST)
|
|
1938
|
+
* @request POST:/directories.count
|
|
1939
|
+
* @secure
|
|
1940
|
+
*/
|
|
1941
|
+
this.directoriesCountPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1942
|
+
/**
|
|
1943
|
+
* @description Creates a directory for the specified inputs.
|
|
1944
|
+
*
|
|
1945
|
+
* @tags directory
|
|
1946
|
+
* @name DirectoriesCreate
|
|
1947
|
+
* @summary Create Directory
|
|
1948
|
+
* @request POST:/directories.create
|
|
1949
|
+
* @secure
|
|
1950
|
+
*/
|
|
1951
|
+
this.directoriesCreate = (data, params = {}) => this.request(Object.assign({ path: `/directories.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1952
|
+
/**
|
|
1953
|
+
* @description Delete the specified directory.
|
|
1954
|
+
*
|
|
1955
|
+
* @tags directory
|
|
1956
|
+
* @name DirectoriesDelete
|
|
1957
|
+
* @summary Delete Directory
|
|
1958
|
+
* @request POST:/directories.delete
|
|
1959
|
+
* @secure
|
|
1960
|
+
*/
|
|
1961
|
+
this.directoriesDelete = (data, params = {}) => this.request(Object.assign({ path: `/directories.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1962
|
+
/**
|
|
1963
|
+
* @description Gets the specified directory.
|
|
1964
|
+
*
|
|
1965
|
+
* @tags directory
|
|
1966
|
+
* @name DirectoriesGet
|
|
1967
|
+
* @summary Get Directory
|
|
1968
|
+
* @request GET:/directories.get
|
|
1969
|
+
* @secure
|
|
1970
|
+
*/
|
|
1971
|
+
this.directoriesGet = (query, params = {}) => this.request(Object.assign({ path: `/directories.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1972
|
+
/**
|
|
1973
|
+
* @description Gets the specified directory.
|
|
1974
|
+
*
|
|
1975
|
+
* @tags directory
|
|
1976
|
+
* @name DirectoriesGetPost
|
|
1977
|
+
* @summary Get Directory (POST)
|
|
1978
|
+
* @request POST:/directories.get
|
|
1979
|
+
* @secure
|
|
1980
|
+
*/
|
|
1981
|
+
this.directoriesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1982
|
+
/**
|
|
1983
|
+
* @description Lists directories matching the request.
|
|
1984
|
+
*
|
|
1985
|
+
* @tags directory
|
|
1986
|
+
* @name DirectoriesList
|
|
1987
|
+
* @summary List Directories
|
|
1988
|
+
* @request GET:/directories.list
|
|
1989
|
+
* @secure
|
|
1990
|
+
*/
|
|
1991
|
+
this.directoriesList = (query, params = {}) => this.request(Object.assign({ path: `/directories.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1992
|
+
/**
|
|
1993
|
+
* @description Lists directories matching the request.
|
|
1994
|
+
*
|
|
1995
|
+
* @tags directory
|
|
1996
|
+
* @name DirectoriesListPost
|
|
1997
|
+
* @summary List Directories (POST)
|
|
1998
|
+
* @request POST:/directories.list
|
|
1999
|
+
* @secure
|
|
2000
|
+
*/
|
|
2001
|
+
this.directoriesListPost = (data, params = {}) => this.request(Object.assign({ path: `/directories.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2002
|
+
/**
|
|
2003
|
+
* @description Updates the specified directory.
|
|
2004
|
+
*
|
|
2005
|
+
* @tags directory
|
|
2006
|
+
* @name DirectoriesUpdate
|
|
2007
|
+
* @summary Update Directory
|
|
2008
|
+
* @request POST:/directories.update
|
|
2009
|
+
* @secure
|
|
2010
|
+
*/
|
|
2011
|
+
this.directoriesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/directories.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1498
2012
|
/**
|
|
1499
2013
|
* @description Creates a new group. A group is a collection of users.
|
|
1500
2014
|
*
|
|
@@ -1684,6 +2198,146 @@ class Api extends HttpClient {
|
|
|
1684
2198
|
* @secure
|
|
1685
2199
|
*/
|
|
1686
2200
|
this.linksReplace = (data, params = {}) => this.request(Object.assign({ path: `/links.replace`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2201
|
+
/**
|
|
2202
|
+
* @description Counts the meeting records.
|
|
2203
|
+
*
|
|
2204
|
+
* @tags meetings
|
|
2205
|
+
* @name MeetingsCount
|
|
2206
|
+
* @summary Count Meetings
|
|
2207
|
+
* @request GET:/meetings.count
|
|
2208
|
+
* @secure
|
|
2209
|
+
*/
|
|
2210
|
+
this.meetingsCount = (query, params = {}) => this.request(Object.assign({ path: `/meetings.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2211
|
+
/**
|
|
2212
|
+
* @description Counts the meeting records.
|
|
2213
|
+
*
|
|
2214
|
+
* @tags meetings
|
|
2215
|
+
* @name MeetingsCountPost
|
|
2216
|
+
* @summary Count Meetings (POST)
|
|
2217
|
+
* @request POST:/meetings.count
|
|
2218
|
+
* @secure
|
|
2219
|
+
*/
|
|
2220
|
+
this.meetingsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2221
|
+
/**
|
|
2222
|
+
* @description Creates a new meeting record.
|
|
2223
|
+
*
|
|
2224
|
+
* @tags meetings
|
|
2225
|
+
* @name MeetingsCreate
|
|
2226
|
+
* @summary Create Meeting
|
|
2227
|
+
* @request POST:/meetings.create
|
|
2228
|
+
* @secure
|
|
2229
|
+
*/
|
|
2230
|
+
this.meetingsCreate = (data, params = {}) => this.request(Object.assign({ path: `/meetings.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2231
|
+
/**
|
|
2232
|
+
* @description Deletes the meeting record.
|
|
2233
|
+
*
|
|
2234
|
+
* @tags meetings
|
|
2235
|
+
* @name MeetingsDelete
|
|
2236
|
+
* @summary Delete Meeting
|
|
2237
|
+
* @request POST:/meetings.delete
|
|
2238
|
+
* @secure
|
|
2239
|
+
*/
|
|
2240
|
+
this.meetingsDelete = (data, params = {}) => this.request(Object.assign({ path: `/meetings.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2241
|
+
/**
|
|
2242
|
+
* @description Gets the meeting record.
|
|
2243
|
+
*
|
|
2244
|
+
* @tags meetings
|
|
2245
|
+
* @name MeetingsGet
|
|
2246
|
+
* @summary Get Meeting
|
|
2247
|
+
* @request GET:/meetings.get
|
|
2248
|
+
* @secure
|
|
2249
|
+
*/
|
|
2250
|
+
this.meetingsGet = (query, params = {}) => this.request(Object.assign({ path: `/meetings.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2251
|
+
/**
|
|
2252
|
+
* @description Gets the meeting record.
|
|
2253
|
+
*
|
|
2254
|
+
* @tags meetings
|
|
2255
|
+
* @name MeetingsGetPost
|
|
2256
|
+
* @summary Get Meeting (POST)
|
|
2257
|
+
* @request POST:/meetings.get
|
|
2258
|
+
* @secure
|
|
2259
|
+
*/
|
|
2260
|
+
this.meetingsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2261
|
+
/**
|
|
2262
|
+
* @description Lists the meeting records.
|
|
2263
|
+
*
|
|
2264
|
+
* @tags meetings
|
|
2265
|
+
* @name MeetingsList
|
|
2266
|
+
* @summary List Meetings
|
|
2267
|
+
* @request GET:/meetings.list
|
|
2268
|
+
* @secure
|
|
2269
|
+
*/
|
|
2270
|
+
this.meetingsList = (query, params = {}) => this.request(Object.assign({ path: `/meetings.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2271
|
+
/**
|
|
2272
|
+
* @description Lists the meeting records.
|
|
2273
|
+
*
|
|
2274
|
+
* @tags meetings
|
|
2275
|
+
* @name MeetingsListPost
|
|
2276
|
+
* @summary List Meetings (POST)
|
|
2277
|
+
* @request POST:/meetings.list
|
|
2278
|
+
* @secure
|
|
2279
|
+
*/
|
|
2280
|
+
this.meetingsListPost = (data, params = {}) => this.request(Object.assign({ path: `/meetings.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2281
|
+
/**
|
|
2282
|
+
* @description Updates the meeting record.
|
|
2283
|
+
*
|
|
2284
|
+
* @tags meetings
|
|
2285
|
+
* @name MeetingsUpdate
|
|
2286
|
+
* @summary Update Meeting
|
|
2287
|
+
* @request POST:/meetings.update
|
|
2288
|
+
* @secure
|
|
2289
|
+
*/
|
|
2290
|
+
this.meetingsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/meetings.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2291
|
+
/**
|
|
2292
|
+
* @description Executes the metric action on the given object.
|
|
2293
|
+
*
|
|
2294
|
+
* @tags slas
|
|
2295
|
+
* @name MetricActionExecute
|
|
2296
|
+
* @summary Execute Metric Action
|
|
2297
|
+
* @request POST:/metric-action.execute
|
|
2298
|
+
* @secure
|
|
2299
|
+
*/
|
|
2300
|
+
this.metricActionExecute = (data, params = {}) => this.request(Object.assign({ path: `/metric-action.execute`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2301
|
+
/**
|
|
2302
|
+
* @description Creates a custom metric definition
|
|
2303
|
+
*
|
|
2304
|
+
* @tags slas
|
|
2305
|
+
* @name MetricDefinitionsCreate
|
|
2306
|
+
* @summary Create Metric Definition
|
|
2307
|
+
* @request POST:/metric-definitions.create
|
|
2308
|
+
* @secure
|
|
2309
|
+
*/
|
|
2310
|
+
this.metricDefinitionsCreate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2311
|
+
/**
|
|
2312
|
+
* @description Deletes a custom metric definition
|
|
2313
|
+
*
|
|
2314
|
+
* @tags slas
|
|
2315
|
+
* @name MetricDefinitionsDelete
|
|
2316
|
+
* @summary Delete Metric Definition
|
|
2317
|
+
* @request POST:/metric-definitions.delete
|
|
2318
|
+
* @secure
|
|
2319
|
+
*/
|
|
2320
|
+
this.metricDefinitionsDelete = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2321
|
+
/**
|
|
2322
|
+
* @description Gets a custom metric definition
|
|
2323
|
+
*
|
|
2324
|
+
* @tags slas
|
|
2325
|
+
* @name MetricDefinitionsGet
|
|
2326
|
+
* @summary Get Metric Definition
|
|
2327
|
+
* @request GET:/metric-definitions.get
|
|
2328
|
+
* @secure
|
|
2329
|
+
*/
|
|
2330
|
+
this.metricDefinitionsGet = (query, params = {}) => this.request(Object.assign({ path: `/metric-definitions.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2331
|
+
/**
|
|
2332
|
+
* @description Gets a custom metric definition
|
|
2333
|
+
*
|
|
2334
|
+
* @tags slas
|
|
2335
|
+
* @name MetricDefinitionsGetPost
|
|
2336
|
+
* @summary Get Metric Definition (POST)
|
|
2337
|
+
* @request POST:/metric-definitions.get
|
|
2338
|
+
* @secure
|
|
2339
|
+
*/
|
|
2340
|
+
this.metricDefinitionsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1687
2341
|
/**
|
|
1688
2342
|
* @description Lists metric definitions matching a filter.
|
|
1689
2343
|
*
|
|
@@ -1704,6 +2358,16 @@ class Api extends HttpClient {
|
|
|
1704
2358
|
* @secure
|
|
1705
2359
|
*/
|
|
1706
2360
|
this.metricDefinitionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2361
|
+
/**
|
|
2362
|
+
* @description Updates a custom metric definition
|
|
2363
|
+
*
|
|
2364
|
+
* @tags slas
|
|
2365
|
+
* @name MetricDefinitionsUpdate
|
|
2366
|
+
* @summary Update Metric Definition
|
|
2367
|
+
* @request POST:/metric-definitions.update
|
|
2368
|
+
* @secure
|
|
2369
|
+
*/
|
|
2370
|
+
this.metricDefinitionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/metric-definitions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1707
2371
|
/**
|
|
1708
2372
|
* @description Gets a metric tracker.
|
|
1709
2373
|
*
|
|
@@ -1724,6 +2388,146 @@ class Api extends HttpClient {
|
|
|
1724
2388
|
* @secure
|
|
1725
2389
|
*/
|
|
1726
2390
|
this.metricTrackersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/metric-trackers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2391
|
+
/**
|
|
2392
|
+
* @description Creates an organization schedule fragment.
|
|
2393
|
+
*
|
|
2394
|
+
* @tags schedules
|
|
2395
|
+
* @name OrgScheduleFragmentsCreate
|
|
2396
|
+
* @summary Create Org Schedule Fragment
|
|
2397
|
+
* @request POST:/org-schedule-fragments.create
|
|
2398
|
+
* @secure
|
|
2399
|
+
*/
|
|
2400
|
+
this.orgScheduleFragmentsCreate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedule-fragments.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2401
|
+
/**
|
|
2402
|
+
* @description Gets an organization schedule fragment.
|
|
2403
|
+
*
|
|
2404
|
+
* @tags schedules
|
|
2405
|
+
* @name OrgScheduleFragmentsGet
|
|
2406
|
+
* @summary Get Org Schedule Fragment
|
|
2407
|
+
* @request GET:/org-schedule-fragments.get
|
|
2408
|
+
* @secure
|
|
2409
|
+
*/
|
|
2410
|
+
this.orgScheduleFragmentsGet = (query, params = {}) => this.request(Object.assign({ path: `/org-schedule-fragments.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2411
|
+
/**
|
|
2412
|
+
* @description Gets an organization schedule fragment.
|
|
2413
|
+
*
|
|
2414
|
+
* @tags schedules
|
|
2415
|
+
* @name OrgScheduleFragmentsGetPost
|
|
2416
|
+
* @summary Get Org Schedule Fragment (POST)
|
|
2417
|
+
* @request POST:/org-schedule-fragments.get
|
|
2418
|
+
* @secure
|
|
2419
|
+
*/
|
|
2420
|
+
this.orgScheduleFragmentsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedule-fragments.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2421
|
+
/**
|
|
2422
|
+
* @description Changes stage of an organization schedule fragment.
|
|
2423
|
+
*
|
|
2424
|
+
* @tags schedules
|
|
2425
|
+
* @name OrgScheduleFragmentsTransition
|
|
2426
|
+
* @summary Transition Org Schedule Fragments
|
|
2427
|
+
* @request POST:/org-schedule-fragments.transition
|
|
2428
|
+
* @secure
|
|
2429
|
+
*/
|
|
2430
|
+
this.orgScheduleFragmentsTransition = (data, params = {}) => this.request(Object.assign({ path: `/org-schedule-fragments.transition`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2431
|
+
/**
|
|
2432
|
+
* @description Creates an organization schedule with a default weekly organization schedule and a list of organization schedule fragments.
|
|
2433
|
+
*
|
|
2434
|
+
* @tags schedules
|
|
2435
|
+
* @name OrgSchedulesCreate
|
|
2436
|
+
* @summary Create Org Schedule
|
|
2437
|
+
* @request POST:/org-schedules.create
|
|
2438
|
+
* @secure
|
|
2439
|
+
*/
|
|
2440
|
+
this.orgSchedulesCreate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2441
|
+
/**
|
|
2442
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2443
|
+
*
|
|
2444
|
+
* @tags schedules
|
|
2445
|
+
* @name OrgSchedulesEvaluate
|
|
2446
|
+
* @summary Evaluate Org Schedules
|
|
2447
|
+
* @request GET:/org-schedules.evaluate
|
|
2448
|
+
* @secure
|
|
2449
|
+
*/
|
|
2450
|
+
this.orgSchedulesEvaluate = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2451
|
+
/**
|
|
2452
|
+
* @description Evaluates an organization's schedule at specified instants.
|
|
2453
|
+
*
|
|
2454
|
+
* @tags schedules
|
|
2455
|
+
* @name OrgSchedulesEvaluatePost
|
|
2456
|
+
* @summary Evaluate Org Schedules (POST)
|
|
2457
|
+
* @request POST:/org-schedules.evaluate
|
|
2458
|
+
* @secure
|
|
2459
|
+
*/
|
|
2460
|
+
this.orgSchedulesEvaluatePost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2461
|
+
/**
|
|
2462
|
+
* @description Gets an organization schedule.
|
|
2463
|
+
*
|
|
2464
|
+
* @tags schedules
|
|
2465
|
+
* @name OrgSchedulesGet
|
|
2466
|
+
* @summary Get Org Schedule
|
|
2467
|
+
* @request GET:/org-schedules.get
|
|
2468
|
+
* @secure
|
|
2469
|
+
*/
|
|
2470
|
+
this.orgSchedulesGet = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2471
|
+
/**
|
|
2472
|
+
* @description Gets an organization schedule.
|
|
2473
|
+
*
|
|
2474
|
+
* @tags schedules
|
|
2475
|
+
* @name OrgSchedulesGetPost
|
|
2476
|
+
* @summary Get Org Schedule (POST)
|
|
2477
|
+
* @request POST:/org-schedules.get
|
|
2478
|
+
* @secure
|
|
2479
|
+
*/
|
|
2480
|
+
this.orgSchedulesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2481
|
+
/**
|
|
2482
|
+
* @description Gets list of organization schedules.
|
|
2483
|
+
*
|
|
2484
|
+
* @tags schedules
|
|
2485
|
+
* @name OrgSchedulesList
|
|
2486
|
+
* @summary List Org Schedules
|
|
2487
|
+
* @request GET:/org-schedules.list
|
|
2488
|
+
* @secure
|
|
2489
|
+
*/
|
|
2490
|
+
this.orgSchedulesList = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2491
|
+
/**
|
|
2492
|
+
* @description Gets list of organization schedules.
|
|
2493
|
+
*
|
|
2494
|
+
* @tags schedules
|
|
2495
|
+
* @name OrgSchedulesListPost
|
|
2496
|
+
* @summary List Org Schedules (POST)
|
|
2497
|
+
* @request POST:/org-schedules.list
|
|
2498
|
+
* @secure
|
|
2499
|
+
*/
|
|
2500
|
+
this.orgSchedulesListPost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2501
|
+
/**
|
|
2502
|
+
* @description Sets next organization schedule fragment which must begin the day the last existing fragment ends.
|
|
2503
|
+
*
|
|
2504
|
+
* @tags schedules
|
|
2505
|
+
* @name OrgSchedulesSetFuture
|
|
2506
|
+
* @summary Set-Future Org Schedules
|
|
2507
|
+
* @request POST:/org-schedules.set-future
|
|
2508
|
+
* @secure
|
|
2509
|
+
*/
|
|
2510
|
+
this.orgSchedulesSetFuture = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.set-future`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2511
|
+
/**
|
|
2512
|
+
* @description Publishes or archives an organization schedule.
|
|
2513
|
+
*
|
|
2514
|
+
* @tags schedules
|
|
2515
|
+
* @name OrgSchedulesTransition
|
|
2516
|
+
* @summary Transition Org Schedules
|
|
2517
|
+
* @request POST:/org-schedules.transition
|
|
2518
|
+
* @secure
|
|
2519
|
+
*/
|
|
2520
|
+
this.orgSchedulesTransition = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.transition`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2521
|
+
/**
|
|
2522
|
+
* @description Updates an organization schedule.
|
|
2523
|
+
*
|
|
2524
|
+
* @tags schedules
|
|
2525
|
+
* @name OrgSchedulesUpdate
|
|
2526
|
+
* @summary Update Org Schedule
|
|
2527
|
+
* @request POST:/org-schedules.update
|
|
2528
|
+
* @secure
|
|
2529
|
+
*/
|
|
2530
|
+
this.orgSchedulesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1727
2531
|
/**
|
|
1728
2532
|
* @description Creates new [part](https://devrev.ai/docs/product/parts).
|
|
1729
2533
|
*
|
|
@@ -1794,6 +2598,36 @@ class Api extends HttpClient {
|
|
|
1794
2598
|
* @secure
|
|
1795
2599
|
*/
|
|
1796
2600
|
this.partsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/parts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2601
|
+
/**
|
|
2602
|
+
* @description Lists the reactors for an object.
|
|
2603
|
+
*
|
|
2604
|
+
* @tags timeline-entries, works
|
|
2605
|
+
* @name ReactionsList
|
|
2606
|
+
* @summary List Reactions
|
|
2607
|
+
* @request GET:/reactions.list
|
|
2608
|
+
* @secure
|
|
2609
|
+
*/
|
|
2610
|
+
this.reactionsList = (query, params = {}) => this.request(Object.assign({ path: `/reactions.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2611
|
+
/**
|
|
2612
|
+
* @description Lists the reactors for an object.
|
|
2613
|
+
*
|
|
2614
|
+
* @tags timeline-entries, works
|
|
2615
|
+
* @name ReactionsListPost
|
|
2616
|
+
* @summary List Reactions (POST)
|
|
2617
|
+
* @request POST:/reactions.list
|
|
2618
|
+
* @secure
|
|
2619
|
+
*/
|
|
2620
|
+
this.reactionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/reactions.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2621
|
+
/**
|
|
2622
|
+
* @description Updates a reaction for an object.
|
|
2623
|
+
*
|
|
2624
|
+
* @tags timeline-entries, works
|
|
2625
|
+
* @name ReactionsUpdate
|
|
2626
|
+
* @summary Update Reaction
|
|
2627
|
+
* @request POST:/reactions.update
|
|
2628
|
+
* @secure
|
|
2629
|
+
*/
|
|
2630
|
+
this.reactionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/reactions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1797
2631
|
/**
|
|
1798
2632
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
1799
2633
|
*
|
|
@@ -1924,6 +2758,36 @@ class Api extends HttpClient {
|
|
|
1924
2758
|
* @secure
|
|
1925
2759
|
*/
|
|
1926
2760
|
this.revUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2761
|
+
/**
|
|
2762
|
+
* @description Merges the secondary Rev user into the primary Rev user.
|
|
2763
|
+
*
|
|
2764
|
+
* @tags rev-users
|
|
2765
|
+
* @name RevUsersMerge
|
|
2766
|
+
* @summary Merge Rev Users
|
|
2767
|
+
* @request POST:/rev-users.merge
|
|
2768
|
+
* @secure
|
|
2769
|
+
*/
|
|
2770
|
+
this.revUsersMerge = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2771
|
+
/**
|
|
2772
|
+
* @description Scans through all Rev users.
|
|
2773
|
+
*
|
|
2774
|
+
* @tags rev-users
|
|
2775
|
+
* @name RevUsersScan
|
|
2776
|
+
* @summary Scan Rev Users
|
|
2777
|
+
* @request GET:/rev-users.scan
|
|
2778
|
+
* @secure
|
|
2779
|
+
*/
|
|
2780
|
+
this.revUsersScan = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.scan`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2781
|
+
/**
|
|
2782
|
+
* @description Scans through all Rev users.
|
|
2783
|
+
*
|
|
2784
|
+
* @tags rev-users
|
|
2785
|
+
* @name RevUsersScanPost
|
|
2786
|
+
* @summary Scan Rev Users (POST)
|
|
2787
|
+
* @request POST:/rev-users.scan
|
|
2788
|
+
* @secure
|
|
2789
|
+
*/
|
|
2790
|
+
this.revUsersScanPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.scan`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1927
2791
|
/**
|
|
1928
2792
|
* @description Updates a Rev user.
|
|
1929
2793
|
*
|
|
@@ -2094,6 +2958,76 @@ class Api extends HttpClient {
|
|
|
2094
2958
|
* @secure
|
|
2095
2959
|
*/
|
|
2096
2960
|
this.snapKitActionExecuteDeferred = (data, params = {}) => this.request(Object.assign({ path: `/snap-kit-action.execute.deferred`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2961
|
+
/**
|
|
2962
|
+
* @description Create a snap widget object.
|
|
2963
|
+
*
|
|
2964
|
+
* @tags snap-widgets
|
|
2965
|
+
* @name SnapWidgetsCreate
|
|
2966
|
+
* @summary Create Snap Widget
|
|
2967
|
+
* @request POST:/snap-widgets.create
|
|
2968
|
+
* @secure
|
|
2969
|
+
*/
|
|
2970
|
+
this.snapWidgetsCreate = (data, params = {}) => this.request(Object.assign({ path: `/snap-widgets.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2971
|
+
/**
|
|
2972
|
+
* @description Creates a schema for survey, which includes name and description of schema.
|
|
2973
|
+
*
|
|
2974
|
+
* @tags surveys
|
|
2975
|
+
* @name SurveysCreate
|
|
2976
|
+
* @summary Create Survey
|
|
2977
|
+
* @request POST:/surveys.create
|
|
2978
|
+
* @secure
|
|
2979
|
+
*/
|
|
2980
|
+
this.surveysCreate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2981
|
+
/**
|
|
2982
|
+
* @description Deletes the specified survey.
|
|
2983
|
+
*
|
|
2984
|
+
* @tags surveys
|
|
2985
|
+
* @name SurveysDelete
|
|
2986
|
+
* @summary Delete Survey
|
|
2987
|
+
* @request POST:/surveys.delete
|
|
2988
|
+
* @secure
|
|
2989
|
+
*/
|
|
2990
|
+
this.surveysDelete = (data, params = {}) => this.request(Object.assign({ path: `/surveys.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2991
|
+
/**
|
|
2992
|
+
* @description Gets a survey given the ID.
|
|
2993
|
+
*
|
|
2994
|
+
* @tags surveys
|
|
2995
|
+
* @name SurveysGet
|
|
2996
|
+
* @summary Get Survey
|
|
2997
|
+
* @request GET:/surveys.get
|
|
2998
|
+
* @secure
|
|
2999
|
+
*/
|
|
3000
|
+
this.surveysGet = (query, params = {}) => this.request(Object.assign({ path: `/surveys.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3001
|
+
/**
|
|
3002
|
+
* @description Gets a survey given the ID.
|
|
3003
|
+
*
|
|
3004
|
+
* @tags surveys
|
|
3005
|
+
* @name SurveysGetPost
|
|
3006
|
+
* @summary Get Survey (POST)
|
|
3007
|
+
* @request POST:/surveys.get
|
|
3008
|
+
* @secure
|
|
3009
|
+
*/
|
|
3010
|
+
this.surveysGetPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3011
|
+
/**
|
|
3012
|
+
* @description List surveys requested by the user.
|
|
3013
|
+
*
|
|
3014
|
+
* @tags surveys
|
|
3015
|
+
* @name SurveysList
|
|
3016
|
+
* @summary List Surveys
|
|
3017
|
+
* @request GET:/surveys.list
|
|
3018
|
+
* @secure
|
|
3019
|
+
*/
|
|
3020
|
+
this.surveysList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3021
|
+
/**
|
|
3022
|
+
* @description List surveys requested by the user.
|
|
3023
|
+
*
|
|
3024
|
+
* @tags surveys
|
|
3025
|
+
* @name SurveysListPost
|
|
3026
|
+
* @summary List Surveys (POST)
|
|
3027
|
+
* @request POST:/surveys.list
|
|
3028
|
+
* @secure
|
|
3029
|
+
*/
|
|
3030
|
+
this.surveysListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2097
3031
|
/**
|
|
2098
3032
|
* @description List survey responses requested by the user.
|
|
2099
3033
|
*
|
|
@@ -2124,6 +3058,36 @@ class Api extends HttpClient {
|
|
|
2124
3058
|
* @secure
|
|
2125
3059
|
*/
|
|
2126
3060
|
this.surveysResponsesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.responses.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3061
|
+
/**
|
|
3062
|
+
* @description Sends a survey on the specified channels.
|
|
3063
|
+
*
|
|
3064
|
+
* @tags surveys
|
|
3065
|
+
* @name SurveysSend
|
|
3066
|
+
* @summary Send Surveys
|
|
3067
|
+
* @request POST:/surveys.send
|
|
3068
|
+
* @secure
|
|
3069
|
+
*/
|
|
3070
|
+
this.surveysSend = (data, params = {}) => this.request(Object.assign({ path: `/surveys.send`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3071
|
+
/**
|
|
3072
|
+
* @description Submits a user response to a survey, which is defined by the survey ID.
|
|
3073
|
+
*
|
|
3074
|
+
* @tags surveys
|
|
3075
|
+
* @name SurveysSubmit
|
|
3076
|
+
* @summary Submit Surveys
|
|
3077
|
+
* @request POST:/surveys.submit
|
|
3078
|
+
* @secure
|
|
3079
|
+
*/
|
|
3080
|
+
this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3081
|
+
/**
|
|
3082
|
+
* @description Updates a survey's metadata.
|
|
3083
|
+
*
|
|
3084
|
+
* @tags surveys
|
|
3085
|
+
* @name SurveysUpdate
|
|
3086
|
+
* @summary Update Survey
|
|
3087
|
+
* @request POST:/surveys.update
|
|
3088
|
+
* @secure
|
|
3089
|
+
*/
|
|
3090
|
+
this.surveysUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2127
3091
|
/**
|
|
2128
3092
|
* @description Lists system users within your organization.
|
|
2129
3093
|
*
|
|
@@ -2294,6 +3258,66 @@ class Api extends HttpClient {
|
|
|
2294
3258
|
* @secure
|
|
2295
3259
|
*/
|
|
2296
3260
|
this.timelineEntriesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/timeline-entries.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3261
|
+
/**
|
|
3262
|
+
* @description Change state of a web crawler job to pause or resume it back to running.
|
|
3263
|
+
*
|
|
3264
|
+
* @tags web-crawler-job
|
|
3265
|
+
* @name WebCrawlerJobsControl
|
|
3266
|
+
* @summary Control Web Crawler Jobs
|
|
3267
|
+
* @request POST:/web-crawler-jobs.control
|
|
3268
|
+
* @secure
|
|
3269
|
+
*/
|
|
3270
|
+
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));
|
|
3271
|
+
/**
|
|
3272
|
+
* @description Creates a web crawler job whose objective is to crawl the provided URLs/sitemaps and generate corresponding webpages as artifacts.
|
|
3273
|
+
*
|
|
3274
|
+
* @tags web-crawler-job
|
|
3275
|
+
* @name CreateWebCrawlerJob
|
|
3276
|
+
* @summary Create Web Crawler Job
|
|
3277
|
+
* @request POST:/web-crawler-jobs.create
|
|
3278
|
+
* @secure
|
|
3279
|
+
*/
|
|
3280
|
+
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));
|
|
3281
|
+
/**
|
|
3282
|
+
* @description Gets a web crawler job.
|
|
3283
|
+
*
|
|
3284
|
+
* @tags web-crawler-job
|
|
3285
|
+
* @name GetWebCrawlerJob
|
|
3286
|
+
* @summary Get Web Crawler Job
|
|
3287
|
+
* @request GET:/web-crawler-jobs.get
|
|
3288
|
+
* @secure
|
|
3289
|
+
*/
|
|
3290
|
+
this.getWebCrawlerJob = (query, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3291
|
+
/**
|
|
3292
|
+
* @description Gets a web crawler job.
|
|
3293
|
+
*
|
|
3294
|
+
* @tags web-crawler-job
|
|
3295
|
+
* @name GetWebCrawlerJobPost
|
|
3296
|
+
* @summary Get Web Crawler Job (POST)
|
|
3297
|
+
* @request POST:/web-crawler-jobs.get
|
|
3298
|
+
* @secure
|
|
3299
|
+
*/
|
|
3300
|
+
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));
|
|
3301
|
+
/**
|
|
3302
|
+
* @description Lists web crawler jobs.
|
|
3303
|
+
*
|
|
3304
|
+
* @tags web-crawler-job
|
|
3305
|
+
* @name ListWebCrawlerJobs
|
|
3306
|
+
* @summary List Web Crawler Jobs
|
|
3307
|
+
* @request GET:/web-crawler-jobs.list
|
|
3308
|
+
* @secure
|
|
3309
|
+
*/
|
|
3310
|
+
this.listWebCrawlerJobs = (query, params = {}) => this.request(Object.assign({ path: `/web-crawler-jobs.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3311
|
+
/**
|
|
3312
|
+
* @description Lists web crawler jobs.
|
|
3313
|
+
*
|
|
3314
|
+
* @tags web-crawler-job
|
|
3315
|
+
* @name ListWebCrawlerJobsPost
|
|
3316
|
+
* @summary List Web Crawler Jobs (POST)
|
|
3317
|
+
* @request POST:/web-crawler-jobs.list
|
|
3318
|
+
* @secure
|
|
3319
|
+
*/
|
|
3320
|
+
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));
|
|
2297
3321
|
/**
|
|
2298
3322
|
* @description Creates a new webhook target.
|
|
2299
3323
|
*
|