@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.
- package/README.md +106 -0
- package/dist/auto-generated/beta/beta-devrev-sdk.d.ts +346 -89
- package/dist/auto-generated/beta/beta-devrev-sdk.js +109 -51
- package/dist/auto-generated/public-devrev-sdk.d.ts +2504 -126
- package/dist/auto-generated/public-devrev-sdk.js +546 -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";
|
|
@@ -755,6 +755,7 @@ var SchemaFieldDescriptorArrayTypeBaseType;
|
|
|
755
755
|
SchemaFieldDescriptorArrayTypeBaseType["Enum"] = "enum";
|
|
756
756
|
SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
|
|
757
757
|
SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
|
|
758
|
+
SchemaFieldDescriptorArrayTypeBaseType["JsonValue"] = "json_value";
|
|
758
759
|
SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
|
|
759
760
|
SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
|
|
760
761
|
SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
|
|
@@ -772,6 +773,7 @@ var SchemaFieldDescriptorFieldType;
|
|
|
772
773
|
SchemaFieldDescriptorFieldType["Enum"] = "enum";
|
|
773
774
|
SchemaFieldDescriptorFieldType["Id"] = "id";
|
|
774
775
|
SchemaFieldDescriptorFieldType["Int"] = "int";
|
|
776
|
+
SchemaFieldDescriptorFieldType["JsonValue"] = "json_value";
|
|
775
777
|
SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
|
|
776
778
|
SchemaFieldDescriptorFieldType["Struct"] = "struct";
|
|
777
779
|
SchemaFieldDescriptorFieldType["Text"] = "text";
|
|
@@ -789,14 +791,39 @@ var SchemasSubtypePrepareUpdateGetResponseConflictType;
|
|
|
789
791
|
/** The namespaces for hybrid search. */
|
|
790
792
|
var SearchHybridNamespace;
|
|
791
793
|
(function (SearchHybridNamespace) {
|
|
794
|
+
SearchHybridNamespace["Account"] = "account";
|
|
792
795
|
SearchHybridNamespace["Article"] = "article";
|
|
796
|
+
SearchHybridNamespace["Capability"] = "capability";
|
|
797
|
+
SearchHybridNamespace["Component"] = "component";
|
|
793
798
|
SearchHybridNamespace["Conversation"] = "conversation";
|
|
799
|
+
SearchHybridNamespace["CustomObject"] = "custom_object";
|
|
800
|
+
SearchHybridNamespace["CustomPart"] = "custom_part";
|
|
801
|
+
SearchHybridNamespace["CustomWork"] = "custom_work";
|
|
802
|
+
SearchHybridNamespace["Dashboard"] = "dashboard";
|
|
794
803
|
SearchHybridNamespace["Dataset"] = "dataset";
|
|
804
|
+
SearchHybridNamespace["DevUser"] = "dev_user";
|
|
805
|
+
SearchHybridNamespace["Enhancement"] = "enhancement";
|
|
806
|
+
SearchHybridNamespace["Feature"] = "feature";
|
|
807
|
+
SearchHybridNamespace["Group"] = "group";
|
|
795
808
|
SearchHybridNamespace["Incident"] = "incident";
|
|
796
809
|
SearchHybridNamespace["Issue"] = "issue";
|
|
810
|
+
SearchHybridNamespace["Linkable"] = "linkable";
|
|
811
|
+
SearchHybridNamespace["Microservice"] = "microservice";
|
|
812
|
+
SearchHybridNamespace["ObjectMember"] = "object_member";
|
|
813
|
+
SearchHybridNamespace["Opportunity"] = "opportunity";
|
|
797
814
|
SearchHybridNamespace["Part"] = "part";
|
|
815
|
+
SearchHybridNamespace["Product"] = "product";
|
|
816
|
+
SearchHybridNamespace["Project"] = "project";
|
|
798
817
|
SearchHybridNamespace["QuestionAnswer"] = "question_answer";
|
|
818
|
+
SearchHybridNamespace["RevOrg"] = "rev_org";
|
|
819
|
+
SearchHybridNamespace["RevUser"] = "rev_user";
|
|
820
|
+
SearchHybridNamespace["Runnable"] = "runnable";
|
|
821
|
+
SearchHybridNamespace["ServiceAccount"] = "service_account";
|
|
822
|
+
SearchHybridNamespace["SysUser"] = "sys_user";
|
|
823
|
+
SearchHybridNamespace["Tag"] = "tag";
|
|
824
|
+
SearchHybridNamespace["Task"] = "task";
|
|
799
825
|
SearchHybridNamespace["Ticket"] = "ticket";
|
|
826
|
+
SearchHybridNamespace["Vista"] = "vista";
|
|
800
827
|
SearchHybridNamespace["Widget"] = "widget";
|
|
801
828
|
SearchHybridNamespace["Work"] = "work";
|
|
802
829
|
})(SearchHybridNamespace = exports.SearchHybridNamespace || (exports.SearchHybridNamespace = {}));
|
|
@@ -959,6 +986,17 @@ var SlasFilterAppliesToOperatorType;
|
|
|
959
986
|
SlasFilterAppliesToOperatorType["All"] = "all";
|
|
960
987
|
SlasFilterAppliesToOperatorType["Any"] = "any";
|
|
961
988
|
})(SlasFilterAppliesToOperatorType = exports.SlasFilterAppliesToOperatorType || (exports.SlasFilterAppliesToOperatorType = {}));
|
|
989
|
+
var SnapWidgetClickInteractionClickAction;
|
|
990
|
+
(function (SnapWidgetClickInteractionClickAction) {
|
|
991
|
+
SnapWidgetClickInteractionClickAction["OpenPlugWidget"] = "open_plug_widget";
|
|
992
|
+
SnapWidgetClickInteractionClickAction["OpenUrl"] = "open_url";
|
|
993
|
+
SnapWidgetClickInteractionClickAction["StartConversation"] = "start_conversation";
|
|
994
|
+
})(SnapWidgetClickInteractionClickAction = exports.SnapWidgetClickInteractionClickAction || (exports.SnapWidgetClickInteractionClickAction = {}));
|
|
995
|
+
var SnapWidgetInteractionType;
|
|
996
|
+
(function (SnapWidgetInteractionType) {
|
|
997
|
+
SnapWidgetInteractionType["Click"] = "click";
|
|
998
|
+
SnapWidgetInteractionType["EmailInput"] = "email_input";
|
|
999
|
+
})(SnapWidgetInteractionType = exports.SnapWidgetInteractionType || (exports.SnapWidgetInteractionType = {}));
|
|
962
1000
|
/** Logical grouping of snap widgets. Useful for filtering. */
|
|
963
1001
|
var SnapWidgetNamespace;
|
|
964
1002
|
(function (SnapWidgetNamespace) {
|
|
@@ -1920,7 +1958,7 @@ class Api extends HttpClient {
|
|
|
1920
1958
|
/**
|
|
1921
1959
|
* @description Creates a command.
|
|
1922
1960
|
*
|
|
1923
|
-
* @tags
|
|
1961
|
+
* @tags commands
|
|
1924
1962
|
* @name CommandsCreate
|
|
1925
1963
|
* @summary Create Command
|
|
1926
1964
|
* @request POST:/commands.create
|
|
@@ -1930,7 +1968,7 @@ class Api extends HttpClient {
|
|
|
1930
1968
|
/**
|
|
1931
1969
|
* @description Gets a command.
|
|
1932
1970
|
*
|
|
1933
|
-
* @tags
|
|
1971
|
+
* @tags commands
|
|
1934
1972
|
* @name CommandsGet
|
|
1935
1973
|
* @summary Get Command
|
|
1936
1974
|
* @request GET:/commands.get
|
|
@@ -1940,7 +1978,7 @@ class Api extends HttpClient {
|
|
|
1940
1978
|
/**
|
|
1941
1979
|
* @description Gets a command.
|
|
1942
1980
|
*
|
|
1943
|
-
* @tags
|
|
1981
|
+
* @tags commands
|
|
1944
1982
|
* @name CommandsGetPost
|
|
1945
1983
|
* @summary Get Command (POST)
|
|
1946
1984
|
* @request POST:/commands.get
|
|
@@ -1950,7 +1988,7 @@ class Api extends HttpClient {
|
|
|
1950
1988
|
/**
|
|
1951
1989
|
* @description Lists commands for a Dev organization.
|
|
1952
1990
|
*
|
|
1953
|
-
* @tags
|
|
1991
|
+
* @tags commands
|
|
1954
1992
|
* @name CommandsList
|
|
1955
1993
|
* @summary List Commands
|
|
1956
1994
|
* @request GET:/commands.list
|
|
@@ -1960,7 +1998,7 @@ class Api extends HttpClient {
|
|
|
1960
1998
|
/**
|
|
1961
1999
|
* @description Lists commands for a Dev organization.
|
|
1962
2000
|
*
|
|
1963
|
-
* @tags
|
|
2001
|
+
* @tags commands
|
|
1964
2002
|
* @name CommandsListPost
|
|
1965
2003
|
* @summary List Commands (POST)
|
|
1966
2004
|
* @request POST:/commands.list
|
|
@@ -1970,7 +2008,7 @@ class Api extends HttpClient {
|
|
|
1970
2008
|
/**
|
|
1971
2009
|
* @description Updates a command.
|
|
1972
2010
|
*
|
|
1973
|
-
* @tags
|
|
2011
|
+
* @tags commands
|
|
1974
2012
|
* @name CommandsUpdate
|
|
1975
2013
|
* @summary Update Command
|
|
1976
2014
|
* @request POST:/commands.update
|
|
@@ -2210,7 +2248,7 @@ class Api extends HttpClient {
|
|
|
2210
2248
|
/**
|
|
2211
2249
|
* @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.
|
|
2212
2250
|
*
|
|
2213
|
-
* @tags auth-
|
|
2251
|
+
* @tags auth-connections, dev-orgs
|
|
2214
2252
|
* @name DevOrgAuthConnectionsCreate
|
|
2215
2253
|
* @summary Create Dev Orgs Auth Connection
|
|
2216
2254
|
* @request POST:/dev-orgs.auth-connections.create
|
|
@@ -2220,7 +2258,7 @@ class Api extends HttpClient {
|
|
|
2220
2258
|
/**
|
|
2221
2259
|
* @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.
|
|
2222
2260
|
*
|
|
2223
|
-
* @tags auth-
|
|
2261
|
+
* @tags auth-connections, dev-orgs
|
|
2224
2262
|
* @name DevOrgAuthConnectionsDelete
|
|
2225
2263
|
* @summary Delete Dev Orgs Auth Connection
|
|
2226
2264
|
* @request POST:/dev-orgs.auth-connections.delete
|
|
@@ -2230,7 +2268,7 @@ class Api extends HttpClient {
|
|
|
2230
2268
|
/**
|
|
2231
2269
|
* @description Retrieves the details for an authentication connection.
|
|
2232
2270
|
*
|
|
2233
|
-
* @tags auth-
|
|
2271
|
+
* @tags auth-connections, dev-orgs
|
|
2234
2272
|
* @name DevOrgAuthConnectionsGet
|
|
2235
2273
|
* @summary Get Dev Orgs Auth Connection
|
|
2236
2274
|
* @request GET:/dev-orgs.auth-connections.get
|
|
@@ -2240,7 +2278,7 @@ class Api extends HttpClient {
|
|
|
2240
2278
|
/**
|
|
2241
2279
|
* @description Retrieves the details for an authentication connection.
|
|
2242
2280
|
*
|
|
2243
|
-
* @tags auth-
|
|
2281
|
+
* @tags auth-connections, dev-orgs
|
|
2244
2282
|
* @name DevOrgAuthConnectionsGetPost
|
|
2245
2283
|
* @summary Get Dev Orgs Auth Connection (POST)
|
|
2246
2284
|
* @request POST:/dev-orgs.auth-connections.get
|
|
@@ -2250,7 +2288,7 @@ class Api extends HttpClient {
|
|
|
2250
2288
|
/**
|
|
2251
2289
|
* @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.
|
|
2252
2290
|
*
|
|
2253
|
-
* @tags auth-
|
|
2291
|
+
* @tags auth-connections, dev-orgs
|
|
2254
2292
|
* @name DevOrgAuthConnectionsList
|
|
2255
2293
|
* @summary List Dev Orgs Auth Connections
|
|
2256
2294
|
* @request GET:/dev-orgs.auth-connections.list
|
|
@@ -2260,7 +2298,7 @@ class Api extends HttpClient {
|
|
|
2260
2298
|
/**
|
|
2261
2299
|
* @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.
|
|
2262
2300
|
*
|
|
2263
|
-
* @tags auth-
|
|
2301
|
+
* @tags auth-connections, dev-orgs
|
|
2264
2302
|
* @name DevOrgAuthConnectionsListPost
|
|
2265
2303
|
* @summary List Dev Orgs Auth Connections (POST)
|
|
2266
2304
|
* @request POST:/dev-orgs.auth-connections.list
|
|
@@ -2270,7 +2308,7 @@ class Api extends HttpClient {
|
|
|
2270
2308
|
/**
|
|
2271
2309
|
* @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.
|
|
2272
2310
|
*
|
|
2273
|
-
* @tags auth-
|
|
2311
|
+
* @tags auth-connections, dev-orgs
|
|
2274
2312
|
* @name DevOrgAuthConnectionsToggle
|
|
2275
2313
|
* @summary Toggle Dev Orgs Auth Connections
|
|
2276
2314
|
* @request POST:/dev-orgs.auth-connections.toggle
|
|
@@ -2280,13 +2318,33 @@ class Api extends HttpClient {
|
|
|
2280
2318
|
/**
|
|
2281
2319
|
* @description Updates an authentication connection.
|
|
2282
2320
|
*
|
|
2283
|
-
* @tags auth-
|
|
2321
|
+
* @tags auth-connections, dev-orgs
|
|
2284
2322
|
* @name DevOrgAuthConnectionsUpdate
|
|
2285
2323
|
* @summary Update Dev Orgs Auth Connection
|
|
2286
2324
|
* @request POST:/dev-orgs.auth-connections.update
|
|
2287
2325
|
* @secure
|
|
2288
2326
|
*/
|
|
2289
2327
|
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));
|
|
2328
|
+
/**
|
|
2329
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
2330
|
+
*
|
|
2331
|
+
* @tags dev-orgs
|
|
2332
|
+
* @name DevOrgsGet
|
|
2333
|
+
* @summary Get Dev Org
|
|
2334
|
+
* @request GET:/dev-orgs.get
|
|
2335
|
+
* @secure
|
|
2336
|
+
*/
|
|
2337
|
+
this.devOrgsGet = (params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'GET', secure: true, format: 'json' }, params));
|
|
2338
|
+
/**
|
|
2339
|
+
* @description Gets the Dev organization's information of the authenticated user.
|
|
2340
|
+
*
|
|
2341
|
+
* @tags dev-orgs
|
|
2342
|
+
* @name DevOrgsGetPost
|
|
2343
|
+
* @summary Get Dev Org (POST)
|
|
2344
|
+
* @request POST:/dev-orgs.get
|
|
2345
|
+
* @secure
|
|
2346
|
+
*/
|
|
2347
|
+
this.devOrgsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2290
2348
|
/**
|
|
2291
2349
|
* @description Activates the requested user.
|
|
2292
2350
|
*
|
|
@@ -2600,7 +2658,7 @@ class Api extends HttpClient {
|
|
|
2600
2658
|
/**
|
|
2601
2659
|
* @description Gets an event source.
|
|
2602
2660
|
*
|
|
2603
|
-
* @tags event-
|
|
2661
|
+
* @tags event-sources
|
|
2604
2662
|
* @name EventSourcesGet
|
|
2605
2663
|
* @summary Get Event Source
|
|
2606
2664
|
* @request GET:/event-sources.get
|
|
@@ -2610,7 +2668,7 @@ class Api extends HttpClient {
|
|
|
2610
2668
|
/**
|
|
2611
2669
|
* @description Gets an event source.
|
|
2612
2670
|
*
|
|
2613
|
-
* @tags event-
|
|
2671
|
+
* @tags event-sources
|
|
2614
2672
|
* @name EventSourcesGetPost
|
|
2615
2673
|
* @summary Get Event Source (POST)
|
|
2616
2674
|
* @request POST:/event-sources.get
|
|
@@ -2620,7 +2678,7 @@ class Api extends HttpClient {
|
|
|
2620
2678
|
/**
|
|
2621
2679
|
* @description Schedules an event to be published to the specified event source.
|
|
2622
2680
|
*
|
|
2623
|
-
* @tags event-
|
|
2681
|
+
* @tags event-sources
|
|
2624
2682
|
* @name EventSourcesScheduleEvent
|
|
2625
2683
|
* @summary Schedule Event Sources
|
|
2626
2684
|
* @request POST:/event-sources.schedule
|
|
@@ -2630,7 +2688,7 @@ class Api extends HttpClient {
|
|
|
2630
2688
|
/**
|
|
2631
2689
|
* @description Deletes an event scheduled for the specified event source.
|
|
2632
2690
|
*
|
|
2633
|
-
* @tags event-
|
|
2691
|
+
* @tags event-sources
|
|
2634
2692
|
* @name EventSourcesDeleteScheduledEvent
|
|
2635
2693
|
* @summary Unschedule Event Sources
|
|
2636
2694
|
* @request POST:/event-sources.unschedule
|
|
@@ -2740,7 +2798,7 @@ class Api extends HttpClient {
|
|
|
2740
2798
|
/**
|
|
2741
2799
|
* @description Creates an incident.
|
|
2742
2800
|
*
|
|
2743
|
-
* @tags
|
|
2801
|
+
* @tags incidents
|
|
2744
2802
|
* @name IncidentsCreate
|
|
2745
2803
|
* @summary Create Incident
|
|
2746
2804
|
* @request POST:/incidents.create
|
|
@@ -2750,7 +2808,7 @@ class Api extends HttpClient {
|
|
|
2750
2808
|
/**
|
|
2751
2809
|
* @description Deletes an incident.
|
|
2752
2810
|
*
|
|
2753
|
-
* @tags
|
|
2811
|
+
* @tags incidents
|
|
2754
2812
|
* @name IncidentsDelete
|
|
2755
2813
|
* @summary Delete Incident
|
|
2756
2814
|
* @request POST:/incidents.delete
|
|
@@ -2760,7 +2818,7 @@ class Api extends HttpClient {
|
|
|
2760
2818
|
/**
|
|
2761
2819
|
* @description Gets an incident.
|
|
2762
2820
|
*
|
|
2763
|
-
* @tags
|
|
2821
|
+
* @tags incidents
|
|
2764
2822
|
* @name IncidentsGet
|
|
2765
2823
|
* @summary Get Incident
|
|
2766
2824
|
* @request GET:/incidents.get
|
|
@@ -2770,7 +2828,7 @@ class Api extends HttpClient {
|
|
|
2770
2828
|
/**
|
|
2771
2829
|
* @description Gets an incident.
|
|
2772
2830
|
*
|
|
2773
|
-
* @tags
|
|
2831
|
+
* @tags incidents
|
|
2774
2832
|
* @name IncidentsGetPost
|
|
2775
2833
|
* @summary Get Incident (POST)
|
|
2776
2834
|
* @request POST:/incidents.get
|
|
@@ -2780,7 +2838,7 @@ class Api extends HttpClient {
|
|
|
2780
2838
|
/**
|
|
2781
2839
|
* @description Lists collections of incidents by groups.
|
|
2782
2840
|
*
|
|
2783
|
-
* @tags
|
|
2841
|
+
* @tags incidents
|
|
2784
2842
|
* @name IncidentsGroup
|
|
2785
2843
|
* @summary Group Incidents
|
|
2786
2844
|
* @request GET:/incidents.group
|
|
@@ -2790,7 +2848,7 @@ class Api extends HttpClient {
|
|
|
2790
2848
|
/**
|
|
2791
2849
|
* @description Lists collections of incidents by groups.
|
|
2792
2850
|
*
|
|
2793
|
-
* @tags
|
|
2851
|
+
* @tags incidents
|
|
2794
2852
|
* @name IncidentsGroupPost
|
|
2795
2853
|
* @summary Group Incidents (POST)
|
|
2796
2854
|
* @request POST:/incidents.group
|
|
@@ -2800,7 +2858,7 @@ class Api extends HttpClient {
|
|
|
2800
2858
|
/**
|
|
2801
2859
|
* @description Lists incidents.
|
|
2802
2860
|
*
|
|
2803
|
-
* @tags
|
|
2861
|
+
* @tags incidents
|
|
2804
2862
|
* @name IncidentsList
|
|
2805
2863
|
* @summary List Incidents
|
|
2806
2864
|
* @request GET:/incidents.list
|
|
@@ -2810,7 +2868,7 @@ class Api extends HttpClient {
|
|
|
2810
2868
|
/**
|
|
2811
2869
|
* @description Lists incidents.
|
|
2812
2870
|
*
|
|
2813
|
-
* @tags
|
|
2871
|
+
* @tags incidents
|
|
2814
2872
|
* @name IncidentsListPost
|
|
2815
2873
|
* @summary List Incidents (POST)
|
|
2816
2874
|
* @request POST:/incidents.list
|
|
@@ -2820,7 +2878,7 @@ class Api extends HttpClient {
|
|
|
2820
2878
|
/**
|
|
2821
2879
|
* @description Updates an incident.
|
|
2822
2880
|
*
|
|
2823
|
-
* @tags
|
|
2881
|
+
* @tags incidents
|
|
2824
2882
|
* @name IncidentsUpdate
|
|
2825
2883
|
* @summary Update Incident
|
|
2826
2884
|
* @request POST:/incidents.update
|
|
@@ -2830,7 +2888,7 @@ class Api extends HttpClient {
|
|
|
2830
2888
|
/**
|
|
2831
2889
|
* @description OAuth2 authorization callback.
|
|
2832
2890
|
*
|
|
2833
|
-
* @tags
|
|
2891
|
+
* @tags keyrings
|
|
2834
2892
|
* @name KeyringsCreateCallback
|
|
2835
2893
|
* @summary Authorize Keyrings
|
|
2836
2894
|
* @request GET:/keyrings.authorize
|
|
@@ -2839,7 +2897,7 @@ class Api extends HttpClient {
|
|
|
2839
2897
|
/**
|
|
2840
2898
|
* @description OAuth2 authorization callback.
|
|
2841
2899
|
*
|
|
2842
|
-
* @tags
|
|
2900
|
+
* @tags keyrings
|
|
2843
2901
|
* @name KeyringsCreateCallbackPost
|
|
2844
2902
|
* @summary Authorize Keyrings (POST)
|
|
2845
2903
|
* @request POST:/keyrings.authorize
|
|
@@ -3139,7 +3197,7 @@ class Api extends HttpClient {
|
|
|
3139
3197
|
/**
|
|
3140
3198
|
* @description Ingest endpoint for DevRev metrics data from clients.
|
|
3141
3199
|
*
|
|
3142
|
-
* @tags
|
|
3200
|
+
* @tags metrics
|
|
3143
3201
|
* @name MetricsDevrevIngest
|
|
3144
3202
|
* @summary Ingest Metrics Devrev
|
|
3145
3203
|
* @request POST:/metrics.devrev.ingest
|
|
@@ -4569,7 +4627,7 @@ class Api extends HttpClient {
|
|
|
4569
4627
|
/**
|
|
4570
4628
|
* @description Allows publishing of events (example from plug widget).
|
|
4571
4629
|
*
|
|
4572
|
-
* @tags event-
|
|
4630
|
+
* @tags event-sources
|
|
4573
4631
|
* @name TrackEventsPublish
|
|
4574
4632
|
* @summary Publish Track Events
|
|
4575
4633
|
* @request POST:/track-events.publish
|
|
@@ -4579,9 +4637,9 @@ class Api extends HttpClient {
|
|
|
4579
4637
|
/**
|
|
4580
4638
|
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
4581
4639
|
*
|
|
4582
|
-
* @tags
|
|
4640
|
+
* @tags uoms
|
|
4583
4641
|
* @name UomsCount
|
|
4584
|
-
* @summary Count
|
|
4642
|
+
* @summary Count UOMs
|
|
4585
4643
|
* @request GET:/uoms.count
|
|
4586
4644
|
* @secure
|
|
4587
4645
|
*/
|
|
@@ -4589,9 +4647,9 @@ class Api extends HttpClient {
|
|
|
4589
4647
|
/**
|
|
4590
4648
|
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
4591
4649
|
*
|
|
4592
|
-
* @tags
|
|
4650
|
+
* @tags uoms
|
|
4593
4651
|
* @name UomsCountPost
|
|
4594
|
-
* @summary Count
|
|
4652
|
+
* @summary Count UOMs (POST)
|
|
4595
4653
|
* @request POST:/uoms.count
|
|
4596
4654
|
* @secure
|
|
4597
4655
|
*/
|
|
@@ -4599,9 +4657,9 @@ class Api extends HttpClient {
|
|
|
4599
4657
|
/**
|
|
4600
4658
|
* @description Creates a Unit of Measurement on a part.
|
|
4601
4659
|
*
|
|
4602
|
-
* @tags
|
|
4660
|
+
* @tags uoms
|
|
4603
4661
|
* @name UomsCreate
|
|
4604
|
-
* @summary Create
|
|
4662
|
+
* @summary Create UOM
|
|
4605
4663
|
* @request POST:/uoms.create
|
|
4606
4664
|
* @secure
|
|
4607
4665
|
*/
|
|
@@ -4609,9 +4667,9 @@ class Api extends HttpClient {
|
|
|
4609
4667
|
/**
|
|
4610
4668
|
* @description Deletes a Unit of Measurement.
|
|
4611
4669
|
*
|
|
4612
|
-
* @tags
|
|
4670
|
+
* @tags uoms
|
|
4613
4671
|
* @name UomsDelete
|
|
4614
|
-
* @summary Delete
|
|
4672
|
+
* @summary Delete UOM
|
|
4615
4673
|
* @request POST:/uoms.delete
|
|
4616
4674
|
* @secure
|
|
4617
4675
|
*/
|
|
@@ -4619,9 +4677,9 @@ class Api extends HttpClient {
|
|
|
4619
4677
|
/**
|
|
4620
4678
|
* @description Gets a Unit of Measurement.
|
|
4621
4679
|
*
|
|
4622
|
-
* @tags
|
|
4680
|
+
* @tags uoms
|
|
4623
4681
|
* @name UomsGet
|
|
4624
|
-
* @summary Get
|
|
4682
|
+
* @summary Get UOM
|
|
4625
4683
|
* @request GET:/uoms.get
|
|
4626
4684
|
* @secure
|
|
4627
4685
|
*/
|
|
@@ -4629,9 +4687,9 @@ class Api extends HttpClient {
|
|
|
4629
4687
|
/**
|
|
4630
4688
|
* @description Gets a Unit of Measurement.
|
|
4631
4689
|
*
|
|
4632
|
-
* @tags
|
|
4690
|
+
* @tags uoms
|
|
4633
4691
|
* @name UomsGetPost
|
|
4634
|
-
* @summary Get
|
|
4692
|
+
* @summary Get UOM (POST)
|
|
4635
4693
|
* @request POST:/uoms.get
|
|
4636
4694
|
* @secure
|
|
4637
4695
|
*/
|
|
@@ -4639,9 +4697,9 @@ class Api extends HttpClient {
|
|
|
4639
4697
|
/**
|
|
4640
4698
|
* @description Gets the Unit of Measurements based on the given filters.
|
|
4641
4699
|
*
|
|
4642
|
-
* @tags
|
|
4700
|
+
* @tags uoms
|
|
4643
4701
|
* @name UomsList
|
|
4644
|
-
* @summary List
|
|
4702
|
+
* @summary List UOMs
|
|
4645
4703
|
* @request GET:/uoms.list
|
|
4646
4704
|
* @secure
|
|
4647
4705
|
*/
|
|
@@ -4649,9 +4707,9 @@ class Api extends HttpClient {
|
|
|
4649
4707
|
/**
|
|
4650
4708
|
* @description Gets the Unit of Measurements based on the given filters.
|
|
4651
4709
|
*
|
|
4652
|
-
* @tags
|
|
4710
|
+
* @tags uoms
|
|
4653
4711
|
* @name UomsListPost
|
|
4654
|
-
* @summary List
|
|
4712
|
+
* @summary List UOMs (POST)
|
|
4655
4713
|
* @request POST:/uoms.list
|
|
4656
4714
|
* @secure
|
|
4657
4715
|
*/
|
|
@@ -4659,9 +4717,9 @@ class Api extends HttpClient {
|
|
|
4659
4717
|
/**
|
|
4660
4718
|
* @description Updates a Unit of Measurement.
|
|
4661
4719
|
*
|
|
4662
|
-
* @tags
|
|
4720
|
+
* @tags uoms
|
|
4663
4721
|
* @name UomsUpdate
|
|
4664
|
-
* @summary Update
|
|
4722
|
+
* @summary Update UOM
|
|
4665
4723
|
* @request POST:/uoms.update
|
|
4666
4724
|
* @secure
|
|
4667
4725
|
*/
|