@devrev/typescript-sdk 1.1.23 → 1.1.24
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,8 @@ 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.
|
|
37
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = 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.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = void 0;
|
|
36
|
+
exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = 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.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CodeChangeSource = 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.Api = exports.HttpClient = exports.ContentType = 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.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = void 0;
|
|
38
38
|
var AccessLevel;
|
|
39
39
|
(function (AccessLevel) {
|
|
40
40
|
AccessLevel["External"] = "external";
|
|
@@ -137,8 +137,10 @@ var AuthTokenGrantType;
|
|
|
137
137
|
var AuthTokenRequestedTokenType;
|
|
138
138
|
(function (AuthTokenRequestedTokenType) {
|
|
139
139
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAat"] = "urn:devrev:params:oauth:token-type:aat";
|
|
140
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatActAs"] = "urn:devrev:params:oauth:token-type:aat:act-as";
|
|
140
141
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatPublic"] = "urn:devrev:params:oauth:token-type:aat:public";
|
|
141
142
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDev"] = "urn:devrev:params:oauth:token-type:dev";
|
|
143
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDevConnect"] = "urn:devrev:params:oauth:token-type:dev:connect";
|
|
142
144
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeGat"] = "urn:devrev:params:oauth:token-type:gat";
|
|
143
145
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePat"] = "urn:devrev:params:oauth:token-type:pat";
|
|
144
146
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePatActAs"] = "urn:devrev:params:oauth:token-type:pat:act-as";
|
|
@@ -198,6 +200,10 @@ var CustomSchemaFragmentType;
|
|
|
198
200
|
CustomSchemaFragmentType["CustomTypeFragment"] = "custom_type_fragment";
|
|
199
201
|
CustomSchemaFragmentType["TenantFragment"] = "tenant_fragment";
|
|
200
202
|
})(CustomSchemaFragmentType = exports.CustomSchemaFragmentType || (exports.CustomSchemaFragmentType = {}));
|
|
203
|
+
var CustomSchemaFragmentsListRequestPrune;
|
|
204
|
+
(function (CustomSchemaFragmentsListRequestPrune) {
|
|
205
|
+
CustomSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
206
|
+
})(CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentsListRequestPrune || (exports.CustomSchemaFragmentsListRequestPrune = {}));
|
|
201
207
|
var CustomSchemaFragmentsSetRequestType;
|
|
202
208
|
(function (CustomSchemaFragmentsSetRequestType) {
|
|
203
209
|
CustomSchemaFragmentsSetRequestType["AppFragment"] = "app_fragment";
|
|
@@ -270,8 +276,22 @@ var ErrorBadRequestType;
|
|
|
270
276
|
ErrorBadRequestType["MissingRequiredField"] = "missing_required_field";
|
|
271
277
|
ErrorBadRequestType["ParseError"] = "parse_error";
|
|
272
278
|
ErrorBadRequestType["StaleSchemaFragments"] = "stale_schema_fragments";
|
|
279
|
+
ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
|
|
273
280
|
ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
|
|
274
281
|
})(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
|
|
282
|
+
var ErrorBadRequestUnexpectedJsonTypeType;
|
|
283
|
+
(function (ErrorBadRequestUnexpectedJsonTypeType) {
|
|
284
|
+
ErrorBadRequestUnexpectedJsonTypeType["Array"] = "array";
|
|
285
|
+
ErrorBadRequestUnexpectedJsonTypeType["Bool"] = "bool";
|
|
286
|
+
ErrorBadRequestUnexpectedJsonTypeType["Null"] = "null";
|
|
287
|
+
ErrorBadRequestUnexpectedJsonTypeType["Number"] = "number";
|
|
288
|
+
ErrorBadRequestUnexpectedJsonTypeType["Object"] = "object";
|
|
289
|
+
ErrorBadRequestUnexpectedJsonTypeType["String"] = "string";
|
|
290
|
+
})(ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestUnexpectedJsonTypeType || (exports.ErrorBadRequestUnexpectedJsonTypeType = {}));
|
|
291
|
+
var ErrorConflictType;
|
|
292
|
+
(function (ErrorConflictType) {
|
|
293
|
+
ErrorConflictType["Conflict"] = "conflict";
|
|
294
|
+
})(ErrorConflictType = exports.ErrorConflictType || (exports.ErrorConflictType = {}));
|
|
275
295
|
var ErrorForbiddenType;
|
|
276
296
|
(function (ErrorForbiddenType) {
|
|
277
297
|
ErrorForbiddenType["Forbidden"] = "forbidden";
|
|
@@ -318,6 +338,13 @@ var GroupType;
|
|
|
318
338
|
GroupType["Dynamic"] = "dynamic";
|
|
319
339
|
GroupType["Static"] = "static";
|
|
320
340
|
})(GroupType = exports.GroupType || (exports.GroupType = {}));
|
|
341
|
+
/** Denotes the use case of the grouped vista. */
|
|
342
|
+
var GroupedVistaFlavor;
|
|
343
|
+
(function (GroupedVistaFlavor) {
|
|
344
|
+
GroupedVistaFlavor["Nnl"] = "nnl";
|
|
345
|
+
GroupedVistaFlavor["SprintBoard"] = "sprint_board";
|
|
346
|
+
GroupedVistaFlavor["SupportInbox"] = "support_inbox";
|
|
347
|
+
})(GroupedVistaFlavor = exports.GroupedVistaFlavor || (exports.GroupedVistaFlavor = {}));
|
|
321
348
|
/** Priority of the work based upon impact and criticality. */
|
|
322
349
|
var IssuePriority;
|
|
323
350
|
(function (IssuePriority) {
|
|
@@ -454,6 +481,14 @@ var PartType;
|
|
|
454
481
|
PartType["Feature"] = "feature";
|
|
455
482
|
PartType["Product"] = "product";
|
|
456
483
|
})(PartType = exports.PartType || (exports.PartType = {}));
|
|
484
|
+
/** Status of the question answer. */
|
|
485
|
+
var QuestionAnswerStatus;
|
|
486
|
+
(function (QuestionAnswerStatus) {
|
|
487
|
+
QuestionAnswerStatus["Archived"] = "archived";
|
|
488
|
+
QuestionAnswerStatus["Draft"] = "draft";
|
|
489
|
+
QuestionAnswerStatus["Published"] = "published";
|
|
490
|
+
QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
|
|
491
|
+
})(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
|
|
457
492
|
var SchemaFieldDescriptorArrayTypeBaseType;
|
|
458
493
|
(function (SchemaFieldDescriptorArrayTypeBaseType) {
|
|
459
494
|
SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
|
|
@@ -486,6 +521,70 @@ var SchemaFieldDescriptorFieldType;
|
|
|
486
521
|
SchemaFieldDescriptorFieldType["Uenum"] = "uenum";
|
|
487
522
|
SchemaFieldDescriptorFieldType["Unknown"] = "unknown";
|
|
488
523
|
})(SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorFieldType || (exports.SchemaFieldDescriptorFieldType = {}));
|
|
524
|
+
/** The namespaces to search in. */
|
|
525
|
+
var SearchNamespace;
|
|
526
|
+
(function (SearchNamespace) {
|
|
527
|
+
SearchNamespace["Account"] = "account";
|
|
528
|
+
SearchNamespace["Article"] = "article";
|
|
529
|
+
SearchNamespace["Capability"] = "capability";
|
|
530
|
+
SearchNamespace["Component"] = "component";
|
|
531
|
+
SearchNamespace["Conversation"] = "conversation";
|
|
532
|
+
SearchNamespace["CustomPart"] = "custom_part";
|
|
533
|
+
SearchNamespace["CustomWork"] = "custom_work";
|
|
534
|
+
SearchNamespace["Dashboard"] = "dashboard";
|
|
535
|
+
SearchNamespace["DevUser"] = "dev_user";
|
|
536
|
+
SearchNamespace["Enhancement"] = "enhancement";
|
|
537
|
+
SearchNamespace["Feature"] = "feature";
|
|
538
|
+
SearchNamespace["Group"] = "group";
|
|
539
|
+
SearchNamespace["Issue"] = "issue";
|
|
540
|
+
SearchNamespace["Linkable"] = "linkable";
|
|
541
|
+
SearchNamespace["Microservice"] = "microservice";
|
|
542
|
+
SearchNamespace["ObjectMember"] = "object_member";
|
|
543
|
+
SearchNamespace["Opportunity"] = "opportunity";
|
|
544
|
+
SearchNamespace["Product"] = "product";
|
|
545
|
+
SearchNamespace["Project"] = "project";
|
|
546
|
+
SearchNamespace["QuestionAnswer"] = "question_answer";
|
|
547
|
+
SearchNamespace["RevOrg"] = "rev_org";
|
|
548
|
+
SearchNamespace["RevUser"] = "rev_user";
|
|
549
|
+
SearchNamespace["Runnable"] = "runnable";
|
|
550
|
+
SearchNamespace["ServiceAccount"] = "service_account";
|
|
551
|
+
SearchNamespace["SysUser"] = "sys_user";
|
|
552
|
+
SearchNamespace["Tag"] = "tag";
|
|
553
|
+
SearchNamespace["Task"] = "task";
|
|
554
|
+
SearchNamespace["Ticket"] = "ticket";
|
|
555
|
+
SearchNamespace["Vista"] = "vista";
|
|
556
|
+
})(SearchNamespace = exports.SearchNamespace || (exports.SearchNamespace = {}));
|
|
557
|
+
var SearchResultType;
|
|
558
|
+
(function (SearchResultType) {
|
|
559
|
+
SearchResultType["Account"] = "account";
|
|
560
|
+
SearchResultType["Article"] = "article";
|
|
561
|
+
SearchResultType["Artifact"] = "artifact";
|
|
562
|
+
SearchResultType["Conversation"] = "conversation";
|
|
563
|
+
SearchResultType["Dashboard"] = "dashboard";
|
|
564
|
+
SearchResultType["Group"] = "group";
|
|
565
|
+
SearchResultType["Link"] = "link";
|
|
566
|
+
SearchResultType["ObjectMember"] = "object_member";
|
|
567
|
+
SearchResultType["Org"] = "org";
|
|
568
|
+
SearchResultType["Part"] = "part";
|
|
569
|
+
SearchResultType["QuestionAnswer"] = "question_answer";
|
|
570
|
+
SearchResultType["Tag"] = "tag";
|
|
571
|
+
SearchResultType["User"] = "user";
|
|
572
|
+
SearchResultType["Vista"] = "vista";
|
|
573
|
+
SearchResultType["Work"] = "work";
|
|
574
|
+
})(SearchResultType = exports.SearchResultType || (exports.SearchResultType = {}));
|
|
575
|
+
/** Search sort by parameters. */
|
|
576
|
+
var SearchSortByParam;
|
|
577
|
+
(function (SearchSortByParam) {
|
|
578
|
+
SearchSortByParam["CreatedDate"] = "created_date";
|
|
579
|
+
SearchSortByParam["ModifiedDate"] = "modified_date";
|
|
580
|
+
SearchSortByParam["Relevance"] = "relevance";
|
|
581
|
+
})(SearchSortByParam = exports.SearchSortByParam || (exports.SearchSortByParam = {}));
|
|
582
|
+
/** Search sort order parameters. */
|
|
583
|
+
var SearchSortOrderParam;
|
|
584
|
+
(function (SearchSortOrderParam) {
|
|
585
|
+
SearchSortOrderParam["Asc"] = "asc";
|
|
586
|
+
SearchSortOrderParam["Desc"] = "desc";
|
|
587
|
+
})(SearchSortOrderParam = exports.SearchSortOrderParam || (exports.SearchSortOrderParam = {}));
|
|
489
588
|
/**
|
|
490
589
|
* Specifies the frequency of when the contractually-meaningful evaluation
|
|
491
590
|
* of the SLA happens. The organization for their own information might
|
|
@@ -545,6 +644,49 @@ var SlaSummaryStage;
|
|
|
545
644
|
SlaSummaryStage["Running"] = "running";
|
|
546
645
|
SlaSummaryStage["Warning"] = "warning";
|
|
547
646
|
})(SlaSummaryStage = exports.SlaSummaryStage || (exports.SlaSummaryStage = {}));
|
|
647
|
+
/** Logical grouping of snap widgets. Useful for filtering. */
|
|
648
|
+
var SnapWidgetNamespace;
|
|
649
|
+
(function (SnapWidgetNamespace) {
|
|
650
|
+
SnapWidgetNamespace["EmailPreview"] = "email_preview";
|
|
651
|
+
SnapWidgetNamespace["LinkPreview"] = "link_preview";
|
|
652
|
+
SnapWidgetNamespace["PlugNudge"] = "plug_nudge";
|
|
653
|
+
})(SnapWidgetNamespace = exports.SnapWidgetNamespace || (exports.SnapWidgetNamespace = {}));
|
|
654
|
+
/** The status of the snap widget. */
|
|
655
|
+
var SnapWidgetStatus;
|
|
656
|
+
(function (SnapWidgetStatus) {
|
|
657
|
+
SnapWidgetStatus["Draft"] = "draft";
|
|
658
|
+
SnapWidgetStatus["Published"] = "published";
|
|
659
|
+
})(SnapWidgetStatus = exports.SnapWidgetStatus || (exports.SnapWidgetStatus = {}));
|
|
660
|
+
var SnapWidgetType;
|
|
661
|
+
(function (SnapWidgetType) {
|
|
662
|
+
SnapWidgetType["EmailPreview"] = "email_preview";
|
|
663
|
+
})(SnapWidgetType = exports.SnapWidgetType || (exports.SnapWidgetType = {}));
|
|
664
|
+
var SnapWidgetsCreateRequestType;
|
|
665
|
+
(function (SnapWidgetsCreateRequestType) {
|
|
666
|
+
SnapWidgetsCreateRequestType["EmailPreview"] = "email_preview";
|
|
667
|
+
})(SnapWidgetsCreateRequestType = exports.SnapWidgetsCreateRequestType || (exports.SnapWidgetsCreateRequestType = {}));
|
|
668
|
+
var StockSchemaFragmentsListRequestFilterPreset;
|
|
669
|
+
(function (StockSchemaFragmentsListRequestFilterPreset) {
|
|
670
|
+
StockSchemaFragmentsListRequestFilterPreset["CustomizableTypesPreset"] = "customizable_types_preset";
|
|
671
|
+
StockSchemaFragmentsListRequestFilterPreset["NoPreset"] = "no_preset";
|
|
672
|
+
})(StockSchemaFragmentsListRequestFilterPreset = exports.StockSchemaFragmentsListRequestFilterPreset || (exports.StockSchemaFragmentsListRequestFilterPreset = {}));
|
|
673
|
+
var StockSchemaFragmentsListRequestPrune;
|
|
674
|
+
(function (StockSchemaFragmentsListRequestPrune) {
|
|
675
|
+
StockSchemaFragmentsListRequestPrune["CompositeSchemas"] = "composite_schemas";
|
|
676
|
+
StockSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
677
|
+
})(StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestPrune || (exports.StockSchemaFragmentsListRequestPrune = {}));
|
|
678
|
+
var SyncMetadataFilterSyncInFilterStatus;
|
|
679
|
+
(function (SyncMetadataFilterSyncInFilterStatus) {
|
|
680
|
+
SyncMetadataFilterSyncInFilterStatus["Failed"] = "failed";
|
|
681
|
+
SyncMetadataFilterSyncInFilterStatus["Modified"] = "modified";
|
|
682
|
+
SyncMetadataFilterSyncInFilterStatus["Staged"] = "staged";
|
|
683
|
+
SyncMetadataFilterSyncInFilterStatus["Succeeded"] = "succeeded";
|
|
684
|
+
})(SyncMetadataFilterSyncInFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus || (exports.SyncMetadataFilterSyncInFilterStatus = {}));
|
|
685
|
+
var SyncMetadataFilterSyncOutFilterStatus;
|
|
686
|
+
(function (SyncMetadataFilterSyncOutFilterStatus) {
|
|
687
|
+
SyncMetadataFilterSyncOutFilterStatus["Failed"] = "failed";
|
|
688
|
+
SyncMetadataFilterSyncOutFilterStatus["Succeeded"] = "succeeded";
|
|
689
|
+
})(SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncOutFilterStatus || (exports.SyncMetadataFilterSyncOutFilterStatus = {}));
|
|
548
690
|
/** Priority of the work based upon impact and criticality. */
|
|
549
691
|
var TaskPriority;
|
|
550
692
|
(function (TaskPriority) {
|
|
@@ -661,6 +803,13 @@ var UserType;
|
|
|
661
803
|
UserType["ServiceAccount"] = "service_account";
|
|
662
804
|
UserType["SysUser"] = "sys_user";
|
|
663
805
|
})(UserType = exports.UserType || (exports.UserType = {}));
|
|
806
|
+
/** Type of vista object. */
|
|
807
|
+
var VistaType;
|
|
808
|
+
(function (VistaType) {
|
|
809
|
+
VistaType["Curated"] = "curated";
|
|
810
|
+
VistaType["Dynamic"] = "dynamic";
|
|
811
|
+
VistaType["Grouped"] = "grouped";
|
|
812
|
+
})(VistaType = exports.VistaType || (exports.VistaType = {}));
|
|
664
813
|
/** The event types that the webhook will receive. */
|
|
665
814
|
var WebhookEventType;
|
|
666
815
|
(function (WebhookEventType) {
|
|
@@ -682,6 +831,9 @@ var WebhookEventType;
|
|
|
682
831
|
WebhookEventType["RevUserCreated"] = "rev_user_created";
|
|
683
832
|
WebhookEventType["RevUserDeleted"] = "rev_user_deleted";
|
|
684
833
|
WebhookEventType["RevUserUpdated"] = "rev_user_updated";
|
|
834
|
+
WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
|
|
835
|
+
WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
|
|
836
|
+
WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
|
|
685
837
|
WebhookEventType["TagCreated"] = "tag_created";
|
|
686
838
|
WebhookEventType["TagDeleted"] = "tag_deleted";
|
|
687
839
|
WebhookEventType["TagUpdated"] = "tag_updated";
|
|
@@ -1104,63 +1256,63 @@ class Api extends HttpClient {
|
|
|
1104
1256
|
*/
|
|
1105
1257
|
this.authTokensUpdate = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1106
1258
|
/**
|
|
1107
|
-
* @description
|
|
1259
|
+
* @description Creates a code change object.
|
|
1108
1260
|
*
|
|
1109
|
-
* @tags
|
|
1261
|
+
* @tags code-changes
|
|
1110
1262
|
* @name CodeChangesCreate
|
|
1111
1263
|
* @request POST:/code-changes.create
|
|
1112
1264
|
* @secure
|
|
1113
1265
|
*/
|
|
1114
1266
|
this.codeChangesCreate = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1115
1267
|
/**
|
|
1116
|
-
* @description
|
|
1268
|
+
* @description Deletes a code change object.
|
|
1117
1269
|
*
|
|
1118
|
-
* @tags
|
|
1270
|
+
* @tags code-changes
|
|
1119
1271
|
* @name CodeChangesDelete
|
|
1120
1272
|
* @request POST:/code-changes.delete
|
|
1121
1273
|
* @secure
|
|
1122
1274
|
*/
|
|
1123
1275
|
this.codeChangesDelete = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1124
1276
|
/**
|
|
1125
|
-
* @description
|
|
1277
|
+
* @description Gets a code change object.
|
|
1126
1278
|
*
|
|
1127
|
-
* @tags
|
|
1279
|
+
* @tags code-changes
|
|
1128
1280
|
* @name CodeChangesGet
|
|
1129
1281
|
* @request GET:/code-changes.get
|
|
1130
1282
|
* @secure
|
|
1131
1283
|
*/
|
|
1132
1284
|
this.codeChangesGet = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1133
1285
|
/**
|
|
1134
|
-
* @description
|
|
1286
|
+
* @description Gets a code change object.
|
|
1135
1287
|
*
|
|
1136
|
-
* @tags
|
|
1288
|
+
* @tags code-changes
|
|
1137
1289
|
* @name CodeChangesGetPost
|
|
1138
1290
|
* @request POST:/code-changes.get
|
|
1139
1291
|
* @secure
|
|
1140
1292
|
*/
|
|
1141
1293
|
this.codeChangesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1142
1294
|
/**
|
|
1143
|
-
* @description
|
|
1295
|
+
* @description Lists code change objects.
|
|
1144
1296
|
*
|
|
1145
|
-
* @tags
|
|
1297
|
+
* @tags code-changes
|
|
1146
1298
|
* @name CodeChangesList
|
|
1147
1299
|
* @request GET:/code-changes.list
|
|
1148
1300
|
* @secure
|
|
1149
1301
|
*/
|
|
1150
1302
|
this.codeChangesList = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1151
1303
|
/**
|
|
1152
|
-
* @description
|
|
1304
|
+
* @description Lists code change objects.
|
|
1153
1305
|
*
|
|
1154
|
-
* @tags
|
|
1306
|
+
* @tags code-changes
|
|
1155
1307
|
* @name CodeChangesListPost
|
|
1156
1308
|
* @request POST:/code-changes.list
|
|
1157
1309
|
* @secure
|
|
1158
1310
|
*/
|
|
1159
1311
|
this.codeChangesListPost = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1160
1312
|
/**
|
|
1161
|
-
* @description
|
|
1313
|
+
* @description Updates a code change object.
|
|
1162
1314
|
*
|
|
1163
|
-
* @tags
|
|
1315
|
+
* @tags code-changes
|
|
1164
1316
|
* @name CodeChangesUpdate
|
|
1165
1317
|
* @request POST:/code-changes.update
|
|
1166
1318
|
* @secure
|
|
@@ -1832,6 +1984,69 @@ class Api extends HttpClient {
|
|
|
1832
1984
|
* @secure
|
|
1833
1985
|
*/
|
|
1834
1986
|
this.partsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/parts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1987
|
+
/**
|
|
1988
|
+
* @description Creates a question-answer.
|
|
1989
|
+
*
|
|
1990
|
+
* @tags question-answers
|
|
1991
|
+
* @name CreateQuestionAnswer
|
|
1992
|
+
* @request POST:/question-answers.create
|
|
1993
|
+
* @secure
|
|
1994
|
+
*/
|
|
1995
|
+
this.createQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1996
|
+
/**
|
|
1997
|
+
* @description Deletes a question-answer.
|
|
1998
|
+
*
|
|
1999
|
+
* @tags question-answers
|
|
2000
|
+
* @name DeleteQuestionAnswer
|
|
2001
|
+
* @request POST:/question-answers.delete
|
|
2002
|
+
* @secure
|
|
2003
|
+
*/
|
|
2004
|
+
this.deleteQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
|
|
2005
|
+
/**
|
|
2006
|
+
* @description Gets a question-answer.
|
|
2007
|
+
*
|
|
2008
|
+
* @tags question-answers
|
|
2009
|
+
* @name GetQuestionAnswer
|
|
2010
|
+
* @request GET:/question-answers.get
|
|
2011
|
+
* @secure
|
|
2012
|
+
*/
|
|
2013
|
+
this.getQuestionAnswer = (query, params = {}) => this.request(Object.assign({ path: `/question-answers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2014
|
+
/**
|
|
2015
|
+
* @description Gets a question-answer.
|
|
2016
|
+
*
|
|
2017
|
+
* @tags question-answers
|
|
2018
|
+
* @name GetQuestionAnswerPost
|
|
2019
|
+
* @request POST:/question-answers.get
|
|
2020
|
+
* @secure
|
|
2021
|
+
*/
|
|
2022
|
+
this.getQuestionAnswerPost = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2023
|
+
/**
|
|
2024
|
+
* @description Lists a collection of question-answers.
|
|
2025
|
+
*
|
|
2026
|
+
* @tags question-answers
|
|
2027
|
+
* @name ListQuestionAnswers
|
|
2028
|
+
* @request GET:/question-answers.list
|
|
2029
|
+
* @secure
|
|
2030
|
+
*/
|
|
2031
|
+
this.listQuestionAnswers = (query, params = {}) => this.request(Object.assign({ path: `/question-answers.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2032
|
+
/**
|
|
2033
|
+
* @description Lists a collection of question-answers.
|
|
2034
|
+
*
|
|
2035
|
+
* @tags question-answers
|
|
2036
|
+
* @name ListQuestionAnswersPost
|
|
2037
|
+
* @request POST:/question-answers.list
|
|
2038
|
+
* @secure
|
|
2039
|
+
*/
|
|
2040
|
+
this.listQuestionAnswersPost = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2041
|
+
/**
|
|
2042
|
+
* @description Updates a question-answer.
|
|
2043
|
+
*
|
|
2044
|
+
* @tags question-answers
|
|
2045
|
+
* @name UpdateQuestionAnswer
|
|
2046
|
+
* @request POST:/question-answers.update
|
|
2047
|
+
* @secure
|
|
2048
|
+
*/
|
|
2049
|
+
this.updateQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1835
2050
|
/**
|
|
1836
2051
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
1837
2052
|
*
|
|
@@ -2093,6 +2308,24 @@ class Api extends HttpClient {
|
|
|
2093
2308
|
* @secure
|
|
2094
2309
|
*/
|
|
2095
2310
|
this.subtypesListPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.subtypes.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2311
|
+
/**
|
|
2312
|
+
* @description Searches for records based on a given query.
|
|
2313
|
+
*
|
|
2314
|
+
* @tags search
|
|
2315
|
+
* @name SearchCore
|
|
2316
|
+
* @request GET:/search.core
|
|
2317
|
+
* @secure
|
|
2318
|
+
*/
|
|
2319
|
+
this.searchCore = (query, params = {}) => this.request(Object.assign({ path: `/search.core`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2320
|
+
/**
|
|
2321
|
+
* @description Searches for records based on a given query.
|
|
2322
|
+
*
|
|
2323
|
+
* @tags search
|
|
2324
|
+
* @name SearchCorePost
|
|
2325
|
+
* @request POST:/search.core
|
|
2326
|
+
* @secure
|
|
2327
|
+
*/
|
|
2328
|
+
this.searchCorePost = (data, params = {}) => this.request(Object.assign({ path: `/search.core`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2096
2329
|
/**
|
|
2097
2330
|
* @description Gets a service account.
|
|
2098
2331
|
*
|
|
@@ -2111,6 +2344,24 @@ class Api extends HttpClient {
|
|
|
2111
2344
|
* @secure
|
|
2112
2345
|
*/
|
|
2113
2346
|
this.serviceAccountsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2347
|
+
/**
|
|
2348
|
+
* @description Gets an SLA tracker.
|
|
2349
|
+
*
|
|
2350
|
+
* @tags slas
|
|
2351
|
+
* @name SlaTrackersGet
|
|
2352
|
+
* @request GET:/sla-trackers.get
|
|
2353
|
+
* @secure
|
|
2354
|
+
*/
|
|
2355
|
+
this.slaTrackersGet = (query, params = {}) => this.request(Object.assign({ path: `/sla-trackers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2356
|
+
/**
|
|
2357
|
+
* @description Gets an SLA tracker.
|
|
2358
|
+
*
|
|
2359
|
+
* @tags slas
|
|
2360
|
+
* @name SlaTrackersGetPost
|
|
2361
|
+
* @request POST:/sla-trackers.get
|
|
2362
|
+
* @secure
|
|
2363
|
+
*/
|
|
2364
|
+
this.slaTrackersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/sla-trackers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2114
2365
|
/**
|
|
2115
2366
|
* @description Assigns the SLA to a set of Rev organizations.
|
|
2116
2367
|
*
|
|
@@ -2201,6 +2452,87 @@ class Api extends HttpClient {
|
|
|
2201
2452
|
* @secure
|
|
2202
2453
|
*/
|
|
2203
2454
|
this.snapInsResourcesPost = (data, params = {}) => this.request(Object.assign({ path: `/snap-ins.resources`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2455
|
+
/**
|
|
2456
|
+
* @description Create a snap widget object.
|
|
2457
|
+
*
|
|
2458
|
+
* @tags snap-widgets
|
|
2459
|
+
* @name SnapWidgetsCreate
|
|
2460
|
+
* @request POST:/snap-widgets.create
|
|
2461
|
+
* @secure
|
|
2462
|
+
*/
|
|
2463
|
+
this.snapWidgetsCreate = (data, params = {}) => this.request(Object.assign({ path: `/snap-widgets.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2464
|
+
/**
|
|
2465
|
+
* @description Creates a schema for survey, which includes name and description of schema.
|
|
2466
|
+
*
|
|
2467
|
+
* @tags surveys
|
|
2468
|
+
* @name SurveysCreate
|
|
2469
|
+
* @request POST:/surveys.create
|
|
2470
|
+
* @secure
|
|
2471
|
+
*/
|
|
2472
|
+
this.surveysCreate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2473
|
+
/**
|
|
2474
|
+
* @description Deletes the specified survey.
|
|
2475
|
+
*
|
|
2476
|
+
* @tags surveys
|
|
2477
|
+
* @name SurveysDelete
|
|
2478
|
+
* @request POST:/surveys.delete
|
|
2479
|
+
* @secure
|
|
2480
|
+
*/
|
|
2481
|
+
this.surveysDelete = (data, params = {}) => this.request(Object.assign({ path: `/surveys.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2482
|
+
/**
|
|
2483
|
+
* @description List surveys requested by the user.
|
|
2484
|
+
*
|
|
2485
|
+
* @tags surveys
|
|
2486
|
+
* @name SurveysList
|
|
2487
|
+
* @request GET:/surveys.list
|
|
2488
|
+
* @secure
|
|
2489
|
+
*/
|
|
2490
|
+
this.surveysList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2491
|
+
/**
|
|
2492
|
+
* @description List surveys requested by the user.
|
|
2493
|
+
*
|
|
2494
|
+
* @tags surveys
|
|
2495
|
+
* @name SurveysListPost
|
|
2496
|
+
* @request POST:/surveys.list
|
|
2497
|
+
* @secure
|
|
2498
|
+
*/
|
|
2499
|
+
this.surveysListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2500
|
+
/**
|
|
2501
|
+
* @description List survey responses requested by the user.
|
|
2502
|
+
*
|
|
2503
|
+
* @tags surveys
|
|
2504
|
+
* @name SurveysResponsesList
|
|
2505
|
+
* @request GET:/surveys.responses.list
|
|
2506
|
+
* @secure
|
|
2507
|
+
*/
|
|
2508
|
+
this.surveysResponsesList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2509
|
+
/**
|
|
2510
|
+
* @description List survey responses requested by the user.
|
|
2511
|
+
*
|
|
2512
|
+
* @tags surveys
|
|
2513
|
+
* @name SurveysResponsesListPost
|
|
2514
|
+
* @request POST:/surveys.responses.list
|
|
2515
|
+
* @secure
|
|
2516
|
+
*/
|
|
2517
|
+
this.surveysResponsesListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2518
|
+
/**
|
|
2519
|
+
* @description Sends a survey on the specified channels.
|
|
2520
|
+
*
|
|
2521
|
+
* @tags surveys
|
|
2522
|
+
* @name SurveysSend
|
|
2523
|
+
* @request POST:/surveys.send
|
|
2524
|
+
* @secure
|
|
2525
|
+
*/
|
|
2526
|
+
this.surveysSend = (data, params = {}) => this.request(Object.assign({ path: `/surveys.send`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2527
|
+
/**
|
|
2528
|
+
* @description Submits a user response to a survey, which is defined by the survey ID.
|
|
2529
|
+
*
|
|
2530
|
+
* @tags surveys
|
|
2531
|
+
* @name SurveysSubmit
|
|
2532
|
+
* @request POST:/surveys.submit
|
|
2533
|
+
* @secure
|
|
2534
|
+
*/
|
|
2535
|
+
this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2204
2536
|
/**
|
|
2205
2537
|
* @description Lists system users within your organization.
|
|
2206
2538
|
*
|
|
@@ -2354,6 +2686,33 @@ class Api extends HttpClient {
|
|
|
2354
2686
|
* @secure
|
|
2355
2687
|
*/
|
|
2356
2688
|
this.timelineEntriesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/timeline-entries.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2689
|
+
/**
|
|
2690
|
+
* @description Allows publishing of events (example from plug widget).
|
|
2691
|
+
*
|
|
2692
|
+
* @tags event-source
|
|
2693
|
+
* @name TrackEventsPublish
|
|
2694
|
+
* @request POST:/track-events.publish
|
|
2695
|
+
* @secure
|
|
2696
|
+
*/
|
|
2697
|
+
this.trackEventsPublish = (data, params = {}) => this.request(Object.assign({ path: `/track-events.publish`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2698
|
+
/**
|
|
2699
|
+
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
2700
|
+
*
|
|
2701
|
+
* @tags product-usage
|
|
2702
|
+
* @name UomsCount
|
|
2703
|
+
* @request GET:/uoms.count
|
|
2704
|
+
* @secure
|
|
2705
|
+
*/
|
|
2706
|
+
this.uomsCount = (query, params = {}) => this.request(Object.assign({ path: `/uoms.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2707
|
+
/**
|
|
2708
|
+
* @description Counts the number of Unit of Measurements based on the given filters.
|
|
2709
|
+
*
|
|
2710
|
+
* @tags product-usage
|
|
2711
|
+
* @name UomsCountPost
|
|
2712
|
+
* @request POST:/uoms.count
|
|
2713
|
+
* @secure
|
|
2714
|
+
*/
|
|
2715
|
+
this.uomsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/uoms.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2357
2716
|
/**
|
|
2358
2717
|
* @description Creates a Unit of Measurement on a part.
|
|
2359
2718
|
*
|