@devrev/typescript-sdk 1.1.27 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,9 +33,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  return (mod && mod.__esModule) ? mod : { "default": mod };
34
34
  };
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.EventSourceStatus = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
- exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = void 0;
38
- exports.Api = exports.HttpClient = exports.ContentType = void 0;
36
+ exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GenericNotificationEventType = exports.EventSourceStatus = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = void 0;
38
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = void 0;
39
39
  var AccessLevel;
40
40
  (function (AccessLevel) {
41
41
  AccessLevel["External"] = "external";
@@ -85,6 +85,12 @@ var ArticleStatus;
85
85
  ArticleStatus["Published"] = "published";
86
86
  ArticleStatus["ReviewNeeded"] = "review_needed";
87
87
  })(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
88
+ /** Type of the article. */
89
+ var ArticleType;
90
+ (function (ArticleType) {
91
+ ArticleType["Article"] = "article";
92
+ ArticleType["ContentBlock"] = "content_block";
93
+ })(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
88
94
  var AtomType;
89
95
  (function (AtomType) {
90
96
  AtomType["Account"] = "account";
@@ -168,11 +174,11 @@ var AuthTokenSubjectTokenType;
168
174
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeJwtAuth0"] = "urn:devrev:params:oauth:token-type:jwt:auth0";
169
175
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeJwtDev"] = "urn:devrev:params:oauth:token-type:jwt:dev";
170
176
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeRat"] = "urn:devrev:params:oauth:token-type:rat";
177
+ AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeRev"] = "urn:devrev:params:oauth:token-type:rev";
171
178
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeRevinfo"] = "urn:devrev:params:oauth:token-type:revinfo";
172
179
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeSession"] = "urn:devrev:params:oauth:token-type:session";
173
180
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeSysu"] = "urn:devrev:params:oauth:token-type:sysu";
174
181
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeUserinfo"] = "urn:devrev:params:oauth:token-type:userinfo";
175
- AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeUserinfoProfile"] = "urn:devrev:params:oauth:token-type:userinfo:profile";
176
182
  AuthTokenSubjectTokenType["UrnIetfParamsOauthTokenTypeJwt"] = "urn:ietf:params:oauth:token-type:jwt";
177
183
  })(AuthTokenSubjectTokenType = exports.AuthTokenSubjectTokenType || (exports.AuthTokenSubjectTokenType = {}));
178
184
  /** The type of the issued token. Bearer is the only supported token type. */
@@ -190,6 +196,7 @@ var BooleanExpressionType;
190
196
  /** Source of the code change object. */
191
197
  var CodeChangeSource;
192
198
  (function (CodeChangeSource) {
199
+ CodeChangeSource["Bitbucket"] = "bitbucket";
193
200
  CodeChangeSource["Github"] = "github";
194
201
  })(CodeChangeSource = exports.CodeChangeSource || (exports.CodeChangeSource = {}));
195
202
  var ConversationsCreateRequestTypeValue;
@@ -298,10 +305,13 @@ var ErrorBadRequestType;
298
305
  ErrorBadRequestType["InvalidApiVersion"] = "invalid_api_version";
299
306
  ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
300
307
  ErrorBadRequestType["InvalidField"] = "invalid_field";
308
+ ErrorBadRequestType["InvalidId"] = "invalid_id";
309
+ ErrorBadRequestType["MergeWorksError"] = "merge_works_error";
301
310
  ErrorBadRequestType["MissingDependency"] = "missing_dependency";
302
311
  ErrorBadRequestType["MissingRequiredField"] = "missing_required_field";
303
312
  ErrorBadRequestType["ParseError"] = "parse_error";
304
313
  ErrorBadRequestType["StaleSchemaFragments"] = "stale_schema_fragments";
314
+ ErrorBadRequestType["UnexpectedIdType"] = "unexpected_id_type";
305
315
  ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
306
316
  ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
307
317
  })(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
@@ -352,6 +362,15 @@ var EventSourceStatus;
352
362
  EventSourceStatus["Blocked"] = "blocked";
353
363
  EventSourceStatus["Paused"] = "paused";
354
364
  })(EventSourceStatus = exports.EventSourceStatus || (exports.EventSourceStatus = {}));
