@devrev/typescript-sdk 1.1.51 → 1.1.53

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.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = 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 = exports.SlaSelectorPriority = 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) {
@@ -327,6 +410,15 @@ var PartType;
327
410
  PartType["Feature"] = "feature";
328
411
  PartType["Product"] = "product";
329
412
  })(PartType = exports.PartType || (exports.PartType = {}));
413
+ /** Status of the question answer. */
414
+ var QuestionAnswerStatus;
415
+ (function (QuestionAnswerStatus) {
416
+ QuestionAnswerStatus["Archived"] = "archived";
417
+ QuestionAnswerStatus["Discarded"] = "discarded";
418
+ QuestionAnswerStatus["Draft"] = "draft";
419
+ QuestionAnswerStatus["Published"] = "published";
420
+ QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
421
+ })(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
330
422
  var SchemaFieldDescriptorArrayTypeBaseType;
331
423
  (function (SchemaFieldDescriptorArrayTypeBaseType) {
332
424
  SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
@@ -336,6 +428,7 @@ var SchemaFieldDescriptorArrayTypeBaseType;
336
428
  SchemaFieldDescriptorArrayTypeBaseType["Enum"] = "enum";
337
429
  SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
338
430
  SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
431
+ SchemaFieldDescriptorArrayTypeBaseType["JsonValue"] = "json_value";
339
432
  SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
340
433
  SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
341
434
  SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
@@ -353,6 +446,7 @@ var SchemaFieldDescriptorFieldType;
353
446
  SchemaFieldDescriptorFieldType["Enum"] = "enum";
354
447
  SchemaFieldDescriptorFieldType["Id"] = "id";
355
448
  SchemaFieldDescriptorFieldType["Int"] = "int";
449
+ SchemaFieldDescriptorFieldType["JsonValue"] = "json_value";
356
450
  SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
357
451
  SchemaFieldDescriptorFieldType["Struct"] = "struct";
358
452
  SchemaFieldDescriptorFieldType["Text"] = "text";
@@ -848,6 +942,76 @@ class Api extends HttpClient {
848
942
  * @secure
849
943
  */
850
944
  this.accountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
945
+ /**
946
+ * @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.
947
+ *
948
+ * @tags articles
949
+ * @name CreateArticle
950
+ * @summary Create Article
951
+ * @request POST:/articles.create
952
+ * @secure
953
+ */
954
+ this.createArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
955
+ /**
956
+ * @description Deletes an article.
957
+ *
958
+ * @tags articles
959
+ * @name DeleteArticle
960
+ * @summary Delete Article
961
+ * @request POST:/articles.delete
962
+ * @secure
963
+ */
964
+ this.deleteArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
965
+ /**
966
+ * @description Gets an article.
967
+ *
968
+ * @tags articles
969
+ * @name GetArticle
970
+ * @summary Get Article
971
+ * @request GET:/articles.get
972
+ * @secure
973
+ */
974
+ this.getArticle = (query, params = {}) => this.request(Object.assign({ path: `/articles.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
975
+ /**
976
+ * @description Gets an article.
977
+ *
978
+ * @tags articles
979
+ * @name GetArticlePost
980
+ * @summary Get Article (POST)
981
+ * @request POST:/articles.get
982
+ * @secure
983
+ */
984
+ this.getArticlePost = (data, params = {}) => this.request(Object.assign({ path: `/articles.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
985
+ /**
986
+ * @description Lists a collection of articles.
987
+ *
988
+ * @tags articles
989
+ * @name ListArticles
990
+ * @summary List Articles
991
+ * @request GET:/articles.list
992
+ * @secure
993
+ */
994
+ this.listArticles = (query, params = {}) => this.request(Object.assign({ path: `/articles.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
995
+ /**
996
+ * @description Lists a collection of articles.
997
+ *
998
+ * @tags articles
999
+ * @name ListArticlesPost
1000
+ * @summary List Articles (POST)
1001
+ * @request POST:/articles.list
1002
+ * @secure
1003
+ */
1004
+ this.listArticlesPost = (data, params = {}) => this.request(Object.assign({ path: `/articles.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1005
+ /**
1006
+ * @description Updates an article.
1007
+ *
1008
+ * @tags articles
1009
+ * @name UpdateArticle
1010
+ * @summary Update Article
1011
+ * @request POST:/articles.update
1012
+ * @secure
1013
+ */
1014
+ this.updateArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
851
1015
  /**
852
1016
  * @description Gets the requested artifact's information.
853
1017
  *
@@ -1018,10 +1182,80 @@ class Api extends HttpClient {
1018
1182
  * @secure
1019
1183
  */
1020
1184
  this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1185
+ /**
1186
+ * @description Creates a conversation.
1187
+ *
1188
+ * @tags conversations
1189
+ * @name ConversationsCreate
1190
+ * @summary Create Conversation
1191
+ * @request POST:/conversations.create
1192
+ * @secure
1193
+ */
1194
+ this.conversationsCreate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1195
+ /**
1196
+ * @description Deletes the requested conversation.
1197
+ *
1198
+ * @tags conversations
1199
+ * @name ConversationsDelete
1200
+ * @summary Delete Conversation
1201
+ * @request POST:/conversations.delete
1202
+ * @secure
1203
+ */
1204
+ this.conversationsDelete = (data, params = {}) => this.request(Object.assign({ path: `/conversations.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1205
+ /**
1206
+ * @description Gets the requested conversation's information.
1207
+ *
1208
+ * @tags conversations
1209
+ * @name ConversationsGet
1210
+ * @summary Get Conversation
1211
+ * @request GET:/conversations.get
1212
+ * @secure
1213
+ */
1214
+ this.conversationsGet = (query, params = {}) => this.request(Object.assign({ path: `/conversations.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1215
+ /**
1216
+ * @description Gets the requested conversation's information.
1217
+ *
1218
+ * @tags conversations
1219
+ * @name ConversationsGetPost
1220
+ * @summary Get Conversation (POST)
1221
+ * @request POST:/conversations.get
1222
+ * @secure
1223
+ */
1224
+ this.conversationsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/conversations.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1225
+ /**
1226
+ * @description Lists the available conversations.
1227
+ *
1228
+ * @tags conversations
1229
+ * @name ConversationsList
1230
+ * @summary List Conversations
1231
+ * @request GET:/conversations.list
1232
+ * @secure
1233
+ */
1234
+ this.conversationsList = (query, params = {}) => this.request(Object.assign({ path: `/conversations.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1235
+ /**
1236
+ * @description Lists the available conversations.
1237
+ *
1238
+ * @tags conversations
1239
+ * @name ConversationsListPost
1240
+ * @summary List Conversations (POST)
1241
+ * @request POST:/conversations.list
1242
+ * @secure
1243
+ */
1244
+ this.conversationsListPost = (data, params = {}) => this.request(Object.assign({ path: `/conversations.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1245
+ /**
1246
+ * @description Updates the requested conversation.
1247
+ *
1248
+ * @tags conversations
1249
+ * @name ConversationsUpdate
1250
+ * @summary Update Conversation
1251
+ * @request POST:/conversations.update
1252
+ * @secure
1253
+ */
1254
+ this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1021
1255
  /**
1022
1256
  * @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
1257
  *
1024
- * @tags auth-connection, dev-orgs
1258
+ * @tags auth-connections, dev-orgs
1025
1259
  * @name DevOrgAuthConnectionsCreate
1026
1260
  * @summary Create Dev Orgs Auth Connection
1027
1261
  * @request POST:/dev-orgs.auth-connections.create
@@ -1031,7 +1265,7 @@ class Api extends HttpClient {
1031
1265
  /**
1032
1266
  * @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
1267
  *
1034
- * @tags auth-connection, dev-orgs
1268
+ * @tags auth-connections, dev-orgs
1035
1269
  * @name DevOrgAuthConnectionsDelete
1036
1270
  * @summary Delete Dev Orgs Auth Connection
1037
1271
  * @request POST:/dev-orgs.auth-connections.delete
@@ -1041,7 +1275,7 @@ class Api extends HttpClient {
1041
1275
  /**
1042
1276
  * @description Retrieves the details for an authentication connection.
1043
1277
  *
1044
- * @tags auth-connection, dev-orgs
1278
+ * @tags auth-connections, dev-orgs
1045
1279
  * @name DevOrgAuthConnectionsGet
1046
1280
  * @summary Get Dev Orgs Auth Connection
1047
1281
  * @request GET:/dev-orgs.auth-connections.get
@@ -1051,7 +1285,7 @@ class Api extends HttpClient {
1051
1285
  /**
1052
1286
  * @description Retrieves the details for an authentication connection.
1053
1287
  *
1054
- * @tags auth-connection, dev-orgs
1288
+ * @tags auth-connections, dev-orgs
1055
1289
  * @name DevOrgAuthConnectionsGetPost
1056
1290
  * @summary Get Dev Orgs Auth Connection (POST)
1057
1291
  * @request POST:/dev-orgs.auth-connections.get
@@ -1061,7 +1295,7 @@ class Api extends HttpClient {
1061
1295
  /**
1062
1296
  * @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
1297
  *
1064
- * @tags auth-connection, dev-orgs
1298
+ * @tags auth-connections, dev-orgs
1065
1299
  * @name DevOrgAuthConnectionsList
1066
1300
  * @summary List Dev Orgs Auth Connections
1067
1301
  * @request GET:/dev-orgs.auth-connections.list
@@ -1071,7 +1305,7 @@ class Api extends HttpClient {
1071
1305
  /**
1072
1306
  * @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
1307
  *
1074
- * @tags auth-connection, dev-orgs
1308
+ * @tags auth-connections, dev-orgs
1075
1309
  * @name DevOrgAuthConnectionsListPost
1076
1310
  * @summary List Dev Orgs Auth Connections (POST)
1077
1311
  * @request POST:/dev-orgs.auth-connections.list
@@ -1081,7 +1315,7 @@ class Api extends HttpClient {
1081
1315
  /**
1082
1316
  * @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
1317
  *
1084
- * @tags auth-connection, dev-orgs
1318
+ * @tags auth-connections, dev-orgs
1085
1319
  * @name DevOrgAuthConnectionsToggle
1086
1320
  * @summary Toggle Dev Orgs Auth Connections
1087
1321
  * @request POST:/dev-orgs.auth-connections.toggle
@@ -1091,7 +1325,7 @@ class Api extends HttpClient {
1091
1325
  /**
1092
1326
  * @description Updates an authentication connection.
1093
1327
  *
1094
- * @tags auth-connection, dev-orgs
1328
+ * @tags auth-connections, dev-orgs
1095
1329
  * @name DevOrgAuthConnectionsUpdate
1096
1330
  * @summary Update Dev Orgs Auth Connection
1097
1331
  * @request POST:/dev-orgs.auth-connections.update
@@ -1158,10 +1392,130 @@ class Api extends HttpClient {
1158
1392
  * @secure
1159
1393
  */
1160
1394
  this.devUsersSelfPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1395
+ /**
1396
+ * @description Updates the authenticated user.
1397
+ *
1398
+ * @tags dev-users
1399
+ * @name DevUsersSelfUpdate
1400
+ * @summary Update Dev Users Self
1401
+ * @request POST:/dev-users.self.update
1402
+ * @secure
1403
+ */
1404
+ 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));
1405
+ /**
1406
+ * @description Updates the user corresponding to the input Id.
1407
+ *
1408
+ * @tags dev-users
1409
+ * @name DevUsersUpdate
1410
+ * @summary Update Dev User
1411
+ * @request POST:/dev-users.update
1412
+ * @secure
1413
+ */
1414
+ this.devUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1415
+ /**
1416
+ * @description Creates a new group. A group is a collection of users.
1417
+ *
1418
+ * @tags groups
1419
+ * @name GroupsCreate
1420
+ * @summary Create Group
1421
+ * @request POST:/groups.create
1422
+ * @secure
1423
+ */
1424
+ this.groupsCreate = (data, params = {}) => this.request(Object.assign({ path: `/groups.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1425
+ /**
1426
+ * @description Gets the requested group.
1427
+ *
1428
+ * @tags groups
1429
+ * @name GroupsGet
1430
+ * @summary Get Group
1431
+ * @request GET:/groups.get
1432
+ * @secure
1433
+ */
1434
+ this.groupsGet = (query, params = {}) => this.request(Object.assign({ path: `/groups.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1435
+ /**
1436
+ * @description Gets the requested group.
1437
+ *
1438
+ * @tags groups
1439
+ * @name GroupsGetPost
1440
+ * @summary Get Group (POST)
1441
+ * @request POST:/groups.get
1442
+ * @secure
1443
+ */
1444
+ this.groupsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1445
+ /**
1446
+ * @description Lists the available groups.
1447
+ *
1448
+ * @tags groups
1449
+ * @name GroupsList
1450
+ * @summary List Groups
1451
+ * @request GET:/groups.list
1452
+ * @secure
1453
+ */
1454
+ this.groupsList = (query, params = {}) => this.request(Object.assign({ path: `/groups.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1455
+ /**
1456
+ * @description Lists the available groups.
1457
+ *
1458
+ * @tags groups
1459
+ * @name GroupsListPost
1460
+ * @summary List Groups (POST)
1461
+ * @request POST:/groups.list
1462
+ * @secure
1463
+ */
1464
+ this.groupsListPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1465
+ /**
1466
+ * @description Adds a member to a group.
1467
+ *
1468
+ * @tags groups
1469
+ * @name GroupMembersAdd
1470
+ * @summary Add Groups Members
1471
+ * @request POST:/groups.members.add
1472
+ * @secure
1473
+ */
1474
+ this.groupMembersAdd = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.add`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1475
+ /**
1476
+ * @description Lists the members in a group.
1477
+ *
1478
+ * @tags groups
1479
+ * @name GroupMembersList
1480
+ * @summary List Groups Members
1481
+ * @request GET:/groups.members.list
1482
+ * @secure
1483
+ */
1484
+ this.groupMembersList = (query, params = {}) => this.request(Object.assign({ path: `/groups.members.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1485
+ /**
1486
+ * @description Lists the members in a group.
1487
+ *
1488
+ * @tags groups
1489
+ * @name GroupMembersListPost
1490
+ * @summary List Groups Members (POST)
1491
+ * @request POST:/groups.members.list
1492
+ * @secure
1493
+ */
1494
+ this.groupMembersListPost = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1495
+ /**
1496
+ * @description Removes a member from a group.
1497
+ *
1498
+ * @tags groups
1499
+ * @name GroupMembersRemove
1500
+ * @summary Remove Groups Members
1501
+ * @request POST:/groups.members.remove
1502
+ * @secure
1503
+ */
1504
+ this.groupMembersRemove = (data, params = {}) => this.request(Object.assign({ path: `/groups.members.remove`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1505
+ /**
1506
+ * @description Updates the requested group.
1507
+ *
1508
+ * @tags groups
1509
+ * @name GroupsUpdate
1510
+ * @summary Update Group
1511
+ * @request POST:/groups.update
1512
+ * @secure
1513
+ */
1514
+ this.groupsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/groups.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1161
1515
  /**
1162
1516
  * @description OAuth2 authorization callback.
1163
1517
  *
1164
- * @tags keyring
1518
+ * @tags keyrings
1165
1519
  * @name KeyringsCreateCallback
1166
1520
  * @summary Authorize Keyrings
1167
1521
  * @request GET:/keyrings.authorize
@@ -1170,13 +1524,73 @@ class Api extends HttpClient {
1170
1524
  /**
1171
1525
  * @description OAuth2 authorization callback.
1172
1526
  *
1173
- * @tags keyring
1527
+ * @tags keyrings
1174
1528
  * @name KeyringsCreateCallbackPost
1175
1529
  * @summary Authorize Keyrings (POST)
1176
1530
  * @request POST:/keyrings.authorize
1177
1531
  * @secure
1178
1532
  */
1179
1533
  this.keyringsCreateCallbackPost = (data, params = {}) => this.request(Object.assign({ path: `/keyrings.authorize`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
1534
+ /**
1535
+ * @description Creates a link between two objects to indicate a relationship.
1536
+ *
1537
+ * @tags links
1538
+ * @name LinksCreate
1539
+ * @summary Create Link
1540
+ * @request POST:/links.create
1541
+ * @secure
1542
+ */
1543
+ this.linksCreate = (data, params = {}) => this.request(Object.assign({ path: `/links.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1544
+ /**
1545
+ * @description Deletes a link.
1546
+ *
1547
+ * @tags links
1548
+ * @name LinksDelete
1549
+ * @summary Delete Link
1550
+ * @request POST:/links.delete
1551
+ * @secure
1552
+ */
1553
+ this.linksDelete = (data, params = {}) => this.request(Object.assign({ path: `/links.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1554
+ /**
1555
+ * @description Gets the requested link's information.
1556
+ *
1557
+ * @tags links
1558
+ * @name LinksGet
1559
+ * @summary Get Link
1560
+ * @request GET:/links.get
1561
+ * @secure
1562
+ */
1563
+ this.linksGet = (query, params = {}) => this.request(Object.assign({ path: `/links.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1564
+ /**
1565
+ * @description Gets the requested link's information.
1566
+ *
1567
+ * @tags links
1568
+ * @name LinksGetPost
1569
+ * @summary Get Link (POST)
1570
+ * @request POST:/links.get
1571
+ * @secure
1572
+ */
1573
+ this.linksGetPost = (data, params = {}) => this.request(Object.assign({ path: `/links.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1574
+ /**
1575
+ * @description Lists the available links.
1576
+ *
1577
+ * @tags links
1578
+ * @name LinksList
1579
+ * @summary List Links
1580
+ * @request GET:/links.list
1581
+ * @secure
1582
+ */
1583
+ this.linksList = (query, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1584
+ /**
1585
+ * @description Lists the available links.
1586
+ *
1587
+ * @tags links
1588
+ * @name LinksListPost
1589
+ * @summary List Links (POST)
1590
+ * @request POST:/links.list
1591
+ * @secure
1592
+ */
1593
+ this.linksListPost = (data, params = {}) => this.request(Object.assign({ path: `/links.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1180
1594
  /**
1181
1595
  * @description Lists metric definitions matching a filter.
1182
1596
  *
@@ -1337,6 +1751,96 @@ class Api extends HttpClient {
1337
1751
  * @secure
1338
1752
  */
1339
1753
  this.revOrgsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-orgs.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1754
+ /**
1755
+ * @description Creates a Rev user for a Rev organization. Rev user can be a customer or a lead of an organization.
1756
+ *
1757
+ * @tags rev-users
1758
+ * @name RevUsersCreate
1759
+ * @summary Create Rev User
1760
+ * @request POST:/rev-users.create
1761
+ * @secure
1762
+ */
1763
+ this.revUsersCreate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1764
+ /**
1765
+ * @description Deletes a Rev user.
1766
+ *
1767
+ * @tags rev-users
1768
+ * @name RevUsersDelete
1769
+ * @summary Delete Rev User
1770
+ * @request POST:/rev-users.delete
1771
+ * @secure
1772
+ */
1773
+ this.revUsersDelete = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1774
+ /**
1775
+ * @description Returns the Rev user of a Rev organization by its ID.
1776
+ *
1777
+ * @tags rev-users
1778
+ * @name RevUsersGet
1779
+ * @summary Get Rev User
1780
+ * @request GET:/rev-users.get
1781
+ * @secure
1782
+ */
1783
+ this.revUsersGet = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1784
+ /**
1785
+ * @description Returns the Rev user of a Rev organization by its ID.
1786
+ *
1787
+ * @tags rev-users
1788
+ * @name RevUsersGetPost
1789
+ * @summary Get Rev User (POST)
1790
+ * @request POST:/rev-users.get
1791
+ * @secure
1792
+ */
1793
+ this.revUsersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1794
+ /**
1795
+ * @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
1796
+ *
1797
+ * @tags rev-users
1798
+ * @name RevUsersList
1799
+ * @summary List Rev Users
1800
+ * @request GET:/rev-users.list
1801
+ * @secure
1802
+ */
1803
+ this.revUsersList = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1804
+ /**
1805
+ * @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
1806
+ *
1807
+ * @tags rev-users
1808
+ * @name RevUsersListPost
1809
+ * @summary List Rev Users (POST)
1810
+ * @request POST:/rev-users.list
1811
+ * @secure
1812
+ */
1813
+ this.revUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1814
+ /**
1815
+ * @description Updates a Rev user.
1816
+ *
1817
+ * @tags rev-users
1818
+ * @name RevUsersUpdate
1819
+ * @summary Update Rev User
1820
+ * @request POST:/rev-users.update
1821
+ * @secure
1822
+ */
1823
+ this.revUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1824
+ /**
1825
+ * @description Gets a service account.
1826
+ *
1827
+ * @tags service-accounts
1828
+ * @name ServiceAccountsGet
1829
+ * @summary Get Service Account
1830
+ * @request GET:/service-accounts.get
1831
+ * @secure
1832
+ */
1833
+ this.serviceAccountsGet = (query, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1834
+ /**
1835
+ * @description Gets a service account.
1836
+ *
1837
+ * @tags service-accounts
1838
+ * @name ServiceAccountsGetPost
1839
+ * @summary Get Service Account (POST)
1840
+ * @request POST:/service-accounts.get
1841
+ * @secure
1842
+ */
1843
+ 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
1844
  /**
1341
1845
  * @description Gets an SLA tracker.
1342
1846
  *
@@ -1457,6 +1961,36 @@ class Api extends HttpClient {
1457
1961
  * @secure
1458
1962
  */
1459
1963
  this.slasUpdate = (data, params = {}) => this.request(Object.assign({ path: `/slas.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1964
+ /**
1965
+ * @description Lists system users within your organization.
1966
+ *
1967
+ * @tags sys-users
1968
+ * @name SysUsersList
1969
+ * @summary List Sys Users
1970
+ * @request GET:/sys-users.list
1971
+ * @secure
1972
+ */
1973
+ this.sysUsersList = (query, params = {}) => this.request(Object.assign({ path: `/sys-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1974
+ /**
1975
+ * @description Lists system users within your organization.
1976
+ *
1977
+ * @tags sys-users
1978
+ * @name SysUsersListPost
1979
+ * @summary List Sys Users (POST)
1980
+ * @request POST:/sys-users.list
1981
+ * @secure
1982
+ */
1983
+ this.sysUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/sys-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1984
+ /**
1985
+ * @description Updates the system user.
1986
+ *
1987
+ * @tags sys-users
1988
+ * @name SysUsersUpdate
1989
+ * @summary Update Sys User
1990
+ * @request POST:/sys-users.update
1991
+ * @secure
1992
+ */
1993
+ 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
1994
  /**
1461
1995
  * @description Creates a new tag, which is used to create associations between objects and a logical concept denoted by the tag's name.
1462
1996
  *