@devrev/typescript-sdk 1.1.51 → 1.1.52

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,8 +33,30 @@ 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.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = 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.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.ListMode = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = void 0;
37
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = 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 = void 0;
36
+ exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.ConversationsCreateRequestTypeValue = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.AccessLevel = void 0;
37
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = 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.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = void 0;
38
+ var AccessLevel;
39
+ (function (AccessLevel) {
40
+ AccessLevel["External"] = "external";
41
+ AccessLevel["Internal"] = "internal";
42
+ AccessLevel["Private"] = "private";
43
+ AccessLevel["Public"] = "public";
44
+ AccessLevel["Restricted"] = "restricted";
45
+ })(AccessLevel = exports.AccessLevel || (exports.AccessLevel = {}));
46
+ /** Status of the article. */
47
+ var ArticleStatus;
48
+ (function (ArticleStatus) {
49
+ ArticleStatus["Archived"] = "archived";
50
+ ArticleStatus["Draft"] = "draft";
51
+ ArticleStatus["Published"] = "published";
52
+ ArticleStatus["ReviewNeeded"] = "review_needed";
53
+ })(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
54
+ /** Type of the article. */
55
+ var ArticleType;
56
+ (function (ArticleType) {
57
+ ArticleType["Article"] = "article";
58
+ ArticleType["ContentBlock"] = "content_block";
59
+ })(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
38
60
  var AtomType;
39
61
  (function (AtomType) {
40
62
  AtomType["Capability"] = "capability";
@@ -122,6 +144,17 @@ var AuthTokenTokenType;
122
144
  (function (AuthTokenTokenType) {
123
145
  AuthTokenTokenType["Bearer"] = "bearer";
124
146
  })(AuthTokenTokenType = exports.AuthTokenTokenType || (exports.AuthTokenTokenType = {}));
147
+ var BooleanExpressionType;
148
+ (function (BooleanExpressionType) {
149
+ BooleanExpressionType["And"] = "and";
150
+ BooleanExpressionType["Not"] = "not";
151
+ BooleanExpressionType["Or"] = "or";
152
+ BooleanExpressionType["Primitive"] = "primitive";
153
+ })(BooleanExpressionType = exports.BooleanExpressionType || (exports.BooleanExpressionType = {}));
154
+ var ConversationsCreateRequestTypeValue;
155
+ (function (ConversationsCreateRequestTypeValue) {
156
+ ConversationsCreateRequestTypeValue["Support"] = "support";
157
+ })(ConversationsCreateRequestTypeValue = exports.ConversationsCreateRequestTypeValue || (exports.ConversationsCreateRequestTypeValue = {}));
125
158
  /** Type of date filter. */
126
159
  var DateFilterType;
127
160
  (function (DateFilterType) {
@@ -160,6 +193,22 @@ var DevOrgAuthConnectionsUpdateRequestType;
160
193
  DevOrgAuthConnectionsUpdateRequestType["Samlp"] = "samlp";
161
194
  DevOrgAuthConnectionsUpdateRequestType["Waad"] = "waad";
162
195
  })(DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsUpdateRequestType || (exports.DevOrgAuthConnectionsUpdateRequestType = {}));
196
+ /** Job title of the Dev User. */
197
+ var DevUserJobTitle;
198
+ (function (DevUserJobTitle) {
199
+ DevUserJobTitle["CustomerSuccessManager"] = "customer_success_manager";
200
+ DevUserJobTitle["Cxo"] = "cxo";
201
+ DevUserJobTitle["Designer"] = "designer";
202
+ DevUserJobTitle["Developer"] = "developer";
203
+ DevUserJobTitle["HeadOfSupport"] = "head_of_support";
204
+ DevUserJobTitle["Operations"] = "operations";
205
+ DevUserJobTitle["Others"] = "others";
206
+ DevUserJobTitle["ProductManager"] = "product_manager";
207
+ DevUserJobTitle["Qa"] = "qa";
208
+ DevUserJobTitle["RevenueLeader"] = "revenue_leader";
209
+ DevUserJobTitle["Support"] = "support";
210
+ DevUserJobTitle["TechLead"] = "tech_lead";
211
+ })(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
163
212
  var ErrorBadRequestType;
164
213
  (function (ErrorBadRequestType) {
165
214
  ErrorBadRequestType["ArtifactAlreadyAttachedToAParent"] = "artifact_already_attached_to_a_parent";
@@ -220,6 +269,24 @@ var EventFetchedResult;
220
269
  EventFetchedResult["NotFound"] = "not_found";
221
270
  EventFetchedResult["Ok"] = "ok";
222
271
  })(EventFetchedResult = exports.EventFetchedResult || (exports.EventFetchedResult = {}));
272
+ /** Creation source of the group. */
273
+ var GroupIngestionSource;
274
+ (function (GroupIngestionSource) {
275
+ GroupIngestionSource["Airdrop"] = "airdrop";
276
+ GroupIngestionSource["Scim"] = "scim";
277
+ })(GroupIngestionSource = exports.GroupIngestionSource || (exports.GroupIngestionSource = {}));
278
+ /** Type of the members in the group. */
279
+ var GroupMemberType;
280
+ (function (GroupMemberType) {
281
+ GroupMemberType["DevUser"] = "dev_user";
282
+ GroupMemberType["RevUser"] = "rev_user";
283
+ })(GroupMemberType = exports.GroupMemberType || (exports.GroupMemberType = {}));
284
+ /** Type of the group. */
285
+ var GroupType;
286
+ (function (GroupType) {
287
+ GroupType["Dynamic"] = "dynamic";
288
+ GroupType["Static"] = "static";
289
+ })(GroupType = exports.GroupType || (exports.GroupType = {}));
223
290
  /** Priority of the work based upon impact and criticality. */
224
291
  var IssuePriority;
225
292
  (function (IssuePriority) {
@@ -258,6 +325,16 @@ var LinkType;
258
325
  LinkType["IsRelatedTo"] = "is_related_to";
259
326
  LinkType["Serves"] = "serves";
260
327
  })(LinkType = exports.LinkType || (exports.LinkType = {}));
328
+ /**
329
+ * The direction of link, which can either be outbound such that the
330
+ * object is the source of the link, otherwise inbound where the object is
331
+ * the target of the link.
332
+ */
333
+ var LinksDirection;
334
+ (function (LinksDirection) {
335
+ LinksDirection["IsSource"] = "is_source";
336
+ LinksDirection["IsTarget"] = "is_target";
337
+ })(LinksDirection = exports.LinksDirection || (exports.LinksDirection = {}));
261
338
  /**
262
339
  * The iteration mode to use. If "after", then entries after the provided
263
340
  * cursor will be returned, or if no cursor is provided, then from the
@@ -270,6 +347,12 @@ var ListMode;
270
347
  ListMode["After"] = "after";
271
348
  ListMode["Before"] = "before";
272
349
  })(ListMode = exports.ListMode || (exports.ListMode = {}));
350
+ var MemberType;
351
+ (function (MemberType) {
352
+ MemberType["DevUser"] = "dev_user";
353
+ MemberType["RevUser"] = "rev_user";
354
+ MemberType["SysUser"] = "sys_user";
355
+ })(MemberType = exports.MemberType || (exports.MemberType = {}));
273
356
  /** The list of item types on which the metric might be applied. */
274
357
  var MetricDefinitionAppliesTo;
275
358
  (function (MetricDefinitionAppliesTo) {
@@ -848,6 +931,76 @@ class Api extends HttpClient {
848
931
  * @secure
849
932
  */
850
933
  this.accountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
934
+ /**
935
+ * @description Article is an object which can contain a URL or artifacts in the resource. It also contains the data regarding the owner, author, status and published date of the object. This call creates an article.
936
+ *
937
+ * @tags articles
938
+ * @name CreateArticle
939
+ * @summary Create Article
940
+ * @request POST:/articles.create
941
+ * @secure
942
+ */
943
+ this.createArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
944
+ /**
945
+ * @description Deletes an article.
946
+ *
947
+ * @tags articles
948
+ * @name DeleteArticle
949
+ * @summary Delete Article
950
+ * @request POST:/articles.delete
951
+ * @secure
952
+ */
953
+ this.deleteArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
954
+ /**
955
+ * @description Gets an article.
956
+ *
957
+ * @tags articles
958
+ * @name GetArticle
959
+ * @summary Get Article
960
+ * @request GET:/articles.get
961
+ * @secure
962
+ */
963
+ this.getArticle = (query, params = {}) => this.request(Object.assign({ path: `/articles.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
964
+ /**
965
+ * @description Gets an article.
966
+ *
967
+ * @tags articles
968
+ * @name GetArticlePost
969
+ * @summary Get Article (POST)
970
+ * @request POST:/articles.get
971
+ * @secure
972
+ */
973
+ this.getArticlePost = (data, params = {}) => this.request(Object.assign({ path: `/articles.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
974
+ /**
975
+ * @description Lists a collection of articles.
976
+ *
977
+ * @tags articles
978
+ * @name ListArticles
979
+ * @summary List Articles
980
+ * @request GET:/articles.list
981
+ * @secure
982
+ */
983
+ this.listArticles = (query, params = {}) => this.request(Object.assign({ path: `/articles.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
984
+ /**
985
+ * @description Lists a collection of articles.
986
+ *
987
+ * @tags articles
988
+ * @name ListArticlesPost
989
+ * @summary List Articles (POST)
990
+ * @request POST:/articles.list
991
+ * @secure
992
+ */
993
+ this.listArticlesPost = (data, params = {}) => this.request(Object.assign({ path: `/articles.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
994
+ /**
995
+ * @description Updates an article.
996
+ *
997
+ * @tags articles
998
+ * @name UpdateArticle
999
+ * @summary Update Article
1000
+ * @request POST:/articles.update
1001
+ * @secure
1002
+ */
1003
+ this.updateArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
851
1004
  /**
852
1005
  * @description Gets the requested artifact's information.
853
1006
  *
@@ -1018,10 +1171,80 @@ class Api extends HttpClient {
1018
1171
  * @secure
1019
1172
  */
1020
1173
  this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1174
+ /**
1175
+ * @description Creates a conversation.
1176
+ *
1177
+ * @tags conversations
1178
+ * @name ConversationsCreate
1179
+ * @summary Create Conversation
1180
+ * @request POST:/conversations.create
1181
+ * @secure
1182
+ */
1183
+ this.conversationsCreate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1184
+ /**
1185
+ * @description Deletes the requested conversation.
1186
+ *
1187
+ * @tags conversations
1188
+ * @name ConversationsDelete
1189
+ * @summary Delete Conversation
1190
+ * @request POST:/conversations.delete
1191
+ * @secure
1192
+ */
1193
+ this.conversationsDelete = (data, params = {}) => this.request(Object.assign({ path: `/conversations.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1194
+ /**
1195
+ * @description Gets the requested conversation's information.
1196
+ *
1197
+ * @tags conversations
1198
+ * @name ConversationsGet
1199
+ * @summary Get Conversation
1200
+ * @request GET:/conversations.get
1201
+ * @secure
1202
+ */
1203
+ this.conversationsGet = (query, params = {}) => this.request(Object.assign({ path: `/conversations.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1204
+ /**
1205
+ * @description Gets the requested conversation's information.
1206
+ *
1207
+ * @tags conversations
1208
+ * @name ConversationsGetPost
1209
+ * @summary Get Conversation (POST)
1210
+ * @request POST:/conversations.get
1211
+ * @secure
1212
+ */
1213
+ this.conversationsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/conversations.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1214
+ /**
1215
+ * @description Lists the available conversations.
1216
+ *
1217
+ * @tags conversations
1218
+ * @name ConversationsList
1219
+ * @summary List Conversations
1220
+ * @request GET:/conversations.list
1221
+ * @secure
1222
+ */
1223
+ this.conversationsList = (query, params = {}) => this.request(Object.assign({ path: `/conversations.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1224
+ /**
1225
+ * @description Lists the available conversations.
1226
+ *
1227
+ * @tags conversations
1228
+ * @name ConversationsListPost
1229
+ * @summary List Conversations (POST)
1230
+ * @request POST:/conversations.list
1231
+ * @secure
1232
+ */
1233
+ this.conversationsListPost = (data, params = {}) => this.request(Object.assign({ path: `/conversations.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1234
+ /**
1235
+ * @description Updates the requested conversation.
1236
+ *
1237
+ * @tags conversations
1238
+ * @name ConversationsUpdate
1239
+ * @summary Update Conversation
1240
+ * @request POST:/conversations.update
1241
+ * @secure
1242
+ */
1243
+ this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1021
1244
  /**
1022
1245
  * @description Creates a new enterprise authentication connection for a Dev organization. This authentication connection will not be enabled by default for the organization and the user will need to explicitly enable this. Keep in mind that at a time, only one authentication connection can be enabled for a Dev organization. At present, only 5 enterprise connections can be created by an organization.
1023
1246
  *
1024
- * @tags auth-connection, dev-orgs
1247
+ * @tags auth-connections, dev-orgs
1025
1248
  * @name DevOrgAuthConnectionsCreate
1026
1249
  * @summary Create Dev Orgs Auth Connection
1027
1250
  * @request POST:/dev-orgs.auth-connections.create
@@ -1031,7 +1254,7 @@ class Api extends HttpClient {
1031
1254
  /**
1032
1255
  * @description Deletes an authentication connection. Only enterprise connections which are explicitly set up for a Dev organization can be deleted. Default connections can not be deleted using this method.
1033
1256
  *
1034
- * @tags auth-connection, dev-orgs
1257
+ * @tags auth-connections, dev-orgs
1035
1258
  * @name DevOrgAuthConnectionsDelete
1036
1259
  * @summary Delete Dev Orgs Auth Connection
1037
1260
  * @request POST:/dev-orgs.auth-connections.delete
@@ -1041,7 +1264,7 @@ class Api extends HttpClient {
1041
1264
  /**
1042
1265
  * @description Retrieves the details for an authentication connection.
1043
1266
  *
1044
- * @tags auth-connection, dev-orgs
1267
+ * @tags auth-connections, dev-orgs
1045
1268
  * @name DevOrgAuthConnectionsGet
1046
1269
  * @summary Get Dev Orgs Auth Connection
1047
1270
  * @request GET:/dev-orgs.auth-connections.get
@@ -1051,7 +1274,7 @@ class Api extends HttpClient {
1051
1274
  /**
1052
1275
  * @description Retrieves the details for an authentication connection.
1053
1276
  *
1054
- * @tags auth-connection, dev-orgs
1277
+ * @tags auth-connections, dev-orgs
1055
1278
  * @name DevOrgAuthConnectionsGetPost
1056
1279
  * @summary Get Dev Orgs Auth Connection (POST)
1057
1280
  * @request POST:/dev-orgs.auth-connections.get
@@ -1061,7 +1284,7 @@ class Api extends HttpClient {
1061
1284
  /**
1062
1285
  * @description Lists all the authentication connections available for a Dev organization. This list will include both social and enterprise connections which are either available by default or are explicitly created by the user.
1063
1286
  *
1064
- * @tags auth-connection, dev-orgs
1287
+ * @tags auth-connections, dev-orgs
1065
1288
  * @name DevOrgAuthConnectionsList
1066
1289
  * @summary List Dev Orgs Auth Connections
1067
1290
  * @request GET:/dev-orgs.auth-connections.list
@@ -1071,7 +1294,7 @@ class Api extends HttpClient {
1071
1294
  /**
1072
1295
  * @description Lists all the authentication connections available for a Dev organization. This list will include both social and enterprise connections which are either available by default or are explicitly created by the user.
1073
1296
  *
1074
- * @tags auth-connection, dev-orgs
1297
+ * @tags auth-connections, dev-orgs
1075
1298
  * @name DevOrgAuthConnectionsListPost
1076
1299
  * @summary List Dev Orgs Auth Connections (POST)
1077
1300
  * @request POST:/dev-orgs.auth-connections.list
@@ -1081,7 +1304,7 @@ class Api extends HttpClient {
1081
1304
  /**
1082
1305
  * @description Enable or disable an authentication connection for a Dev organization. Currently, only 1 authentication connection can be enabled at a time. When a new authentication connection is enabled, the connection which is currently enabled for the Dev organization is automatically disabled.
1083
1306
  *
1084
- * @tags auth-connection, dev-orgs
1307
+ * @tags auth-connections, dev-orgs
1085
1308
  * @name DevOrgAuthConnectionsToggle
1086
1309
  * @summary Toggle Dev Orgs Auth Connections
1087
1310
  * @request POST:/dev-orgs.auth-connections.toggle
@@ -1091,7 +1314,7 @@ class Api extends HttpClient {
1091
1314
  /**
1092
1315
  * @description Updates an authentication connection.
1093
1316
  *
1094
- * @tags auth-connection, dev-orgs
1317
+ * @tags auth-connections, dev-orgs
1095
1318
  * @name DevOrgAuthConnectionsUpdate
1096
1319
  * @summary Update Dev Orgs Auth Connection
1097
1320
  * @request POST:/dev-orgs.auth-connections.update
@@ -1158,10 +1381,130 @@ class Api extends HttpClient {
1158
1381
  * @secure
1159
1382
  */
1160
1383
  this.devUsersSelfPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1384
+ /**
1385
+ * @description Updates the authenticated user.
1386
+ *
1387
+ * @tags dev-users
1388
+ * @name DevUsersSelfUpdate
1389
+ * @summary Update Dev Users Self
1390
+ * @request POST:/dev-users.self.update
1391
+ * @secure
1392
+ */
1393
+ this.devUsersSelfUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1394
+ /**
1395
+ * @description Updates the user corresponding to the input Id.
1396
+ *
1397
+ * @tags dev-users
1398
+ * @name DevUsersUpdate
1399
+ * @summary Update Dev User
1400
+ * @request POST:/dev-users.update
1401
+ * @secure
1402
+ */
1403
+ this.devUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1404
+ /**
1405
+ * @description Creates a new group. A group is a collection of users.
1406
+ *
1407
+ * @tags groups
1408
+ * @name GroupsCreate
1409
+ * @summary Create Group
1410
+ * @request POST:/groups.create
1411
+ * @secure
1412
+ */
1413
+ this.groupsCreate = (data, params = {}) => this.request(Object.assign({ path: `/groups.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1414
+ /**
1415
+ * @description Gets the requested group.
1416
+ *
1417
+ * @tags groups
1418
+ * @name GroupsGet
1419
+ * @summary Get Group
1420
+ * @request GET:/groups.get
1421
+ * @secure
1422
+ */
1423
+ this.groupsGet = (query, params = {}) => this.request(Object.assign({ path: `/groups.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1424
+ /**
1425
+ * @description Gets the requested group.
1426
+ *
1427
+ * @tags groups
1428
+ * @name GroupsGetPost
1429
+ * @summary Get Group (POST)
1430
+ * @request POST:/groups.get
1431
+ * @secure
1432
+ */
1433
+ this.groupsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1434
+ /**
1435
+ * @description Lists the available groups.
1436
+ *
1437
+ * @tags groups
1438
+ * @name GroupsList
1439
+ * @summary List Groups
1440
+ * @request GET:/groups.list
1441
+ * @secure
1442
+ */
1443
+ this.groupsList = (query, params = {}) => this.request(Object.assign({ path: `/groups.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1444
+ /**
1445
+ * @description Lists the available groups.
1446
+ *
1447
+ * @tags groups
1448
+ * @name GroupsListPost
1449
+ * @summary List Groups (POST)
1450
+ * @request POST:/groups.list
1451
+ * @secure
1452
+ */
1453
+ this.groupsListPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1454
+ /**
1455
+ * @description Adds a member to a group.
1456
+ *
1457
+ * @tags groups
1458
+ * @name GroupMembersAdd
1459
+ * @summary Add Groups Members
1460
+ * @request POST:/groups.members.add
1461
+ * @secure
1462
+ */
1463
+ this.groupMembersAdd = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.add`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1464
+ /**
1465
+ * @description Lists the members in a group.
1466
+ *
1467
+ * @tags groups
1468
+ * @name GroupMembersList
1469
+ * @summary List Groups Members
1470
+ * @request GET:/groups.members.list
1471
+ * @secure
1472
+ */
1473
+ this.groupMembersList = (query, params = {}) => this.request(Object.assign({ path: `/groups.members.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1474
+ /**
1475
+ * @description Lists the members in a group.
1476
+ *
1477
+ * @tags groups
1478
+ * @name GroupMembersListPost
1479
+ * @summary List Groups Members (POST)
1480
+ * @request POST:/groups.members.list
1481
+ * @secure
1482
+ */
1483
+ this.groupMembersListPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1484
+ /**
1485
+ * @description Removes a member from a group.
1486
+ *
1487
+ * @tags groups
1488
+ * @name GroupMembersRemove
1489
+ * @summary Remove Groups Members
1490
+ * @request POST:/groups.members.remove
1491
+ * @secure
1492
+ */
1493
+ this.groupMembersRemove = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.remove`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1494
+ /**
1495
+ * @description Updates the requested group.
1496
+ *
1497
+ * @tags groups
1498
+ * @name GroupsUpdate
1499
+ * @summary Update Group
1500
+ * @request POST:/groups.update
1501
+ * @secure
1502
+ */
1503
+ this.groupsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/groups.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1161
1504
  /**
1162
1505
  * @description OAuth2 authorization callback.
1163
1506
  *
1164
- * @tags keyring
1507
+ * @tags keyrings
1165
1508
  * @name KeyringsCreateCallback
1166
1509
  * @summary Authorize Keyrings
1167
1510
  * @request GET:/keyrings.authorize
@@ -1170,13 +1513,73 @@ class Api extends HttpClient {
1170
1513
  /**
1171
1514
  * @description OAuth2 authorization callback.
1172
1515
  *
1173
- * @tags keyring
1516
+ * @tags keyrings
1174
1517
  * @name KeyringsCreateCallbackPost
1175
1518
  * @summary Authorize Keyrings (POST)
1176
1519
  * @request POST:/keyrings.authorize
1177
1520
  * @secure
1178
1521
  */
1179
1522
  this.keyringsCreateCallbackPost = (data, params = {}) => this.request(Object.assign({ path: `/keyrings.authorize`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
1523
+ /**
1524
+ * @description Creates a link between two objects to indicate a relationship.
1525
+ *
1526
+ * @tags links
1527
+ * @name LinksCreate
1528
+ * @summary Create Link
1529
+ * @request POST:/links.create
1530
+ * @secure
1531
+ */
1532
+ this.linksCreate = (data, params = {}) => this.request(Object.assign({ path: `/links.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1533
+ /**
1534
+ * @description Deletes a link.
1535
+ *
1536
+ * @tags links
1537
+ * @name LinksDelete
1538
+ * @summary Delete Link
1539
+ * @request POST:/links.delete
1540
+ * @secure
1541
+ */
1542
+ this.linksDelete = (data, params = {}) => this.request(Object.assign({ path: `/links.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1543
+ /**
1544
+ * @description Gets the requested link's information.
1545
+ *
1546
+ * @tags links
1547
+ * @name LinksGet
1548
+ * @summary Get Link
1549
+ * @request GET:/links.get
1550
+ * @secure
1551
+ */
1552
+ this.linksGet = (query, params = {}) => this.request(Object.assign({ path: `/links.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1553
+ /**
1554
+ * @description Gets the requested link's information.
1555
+ *
1556
+ * @tags links
1557
+ * @name LinksGetPost
1558
+ * @summary Get Link (POST)
1559
+ * @request POST:/links.get
1560
+ * @secure
1561
+ */
1562
+ this.linksGetPost = (data, params = {}) => this.request(Object.assign({ path: `/links.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1563
+ /**
1564
+ * @description Lists the available links.
1565
+ *
1566
+ * @tags links
1567
+ * @name LinksList
1568
+ * @summary List Links
1569
+ * @request GET:/links.list
1570
+ * @secure
1571
+ */
1572
+ this.linksList = (query, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1573
+ /**
1574
+ * @description Lists the available links.
1575
+ *
1576
+ * @tags links
1577
+ * @name LinksListPost
1578
+ * @summary List Links (POST)
1579
+ * @request POST:/links.list
1580
+ * @secure
1581
+ */
1582
+ this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1180
1583
  /**
1181
1584
  * @description Lists metric definitions matching a filter.
1182
1585
  *
@@ -1337,6 +1740,96 @@ class Api extends HttpClient {
1337
1740
  * @secure
1338
1741
  */
1339
1742
  this.revOrgsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-orgs.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1743
+ /**
1744
+ * @description Creates a Rev user for a Rev organization. Rev user can be a customer or a lead of an organization.
1745
+ *
1746
+ * @tags rev-users
1747
+ * @name RevUsersCreate
1748
+ * @summary Create Rev User
1749
+ * @request POST:/rev-users.create
1750
+ * @secure
1751
+ */
1752
+ this.revUsersCreate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1753
+ /**
1754
+ * @description Deletes a Rev user.
1755
+ *
1756
+ * @tags rev-users
1757
+ * @name RevUsersDelete
1758
+ * @summary Delete Rev User
1759
+ * @request POST:/rev-users.delete
1760
+ * @secure
1761
+ */
1762
+ this.revUsersDelete = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1763
+ /**
1764
+ * @description Returns the Rev user of a Rev organization by its ID.
1765
+ *
1766
+ * @tags rev-users
1767
+ * @name RevUsersGet
1768
+ * @summary Get Rev User
1769
+ * @request GET:/rev-users.get
1770
+ * @secure
1771
+ */
1772
+ this.revUsersGet = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1773
+ /**
1774
+ * @description Returns the Rev user of a Rev organization by its ID.
1775
+ *
1776
+ * @tags rev-users
1777
+ * @name RevUsersGetPost
1778
+ * @summary Get Rev User (POST)
1779
+ * @request POST:/rev-users.get
1780
+ * @secure
1781
+ */
1782
+ this.revUsersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1783
+ /**
1784
+ * @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
1785
+ *
1786
+ * @tags rev-users
1787
+ * @name RevUsersList
1788
+ * @summary List Rev Users
1789
+ * @request GET:/rev-users.list
1790
+ * @secure
1791
+ */
1792
+ this.revUsersList = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1793
+ /**
1794
+ * @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
1795
+ *
1796
+ * @tags rev-users
1797
+ * @name RevUsersListPost
1798
+ * @summary List Rev Users (POST)
1799
+ * @request POST:/rev-users.list
1800
+ * @secure
1801
+ */
1802
+ this.revUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1803
+ /**
1804
+ * @description Updates a Rev user.
1805
+ *
1806
+ * @tags rev-users
1807
+ * @name RevUsersUpdate
1808
+ * @summary Update Rev User
1809
+ * @request POST:/rev-users.update
1810
+ * @secure
1811
+ */
1812
+ this.revUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1813
+ /**
1814
+ * @description Gets a service account.
1815
+ *
1816
+ * @tags service-accounts
1817
+ * @name ServiceAccountsGet
1818
+ * @summary Get Service Account
1819
+ * @request GET:/service-accounts.get
1820
+ * @secure
1821
+ */
1822
+ this.serviceAccountsGet = (query, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1823
+ /**
1824
+ * @description Gets a service account.
1825
+ *
1826
+ * @tags service-accounts
1827
+ * @name ServiceAccountsGetPost
1828
+ * @summary Get Service Account (POST)
1829
+ * @request POST:/service-accounts.get
1830
+ * @secure
1831
+ */
1832
+ this.serviceAccountsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1340
1833
  /**
1341
1834
  * @description Gets an SLA tracker.
1342
1835
  *
@@ -1457,6 +1950,36 @@ class Api extends HttpClient {
1457
1950
  * @secure
1458
1951
  */
1459
1952
  this.slasUpdate = (data, params = {}) => this.request(Object.assign({ path: `/slas.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1953
+ /**
1954
+ * @description Lists system users within your organization.
1955
+ *
1956
+ * @tags sys-users
1957
+ * @name SysUsersList
1958
+ * @summary List Sys Users
1959
+ * @request GET:/sys-users.list
1960
+ * @secure
1961
+ */
1962
+ this.sysUsersList = (query, params = {}) => this.request(Object.assign({ path: `/sys-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1963
+ /**
1964
+ * @description Lists system users within your organization.
1965
+ *
1966
+ * @tags sys-users
1967
+ * @name SysUsersListPost
1968
+ * @summary List Sys Users (POST)
1969
+ * @request POST:/sys-users.list
1970
+ * @secure
1971
+ */
1972
+ this.sysUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/sys-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1973
+ /**
1974
+ * @description Updates the system user.
1975
+ *
1976
+ * @tags sys-users
1977
+ * @name SysUsersUpdate
1978
+ * @summary Update Sys User
1979
+ * @request POST:/sys-users.update
1980
+ * @secure
1981
+ */
1982
+ this.sysUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/sys-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1460
1983
  /**
1461
1984
  * @description Creates a new tag, which is used to create associations between objects and a logical concept denoted by the tag's name.
1462
1985
  *