365
+ /** Event type of the notification. */
366
+ var GenericNotificationEventType;
367
+ (function (GenericNotificationEventType) {
368
+ GenericNotificationEventType["Alert"] = "alert";
369
+ GenericNotificationEventType["Assignment"] = "assignment";
370
+ GenericNotificationEventType["Mention"] = "mention";
371
+ GenericNotificationEventType["Reminder"] = "reminder";
372
+ GenericNotificationEventType["Update"] = "update";
373
+ })(GenericNotificationEventType = exports.GenericNotificationEventType || (exports.GenericNotificationEventType = {}));
355
374
  /** Type of the members in the group. */
356
375
  var GroupMemberType;
357
376
  (function (GroupMemberType) {
@@ -394,10 +413,13 @@ var LinkEndpointType;
394
413
  /** Type of link used to define the relationship. */
395
414
  var LinkType;
396
415
  (function (LinkType) {
416
+ LinkType["CustomLink"] = "custom_link";
397
417
  LinkType["DevelopedWith"] = "developed_with";
398
418
  LinkType["Imports"] = "imports";
419
+ LinkType["IsAnalyzedBy"] = "is_analyzed_by";
399
420
  LinkType["IsDependentOn"] = "is_dependent_on";
400
421
  LinkType["IsDuplicateOf"] = "is_duplicate_of";
422
+ LinkType["IsMergedInto"] = "is_merged_into";
401
423
  LinkType["IsParentOf"] = "is_parent_of";
402
424
  LinkType["IsPartOf"] = "is_part_of";
403
425
  LinkType["IsRelatedTo"] = "is_related_to";
@@ -537,6 +559,7 @@ var SchemaFieldDescriptorArrayTypeBaseType;
537
559
  SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
538
560
  SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
539
561
  SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
562
+ SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
540
563
  SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
541
564
  SchemaFieldDescriptorArrayTypeBaseType["Timestamp"] = "timestamp";
542
565
  SchemaFieldDescriptorArrayTypeBaseType["Tokens"] = "tokens";
@@ -553,6 +576,7 @@ var SchemaFieldDescriptorFieldType;
553
576
  SchemaFieldDescriptorFieldType["Id"] = "id";
554
577
  SchemaFieldDescriptorFieldType["Int"] = "int";
555
578
  SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
579
+ SchemaFieldDescriptorFieldType["Struct"] = "struct";
556
580
  SchemaFieldDescriptorFieldType["Text"] = "text";
557
581
  SchemaFieldDescriptorFieldType["Timestamp"] = "timestamp";
558
582
  SchemaFieldDescriptorFieldType["Tokens"] = "tokens";
@@ -564,10 +588,13 @@ var SearchHybridNamespace;
564
588
  (function (SearchHybridNamespace) {
565
589
  SearchHybridNamespace["Article"] = "article";
566
590
  SearchHybridNamespace["Conversation"] = "conversation";
591
+ SearchHybridNamespace["Dataset"] = "dataset";
592
+ SearchHybridNamespace["Incident"] = "incident";
567
593
  SearchHybridNamespace["Issue"] = "issue";
568
594
  SearchHybridNamespace["Part"] = "part";
569
595
  SearchHybridNamespace["QuestionAnswer"] = "question_answer";
570
596
  SearchHybridNamespace["Ticket"] = "ticket";
597
+ SearchHybridNamespace["Widget"] = "widget";
571
598
  SearchHybridNamespace["Work"] = "work";
572
599
  })(SearchHybridNamespace = exports.SearchHybridNamespace || (exports.SearchHybridNamespace = {}));
573
600
  /** The namespaces to search in. */
@@ -578,6 +605,7 @@ var SearchNamespace;
578
605
  SearchNamespace["Capability"] = "capability";
579
606
  SearchNamespace["Component"] = "component";
580
607
  SearchNamespace["Conversation"] = "conversation";
608
+ SearchNamespace["CustomObject"] = "custom_object";
581
609
  SearchNamespace["CustomPart"] = "custom_part";
582
610
  SearchNamespace["CustomWork"] = "custom_work";
583
611
  SearchNamespace["Dashboard"] = "dashboard";
@@ -609,6 +637,7 @@ var SearchResultType;
609
637
  SearchResultType["Article"] = "article";
610
638
  SearchResultType["Artifact"] = "artifact";
611
639
  SearchResultType["Conversation"] = "conversation";
640
+ SearchResultType["CustomObject"] = "custom_object";
612
641
  SearchResultType["Dashboard"] = "dashboard";
613
642
  SearchResultType["Group"] = "group";
614
643
  SearchResultType["Link"] = "link";
@@ -634,6 +663,10 @@ var SearchSortOrderParam;
634
663
  SearchSortOrderParam["Asc"] = "asc";
635
664
  SearchSortOrderParam["Desc"] = "desc";
636
665
  })(SearchSortOrderParam = exports.SearchSortOrderParam || (exports.SearchSortOrderParam = {}));
666
+ var SendNotificationType;
667
+ (function (SendNotificationType) {
668
+ SendNotificationType["GenericNotification"] = "generic_notification";
669
+ })(SendNotificationType = exports.SendNotificationType || (exports.SendNotificationType = {}));
637
670
  /**
638
671
  * The object types on which the SLA applies. An external SLA can apply to
639
672
  * multiple object types, but an internal SLA can apply to only one object
@@ -834,6 +867,13 @@ var TimelineEntryObjectType;
834
867
  TimelineEntryObjectType["Ticket"] = "ticket";
835
868
  TimelineEntryObjectType["TimelineComment"] = "timeline_comment";
836
869
  })(TimelineEntryObjectType = exports.TimelineEntryObjectType || (exports.TimelineEntryObjectType = {}));
870
+ /** Display panels for the Timeline entry. */
871
+ var TimelineEntryPanel;
872
+ (function (TimelineEntryPanel) {
873
+ TimelineEntryPanel["CustomerChat"] = "customer_chat";
874
+ TimelineEntryPanel["Discussions"] = "discussions";
875
+ TimelineEntryPanel["Events"] = "events";
876
+ })(TimelineEntryPanel = exports.TimelineEntryPanel || (exports.TimelineEntryPanel = {}));
837
877
  var TimelineEntryType;
838
878
  (function (TimelineEntryType) {
839
879
  TimelineEntryType["TimelineComment"] = "timeline_comment";
@@ -887,6 +927,19 @@ var UserType;
887
927
  UserType["ServiceAccount"] = "service_account";
888
928
  UserType["SysUser"] = "sys_user";
889
929
  })(UserType = exports.UserType || (exports.UserType = {}));
930
+ /** Defines the state of the group item. */
931
+ var VistaGroupItemState;
932
+ (function (VistaGroupItemState) {
933
+ VistaGroupItemState["Active"] = "active";
934
+ VistaGroupItemState["Completed"] = "completed";
935
+ VistaGroupItemState["Planned"] = "planned";
936
+ })(VistaGroupItemState = exports.VistaGroupItemState || (exports.VistaGroupItemState = {}));
937
+ /** Type of the group object. */
938
+ var VistaGroupItemType;
939
+ (function (VistaGroupItemType) {
940
+ VistaGroupItemType["Curated"] = "curated";
941
+ VistaGroupItemType["Dynamic"] = "dynamic";
942
+ })(VistaGroupItemType = exports.VistaGroupItemType || (exports.VistaGroupItemType = {}));
890
943
  /** Type of vista object. */
891
944
  var VistaType;
892
945
  (function (VistaType) {
@@ -906,6 +959,9 @@ var WebhookEventType;
906
959
  WebhookEventType["DevUserCreated"] = "dev_user_created";
907
960
  WebhookEventType["DevUserDeleted"] = "dev_user_deleted";
908
961
  WebhookEventType["DevUserUpdated"] = "dev_user_updated";
962
+ WebhookEventType["GroupCreated"] = "group_created";
963
+ WebhookEventType["GroupDeleted"] = "group_deleted";
964
+ WebhookEventType["GroupUpdated"] = "group_updated";
909
965
  WebhookEventType["PartCreated"] = "part_created";
910
966
  WebhookEventType["PartDeleted"] = "part_deleted";
911
967
  WebhookEventType["PartUpdated"] = "part_updated";
@@ -1852,6 +1908,77 @@ class Api extends HttpClient {
1852
1908
  * @secure
1853
1909
  */
1854
1910
  this.groupsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/groups.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1911
+ /**
1912
+ * @description Gets an incident.
1913
+ *
1914
+ * @tags operate
1915
+ * @name IncidentsGet
1916
+ * @request GET:/incidents.get
1917
+ * @secure
1918
+ */
1919
+ this.incidentsGet = (query, params = {}) => this.request(Object.assign({ path: `/incidents.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1920
+ /**
1921
+ * @description Gets an incident.
1922
+ *
1923
+ * @tags operate
1924
+ * @name IncidentsGetPost
1925
+ * @request POST:/incidents.get
1926
+ * @secure
1927
+ */
1928
+ this.incidentsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/incidents.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1929
+ /**
1930
+ * @description Lists collections of incidents by groups.
1931
+ *
1932
+ * @tags operate
1933
+ * @name IncidentsGroup
1934
+ * @request GET:/incidents.group
1935
+ * @secure
1936
+ */
1937
+ this.incidentsGroup = (query, params = {}) => this.request(Object.assign({ path: `/incidents.group`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1938
+ /**
1939
+ * @description Lists collections of incidents by groups.
1940
+ *
1941
+ * @tags operate
1942
+ * @name IncidentsGroupPost
1943
+ * @request POST:/incidents.group
1944
+ * @secure
1945
+ */
1946
+ this.incidentsGroupPost = (data, params = {}) => this.request(Object.assign({ path: `/incidents.group`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1947
+ /**
1948
+ * @description Lists incidents.
1949
+ *
1950
+ * @tags operate
1951
+ * @name IncidentsList
1952
+ * @request GET:/incidents.list
1953
+ * @secure
1954
+ */
1955
+ this.incidentsList = (query, params = {}) => this.request(Object.assign({ path: `/incidents.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1956
+ /**
1957
+ * @description Lists incidents.
1958
+ *
1959
+ * @tags operate
1960
+ * @name IncidentsListPost
1961
+ * @request POST:/incidents.list
1962
+ * @secure
1963
+ */
1964
+ this.incidentsListPost = (data, params = {}) => this.request(Object.assign({ path: `/incidents.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1965
+ /**
1966
+ * @description OAuth2 authorization callback.
1967
+ *
1968
+ * @tags keyring
1969
+ * @name KeyringsCreateCallback
1970
+ * @request GET:/keyrings.authorize
1971
+ */
1972
+ this.keyringsCreateCallback = (query, params = {}) => this.request(Object.assign({ path: `/keyrings.authorize`, method: 'GET', query: query }, params));
1973
+ /**
1974
+ * @description OAuth2 authorization callback.
1975
+ *
1976
+ * @tags keyring
1977
+ * @name KeyringsCreateCallbackPost
1978
+ * @request POST:/keyrings.authorize
1979
+ * @secure
1980
+ */
1981
+ this.keyringsCreateCallbackPost = (data, params = {}) => this.request(Object.assign({ path: `/keyrings.authorize`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
1855
1982
  /**
1856
1983
  * @description Creates a link between two objects to indicate a relationship.
1857
1984
  *
@@ -1933,6 +2060,15 @@ class Api extends HttpClient {
1933
2060
  * @secure
1934
2061
  */
1935
2062
  this.metricsDevrevIngest = (data, params = {}) => this.request(Object.assign({ path: `/metrics.devrev.ingest`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
2063
+ /**
2064
+ * @description Generate a notification.
2065
+ *
2066
+ * @tags notifications
2067
+ * @name NotificationsSend
2068
+ * @request POST:/notifications.send
2069
+ * @secure
2070
+ */
2071
+ this.notificationsSend = (data, params = {}) => this.request(Object.assign({ path: `/notifications.send`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1936
2072
  /**
1937
2073
  * @description Creates an organization schedule fragment.
1938
2074
  *