@devrev/typescript-sdk 1.1.50 → 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.
- package/README.md +106 -0
- package/dist/auto-generated/beta/beta-devrev-sdk.d.ts +270 -56
- package/dist/auto-generated/beta/beta-devrev-sdk.js +108 -51
- package/dist/auto-generated/public-devrev-sdk.d.ts +2497 -113
- package/dist/auto-generated/public-devrev-sdk.js +535 -12
- package/dist/snap-ins/beta-devrev-sdk-util.d.ts +9 -0
- package/dist/snap-ins/beta-devrev-sdk-util.js +121 -0
- package/dist/snap-ins/constants/error.d.ts +5 -0
- package/dist/snap-ins/constants/error.js +8 -0
- package/dist/snap-ins/constants/util.d.ts +12 -0
- package/dist/snap-ins/constants/util.js +16 -0
- package/dist/snap-ins/error.d.ts +1 -0
- package/dist/snap-ins/error.js +41 -0
- package/dist/snap-ins/util-types.d.ts +13 -0
- package/dist/snap-ins/util-types.js +2 -0
- package/dist/tests/beta-devrev-sdk-util.test.d.ts +1 -0
- package/dist/tests/beta-devrev-sdk-util.test.js +211 -0
- package/dist/tests/error.test.d.ts +1 -0
- package/dist/tests/error.test.js +118 -0
- package/package.json +1 -1
|
@@ -34,8 +34,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
|
-
exports.
|
|
38
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = void 0;
|
|
37
|
+
exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SnapWidgetInteractionType = exports.SnapWidgetClickInteractionClickAction = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = 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.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = void 0;
|
|
38
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = void 0;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -789,14 +789,39 @@ var SchemasSubtypePrepareUpdateGetResponseConflictType;
|
|
|
789
789
|
/** The namespaces for hybrid search. */
|
|
790
790
|
var SearchHybridNamespace;
|
|
791
791
|
(function (SearchHybridNamespace) {
|
|
792
|
+
SearchHybridNamespace["Account"] = "account";
|
|
792
793
|
SearchHybridNamespace["Article"] = "article";
|
|
794
|
+
SearchHybridNamespace["Capability"] = "capability";
|
|
795
|
+
SearchHybridNamespace["Component"] = "component";
|
|
793
796
|
SearchHybridNamespace["Conversation"] = "conversation";
|
|
797
|
+
SearchHybridNamespace["CustomObject"] = "custom_object";
|
|
798
|
+
SearchHybridNamespace["CustomPart"] = "custom_part";
|
|
799
|
+
SearchHybridNamespace["CustomWork"] = "custom_work";
|
|
800
|
+
SearchHybridNamespace["Dashboard"] = "dashboard";
|
|
794
801
|
SearchHybridNamespace["Dataset"] = "dataset";
|
|
802
|
+
SearchHybridNamespace["DevUser"] = "dev_user";
|
|
803
|
+
SearchHybridNamespace["Enhancement"] = "enhancement";
|
|
804
|
+
SearchHybridNamespace["Feature"] = "feature";
|
|
805
|
+
SearchHybridNamespace["Group"] = "group";
|
|
795
806
|
SearchHybridNamespace["Incident"] = "incident";
|
|
796
807
|
SearchHybridNamespace["Issue"] = "issue";
|
|
808
|
+
SearchHybridNamespace["Linkable"] = "linkable";
|
|
809
|
+
SearchHybridNamespace["Microservice"] = "microservice";
|
|
810
|
+
SearchHybridNamespace["ObjectMember"] = "object_member";
|
|
811
|
+
SearchHybridNamespace["Opportunity"] = "opportunity";
|
|
797
812
|
SearchHybridNamespace["Part"] = "part";
|
|
813
|
+
SearchHybridNamespace["Product"] = "product";
|
|
814
|
+
SearchHybridNamespace["Project"] = "project";
|
|
798
815
|
SearchHybridNamespace["QuestionAnswer"] = "question_answer";
|
|
816
|
+
SearchHybridNamespace["RevOrg"] = "rev_org";
|
|
817
|
+
SearchHybridNamespace["RevUser"] = "rev_user";
|
|
818
|
+
SearchHybridNamespace["Runnable"] = "runnable";
|
|
819
|
+
SearchHybridNamespace["ServiceAccount"] = "service_account";
|
|
820
|
+
SearchHybridNamespace["SysUser"] = "sys_user";
|
|
821
|
+
SearchHybridNamespace["Tag"] = "tag";
|
|
822
|
+
SearchHybridNamespace["Task"] = "task";
|
|
799
823
|
SearchHybridNamespace["Ticket"] = "ticket";
|
|
824
|
+
SearchHybridNamespace["Vista"] = "vista";
|
|
800
825
|
SearchHybridNamespace["Widget"] = "widget";
|
|
801
826
|
SearchHybridNamespace["Work"] = "work";
|
|
802
827
|
})(SearchHybridNamespace = exports.SearchHybridNamespace || (exports.SearchHybridNamespace = {}));
|
|
@@ -959,6 +984,17 @@ var SlasFilterAppliesToOperatorType;
|
|
|
959
984
|
SlasFilterAppliesToOperatorType["All"] = "all";
|
|
960
985
|
SlasFilterAppliesToOperatorType["Any"] = "any";
|
|
961
986
|
})(SlasFilterAppliesToOperatorType = exports.SlasFilterAppliesToOperatorType || (exports.SlasFilterAppliesToOperatorType = {}));
|
|
987
|
+
var SnapWidgetClickInteractionClickAction;
|
|
988
|
+
(function (SnapWidgetClickInteractionClickAction) {
|
|
989
|
+
SnapWidgetClickInteractionClickAction["OpenPlugWidget"] = "open_plug_widget";
|
|
990
|
+
SnapWidgetClickInteractionClickAction["OpenUrl"] = "open_url";
|
|
991
|
+
SnapWidgetClickInteractionClickAction["StartConversation"] = "start_conversation";
|
|
992
|
+
})(SnapWidgetClickInteractionClickAction = exports.SnapWidgetClickInteractionClickAction || (exports.SnapWidgetClickInteractionClickAction = {}));
|
|
993
|
+
var SnapWidgetInteractionType;
|
|
994
|
+
(function (SnapWidgetInteractionType) {
|
|
995
|
+
SnapWidgetInteractionType["Click"] = "click";
|
|
996
|
+
SnapWidgetInteractionType["EmailInput"] = "email_input";
|
|
997
|
+
})(SnapWidgetInteractionType = exports.SnapWidgetInteractionType || (exports.SnapWidgetInteractionType = {}));
|
|
962
998
|
/** Logical grouping of snap widgets. Useful for filtering. */
|
|
963
999
|
var SnapWidgetNamespace;
|
|
964
1000
|
(function (SnapWidgetNamespace) {
|
|
@@ -966,6 +1002,7 @@ var SnapWidgetNamespace;
|
|
|
966
1002
|
SnapWidgetNamespace["CommentSuggestionReplies"] = "comment_suggestion_replies";
|
|
967
1003
|
SnapWidgetNamespace["EmailPreview"] = "email_preview";
|
|
968
1004
|
SnapWidgetNamespace["LinkPreview"] = "link_preview";
|
|
1005
|
+
SnapWidgetNamespace["MeetingPreview"] = "meeting_preview";
|
|
969
1006
|
SnapWidgetNamespace["PlugNudge"] = "plug_nudge";
|
|
970
1007
|
})(SnapWidgetNamespace = exports.SnapWidgetNamespace || (exports.SnapWidgetNamespace = {}));
|
|
971
1008
|
/** The status of the snap widget. */
|
|
@@ -1919,7 +1956,7 @@ class Api extends HttpClient {
|
|
|
1919
1956
|
/**
|
|
1920
1957
|
* @description Creates a command.
|
|
1921
1958
|
*
|
|
1922
|
-
* @tags
|
|
1959
|
+
* @tags commands
|
|
1923
1960
|
* @name CommandsCreate
|
|
1924
1961
|
* @summary Create Command
|
|
1925
1962
|
* @request POST:/commands.create
|
|
@@ -1929,7 +1966,7 @@ class Api extends HttpClient {
|
|
|
1929
1966
|
/**
|
|
1930
1967
|
* @description Gets a command.
|
|
1931
1968
|
*
|
|
1932
|
-
* @tags
|
|
1969
|
+
* @tags commands
|
|
1933
1970
|
* @name CommandsGet
|
|
1934
1971
|
* @summary Get Command
|
|
1935
1972
|
* @request GET:/commands.get
|
|
@@ -1939,7 +1976,7 @@ class Api extends HttpClient {
|
|
|
1939
1976
|
/**
|
|
1940
1977
|
* @description Gets a command.
|
|
1941
1978
|
*
|
|
1942
|
-
* @tags
|
|
1979
|
+
* @tags commands
|
|
1943
1980
|
* @name CommandsGetPost
|
|
1944
1981
|
* @summary Get Command (POST)
|
|
1945
1982
|
* @request POST:/commands.get
|
|
@@ -1949,7 +1986,7 @@ class Api extends HttpClient {
|
|
|
1949
1986
|
/**
|
|
1950
1987
|
* @description Lists commands for a Dev organization.
|
|
1951
1988
|
*
|
|
1952
|
-
* @tags
|
|
1989
|
+
* @tags commands
|
|
1953
1990
|
* @name CommandsList
|
|
1954
1991
|
* @summary List Commands
|
|
1955
1992
|
* @request GET:/commands.list
|
|
@@ -1959,7 +1996,7 @@ class Api extends HttpClient {
|
|
|
1959
1996
|
/**
|
|
1960
1997
|
* @description Lists commands for a Dev organization.
|
|
1961
1998
|
*
|
|
1962
|
-
* @tags
|
|
1999
|
+
* @tags commands
|
|
1963
2000
|
* @name CommandsListPost
|
|
1964
2001
|
* @summary List Commands (POST)
|
|
1965
2002
|
* @request POST:/commands.list
|
|
@@ -1969,7 +2006,7 @@ class Api extends HttpClient {
|
|
|
1969
2006
|
/**
|
|
1970
2007
|
* @description Updates a command.
|
|
1971
2008
|
*
|
|
1972
|
-
* @tags
|
|
2009
|
+
* @tags commands
|
|
1973
2010
|
* @name CommandsUpdate
|
|
1974
2011
|
* @summary Update Command
|
|
1975
2012
|
* @request POST:/commands.update
|
|
@@ -2209,7 +2246,7 @@ class Api extends HttpClient {
|
|
|
2209
2246
|
/**
|
|
2210
2247
|
* @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.
|
|
2211
2248
|
*
|
|
2212
|
-
* @tags auth-
|
|
2249
|
+
* @tags auth-connections, dev-orgs
|
|
2213
2250
|
* @name DevOrgAuthConnectionsCreate
|
|
2214
2251
|
* @summary Create Dev Orgs Auth Connection
|
|
2215
2252
|
* @request POST:/dev-orgs.auth-connections.create
|
|
@@ -2219,7 +2256,7 @@ class Api extends HttpClient {
|
|
|
2219
2256
|
/**
|
|
2220
2257
|
* @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.
|
|
2221
2258
|
*
|
|
2222
|
-
* @tags auth-
|
|
2259
|
+
* @tags auth-connections, dev-orgs
|
|
2223
2260
|
* @name DevOrgAuthConnectionsDelete
|
|
2224
2261
|
* @summary Delete Dev Orgs Auth Connection
|
|
2225
2262
|
* @request POST:/dev-orgs.auth-connections.delete
|
|
@@ -2229,7 +2266,7 @@ class Api extends HttpClient {
|
|
|
2229
2266
|
/**
|
|
2230
2267
|
* @description Retrieves the details for an authentication connection.
|
|
2231
2268
|
*
|
|
2232
|
-
* @tags auth-
|
|
2269
|
+
* @tags auth-connections, dev-orgs
|
|
2233
2270
|
* @name DevOrgAuthConnectionsGet
|
|
2234
2271
|
* @summary Get Dev Orgs Auth Connection
|
|
2235
2272
|
* @request GET:/dev-orgs.auth-connections.get
|
|
@@ -2239,7 +2276,7 @@ class Api extends HttpClient {
|
|
|
2239
2276
|
/**
|
|
2240
2277
|
* @description Retrieves the details for an authentication connection.
|
|
2241
2278
|
*
|
|
2242
|
-
* @tags auth-
|
|
2279
|
+
* @tags auth-connections, dev-orgs
|
|
2243
2280
|
* @name DevOrgAuthConnectionsGetPost
|
|
2244
2281
|
* @summary Get Dev Orgs Auth Connection (POST)
|
|
2245
2282
|
* @request POST:/dev-orgs.auth-connections.get
|
|
@@ -2249,7 +2286,7 @@ class Api extends HttpClient {
|
|
|
2249
2286
|
/**
|
|
2250
2287
|
* @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.
|
|
2251
2288
|
*
|
|
2252
|
-
* @tags auth-
|
|
2289
|
+
* @tags auth-connections, dev-orgs
|
|
2253
2290
|
* @name DevOrgAuthConnectionsList
|
|
2254
2291
|
* @summary List Dev Orgs Auth Connections
|
|
2255
2292
|
* @request GET:/dev-orgs.auth-connections.list
|
|
@@ -2259,7 +2296,7 @@ class Api extends HttpClient {
|
|
|
2259
2296
|
/**
|
|
2260
2297
|
* @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.
|
|
2261
2298
|
*
|
|
2262
|
-
* @tags auth-
|
|
2299
|
+
* @tags auth-connections, dev-orgs
|
|
2263
2300
|
* @name DevOrgAuthConnectionsListPost
|
|
2264
2301
|
* @summary List Dev Orgs Auth Connections (POST)
|
|
2265
2302
|
* @request POST:/dev-orgs.auth-connections.list
|
|
@@ -2269,7 +2306,7 @@ class Api extends HttpClient {
|
|
|
2269
2306
|
/**
|
|
2270
2307
|
* @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.
|
|
2271
2308
|
*
|
|
2272
|
-
* @tags auth-
|
|
2309
|
+
* @tags auth-connections, dev-orgs
|
|
2273
2310
|
* @name DevOrgAuthConnectionsToggle
|
|
2274
2311
|
* @summary Toggle Dev Orgs Auth Connections
|
|
2275
2312
|
* @request POST:/dev-orgs.auth-connections.toggle
|
|
@@ -2279,13 +2316,33 @@ class Api extends HttpClient {
|
|
|
2279
2316
|
/**
|
|
2280
2317
|
* @description Updates an authentication connection.
|
|
2281
2318
|
*
|
|
2282
|
-
* @tags auth-
|
|
2319
|
+
* @tags auth-connections, dev-orgs
|
|
2283
2320
|
* @name DevOrgAuthConnectionsUpdate
|
|
2284
2321
|
* @summary Update Dev Orgs Auth Connection
|
|
2285
2322
|
* @request POST:/dev-orgs.auth-connections.update
|
|
2286
2323
|
* @secure
|
|
2287
2324
|
*/
|
|
2288
2325
|
this.devOrgAuthConnectionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2326
|
+
/**
|
|
2327
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
2328
|
+
*
|
|
2329
|
+
* @tags dev-orgs
|
|
2330
|
+
* @name DevOrgsGet
|
|
2331
|
+
* @summary Get Dev Org
|
|
2332
|
+
* @request GET:/dev-orgs.get
|
|
2333
|
+
* @secure
|
|
2334
|
+
*/
|
|
2335
|
+
this.devOrgsGet = (params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'GET', secure: true, format: 'json' }, params));
|
|
2336
|
+
/**
|
|
2337
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
2338
|
+
*
|
|
2339
|
+
* @tags dev-orgs
|
|
2340
|
+
* @name DevOrgsGetPost
|
|
2341
|
+
* @summary Get Dev Org (POST)
|
|
2342
|
+
* @request POST:/dev-orgs.get
|
|
2343
|
+
* @secure
|
|
2344
|
+
*/
|
|
2345
|
+
this.devOrgsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2289
2346
|
/**
|
|
2290
2347
|
* @description Activates the requested user.
|
|
2291
2348
|
*
|
|
@@ -2599,7 +2656,7 @@ class Api extends HttpClient {
|
|
|
2599
2656
|
/**
|
|
2600
2657
|
* @description Gets an event source.
|
|
2601
2658
|
*
|
|
2602
|
-
* @tags event-
|
|
2659
|
+
* @tags event-sources
|
|
2603
2660
|
* @name EventSourcesGet
|
|
2604
2661
|
* @summary Get Event Source
|
|
2605
2662
|
* @request GET:/event-sources.get
|
|
@@ -2609,7 +2666,7 @@ class Api extends HttpClient {
|
|
|
2609
2666
|
/**
|
|
2610
2667
|
* @description Gets an event source.
|
|
2611
2668
|
*
|
|
2612
|
-
* @tags event-
|
|
2669
|
+
* @tags event-sources
|
|
2613
2670
|
* @name EventSourcesGetPost
|
|
2614
2671
|
* @summary Get Event Source (POST)
|
|
2615
2672
|
* @request POST:/event-sources.get
|
|
@@ -2619,7 +2676,7 @@ class Api extends HttpClient {
|
|
|
2619
2676
|
/**
|
|
2620
2677
|
* @description Schedules an event to be published to the specified event source.
|
|
2621
2678
|
*
|
|
2622
|
-
* @tags event-
|
|
2679
|
+
* @tags event-sources
|
|
2623
2680
|
* @name EventSourcesScheduleEvent
|
|
2624
2681
|
* @summary Schedule Event Sources
|
|
2625
2682
|
* @request POST:/event-sources.schedule
|
|
@@ -2629,7 +2686,7 @@ class Api extends HttpClient {
|
|
|
2629
2686
|
/**
|
|
2630
2687
|
* @description Deletes an event scheduled for the specified event source.
|
|
2631
2688
|
*
|
|
2632
|
-
* @tags event-
|
|
2689
|
+
* @tags event-sources
|
|
2633
2690
|
* @name EventSourcesDeleteScheduledEvent
|
|
2634
2691
|
* @summary Unschedule Event Sources
|
|
2635
2692
|
* @request POST:/event-sources.unschedule
|
|
@@ -2739,7 +2796,7 @@ class Api extends HttpClient {
|
|
|
2739
2796
|
/**
|
|
2740
2797
|
* @description Creates an incident.
|
|
2741
2798
|
*
|
|
2742
|
-
* @tags
|
|
2799
|
+
* @tags incidents
|
|
2743
2800
|
* @name IncidentsCreate
|
|
2744
2801
|
* @summary Create Incident
|
|
2745
2802
|
* @request POST:/incidents.create
|
|
@@ -2749,7 +2806,7 @@ class Api extends HttpClient {
|
|
|
2749
2806
|
/**
|
|
2750
2807
|
* @description Deletes an incident.
|
|
2751
2808
|
*
|
|
2752
|
-
* @tags
|
|
2809
|
+
* @tags incidents
|
|
2753
2810
|
* @name IncidentsDelete
|
|
2754
2811
|
* @summary Delete Incident
|
|
2755
2812
|
* @request POST:/incidents.delete
|
|
@@ -2759,7 +2816,7 @@ class Api extends HttpClient {
|
|
|
2759
2816
|
/**
|
|
2760
2817
|
* @description Gets an incident.
|
|
2761
2818
|
*
|
|
2762
|
-
* @tags
|
|
2819
|
+
* @tags incidents
|
|
2763
2820
|
* @name IncidentsGet
|
|
2764
2821
|
* @summary Get Incident
|
|
2765
2822
|
* @request GET:/incidents.get
|
|
@@ -2769,7 +2826,7 @@ class Api extends HttpClient {
|
|
|
2769
2826
|
/**
|
|
2770
2827
|
* @description Gets an incident.
|
|
2771
2828
|
*
|
|
2772
|
-
* @tags
|
|
2829
|
+
* @tags incidents
|
|
2773
2830
|
* @name IncidentsGetPost
|
|
2774
2831
|
* @summary Get Incident (POST)
|
|
2775
2832
|
* @request POST:/incidents.get
|
|
@@ -2779,7 +2836,7 @@ class Api extends HttpClient {
|
|
|
2779
2836
|
/**
|
|
2780
2837
|
* @description Lists collections of incidents by groups.
|
|
2781
2838
|
*
|
|
2782
|
-
* @tags
|
|
2839
|
+
* @tags incidents
|
|
2783
2840
|
* @name IncidentsGroup
|
|
2784
2841
|
* @summary Group Incidents
|
|
2785
2842
|
* @request GET:/incidents.group
|
|
@@ -2789,7 +2846,7 @@ class Api extends HttpClient {
|
|
|
2789
2846
|
/**
|
|
2790
2847
|
* @description Lists collections of incidents by groups.
|
|
2791
2848
|
*
|
|
2792
|
-
* @tags
|
|
2849
|
+
* @tags incidents
|
|
2793
2850
|
* @name IncidentsGroupPost
|
|
2794
2851
|
* @summary Group Incidents (POST)
|
|
2795
2852
|
* @request POST:/incidents.group
|
|
@@ -2799,7 +2856,7 @@ class Api extends HttpClient {
|
|
|
2799
2856
|
/**
|
|
2800
2857
|
* @description Lists incidents.
|
|
2801
2858
|
*
|
|
2802
|
-
* @tags
|
|
2859
|
+
* @tags incidents
|
|
2803
2860
|
* @name IncidentsList
|
|
2804
2861
|
* @summary List Incidents
|
|
2805
2862
|
* @request GET:/incidents.list
|
|
@@ -2809,7 +2866,7 @@ class Api extends HttpClient {
|
|
|
2809
2866
|
/**
|
|
2810
2867
|
* @description Lists incidents.
|
|
2811
2868
|
*
|
|
2812
|
-
* @tags
|
|
2869
|
+
* @tags incidents
|
|
2813
2870
|
* @name IncidentsListPost
|
|
2814
2871
|
* @summary List Incidents (POST)
|
|
2815
2872
|
* @request POST:/incidents.list
|
|
@@ -2819,7 +2876,7 @@ class Api extends HttpClient {
|
|
|
2819
2876
|
/**
|
|
2820
2877
|
* @description Updates an incident.
|
|
2821
2878
|
*
|
|
2822
|
-
* @tags
|
|
2879
|
+
* @tags incidents
|
|
2823
2880
|
* @name IncidentsUpdate
|
|
2824
2881
|
* @summary Update Incident
|
|
2825
2882
|
* @request POST:/incidents.update
|
|
@@ -2829,7 +2886,7 @@ class Api extends HttpClient {
|
|
|
2829
2886
|
/**
|
|
2830
2887
|
* @description OAuth2 authorization callback.
|
|
2831
2888
|
*
|
|
2832
|
-
* @tags
|
|
2889
|
+
* @tags keyrings
|
|
2833
2890
|
* @name KeyringsCreateCallback
|
|
2834
2891
|
* @summary Authorize Keyrings
|
|
2835
2892
|
* @request GET:/keyrings.authorize
|
|
@@ -2838,7 +2895,7 @@ class Api extends HttpClient {
|
|
|
2838
2895
|
/**
|
|
2839
2896
|
* @description OAuth2 authorization callback.
|
|
2840
2897
|
*
|
|
2841
|
-
* @tags
|
|
2898
|
+
* @tags keyrings
|
|
2842
2899
|
* @name KeyringsCreateCallbackPost
|
|
2843
2900
|
* @summary Authorize Keyrings (POST)
|
|
2844
2901
|
* @request POST:/keyrings.authorize
|
|
@@ -3138,7 +3195,7 @@ class Api extends HttpClient {
|
|
|
3138
3195
|
/**
|
|
3139
3196
|
* @description Ingest endpoint for DevRev metrics data from clients.
|
|
3140
3197
|
*
|
|
3141
|
-
* @tags
|
|
3198
|
+
* @tags metrics
|
|
3142
3199
|
* @name MetricsDevrevIngest
|
|
3143
3200
|
* @summary Ingest Metrics Devrev
|
|
3144
3201
|
* @request POST:/metrics.devrev.ingest
|
|
@@ -4568,7 +4625,7 @@ class Api extends HttpClient {
|
|
|
4568
4625
|
/**
|
|
4569
4626
|
* @description Allows publishing of events (example from plug widget).
|
|
4570
4627
|
*
|
|
4571
|
-
* @tags event-
|
|
4628
|
+
* @tags event-sources
|
|
4572
4629
|
* @name TrackEventsPublish
|
|
4573
4630
|
* @summary Publish Track Events
|
|
4574
4631
|
* @request POST:/track-events.publish
|
|
@@ -4578,9 +4635,9 @@ class Api extends HttpClient {
|
|
|
4578
4635
|
/**
|
|
4579
4636
|
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
4580
4637
|
*
|
|
4581
|
-
* @tags
|
|
4638
|
+
* @tags uoms
|
|
4582
4639
|
* @name UomsCount
|
|
4583
|
-
* @summary Count
|
|
4640
|
+
* @summary Count UOMs
|
|
4584
4641
|
* @request GET:/uoms.count
|
|
4585
4642
|
* @secure
|
|
4586
4643
|
*/
|
|
@@ -4588,9 +4645,9 @@ class Api extends HttpClient {
|
|
|
4588
4645
|
/**
|
|
4589
4646
|
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
4590
4647
|
*
|
|
4591
|
-
* @tags
|
|
4648
|
+
* @tags uoms
|
|
4592
4649
|
* @name UomsCountPost
|
|
4593
|
-
* @summary Count
|
|
4650
|
+
* @summary Count UOMs (POST)
|
|
4594
4651
|
* @request POST:/uoms.count
|
|
4595
4652
|
* @secure
|
|
4596
4653
|
*/
|
|
@@ -4598,9 +4655,9 @@ class Api extends HttpClient {
|
|
|
4598
4655
|
/**
|
|
4599
4656
|
* @description Creates a Unit of Measurement on a part.
|
|
4600
4657
|
*
|
|
4601
|
-
* @tags
|
|
4658
|
+
* @tags uoms
|
|
4602
4659
|
* @name UomsCreate
|
|
4603
|
-
* @summary Create
|
|
4660
|
+
* @summary Create UOM
|
|
4604
4661
|
* @request POST:/uoms.create
|
|
4605
4662
|
* @secure
|
|
4606
4663
|
*/
|
|
@@ -4608,9 +4665,9 @@ class Api extends HttpClient {
|
|
|
4608
4665
|
/**
|
|
4609
4666
|
* @description Deletes a Unit of Measurement.
|
|
4610
4667
|
*
|
|
4611
|
-
* @tags
|
|
4668
|
+
* @tags uoms
|
|
4612
4669
|
* @name UomsDelete
|
|
4613
|
-
* @summary Delete
|
|
4670
|
+
* @summary Delete UOM
|
|
4614
4671
|
* @request POST:/uoms.delete
|
|
4615
4672
|
* @secure
|
|
4616
4673
|
*/
|
|
@@ -4618,9 +4675,9 @@ class Api extends HttpClient {
|
|
|
4618
4675
|
/**
|
|
4619
4676
|
* @description Gets a Unit of Measurement.
|
|
4620
4677
|
*
|
|
4621
|
-
* @tags
|
|
4678
|
+
* @tags uoms
|
|
4622
4679
|
* @name UomsGet
|
|
4623
|
-
* @summary Get
|
|
4680
|
+
* @summary Get UOM
|
|
4624
4681
|
* @request GET:/uoms.get
|
|
4625
4682
|
* @secure
|
|
4626
4683
|
*/
|
|
@@ -4628,9 +4685,9 @@ class Api extends HttpClient {
|
|
|
4628
4685
|
/**
|
|
4629
4686
|
* @description Gets a Unit of Measurement.
|
|
4630
4687
|
*
|
|
4631
|
-
* @tags
|
|
4688
|
+
* @tags uoms
|
|
4632
4689
|
* @name UomsGetPost
|
|
4633
|
-
* @summary Get
|
|
4690
|
+
* @summary Get UOM (POST)
|
|
4634
4691
|
* @request POST:/uoms.get
|
|
4635
4692
|
* @secure
|
|
4636
4693
|
*/
|
|
@@ -4638,9 +4695,9 @@ class Api extends HttpClient {
|
|
|
4638
4695
|
/**
|
|
4639
4696
|
* @description Gets the Unit of Measurements based on the given filters.
|
|
4640
4697
|
*
|
|
4641
|
-
* @tags
|
|
4698
|
+
* @tags uoms
|
|
4642
4699
|
* @name UomsList
|
|
4643
|
-
* @summary List
|
|
4700
|
+
* @summary List UOMs
|
|
4644
4701
|
* @request GET:/uoms.list
|
|
4645
4702
|
* @secure
|
|
4646
4703
|
*/
|
|
@@ -4648,9 +4705,9 @@ class Api extends HttpClient {
|
|
|
4648
4705
|
/**
|
|
4649
4706
|
* @description Gets the Unit of Measurements based on the given filters.
|
|
4650
4707
|
*
|
|
4651
|
-
* @tags
|
|
4708
|
+
* @tags uoms
|
|
4652
4709
|
* @name UomsListPost
|
|
4653
|
-
* @summary List
|
|
4710
|
+
* @summary List UOMs (POST)
|
|
4654
4711
|
* @request POST:/uoms.list
|
|
4655
4712
|
* @secure
|
|
4656
4713
|
*/
|
|
@@ -4658,9 +4715,9 @@ class Api extends HttpClient {
|
|
|
4658
4715
|
/**
|
|
4659
4716
|
* @description Updates a Unit of Measurement.
|
|
4660
4717
|
*
|
|
4661
|
-
* @tags
|
|
4718
|
+
* @tags uoms
|
|
4662
4719
|
* @name UomsUpdate
|
|
4663
|
-
* @summary Update
|
|
4720
|
+
* @summary Update UOM
|
|
4664
4721
|
* @request POST:/uoms.update
|
|
4665
4722
|
* @secure
|
|
4666
4723
|
*/
|