@devrev/typescript-sdk 1.1.22 → 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.TaskPriority = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = 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";
|
|
@@ -84,6 +84,32 @@ var ArticleStatus;
|
|
|
84
84
|
ArticleStatus["Published"] = "published";
|
|
85
85
|
ArticleStatus["ReviewNeeded"] = "review_needed";
|
|
86
86
|
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
87
|
+
var AtomType;
|
|
88
|
+
(function (AtomType) {
|
|
89
|
+
AtomType["Account"] = "account";
|
|
90
|
+
AtomType["AppFragment"] = "app_fragment";
|
|
91
|
+
AtomType["Capability"] = "capability";
|
|
92
|
+
AtomType["Conversation"] = "conversation";
|
|
93
|
+
AtomType["CustomTypeFragment"] = "custom_type_fragment";
|
|
94
|
+
AtomType["DevUser"] = "dev_user";
|
|
95
|
+
AtomType["Engagement"] = "engagement";
|
|
96
|
+
AtomType["Enhancement"] = "enhancement";
|
|
97
|
+
AtomType["Feature"] = "feature";
|
|
98
|
+
AtomType["Issue"] = "issue";
|
|
99
|
+
AtomType["Meeting"] = "meeting";
|
|
100
|
+
AtomType["Opportunity"] = "opportunity";
|
|
101
|
+
AtomType["Product"] = "product";
|
|
102
|
+
AtomType["RevOrg"] = "rev_org";
|
|
103
|
+
AtomType["RevUser"] = "rev_user";
|
|
104
|
+
AtomType["ServiceAccount"] = "service_account";
|
|
105
|
+
AtomType["SysUser"] = "sys_user";
|
|
106
|
+
AtomType["Tag"] = "tag";
|
|
107
|
+
AtomType["Task"] = "task";
|
|
108
|
+
AtomType["TenantFragment"] = "tenant_fragment";
|
|
109
|
+
AtomType["Ticket"] = "ticket";
|
|
110
|
+
AtomType["TimelineComment"] = "timeline_comment";
|
|
111
|
+
AtomType["Webhook"] = "webhook";
|
|
112
|
+
})(AtomType = exports.AtomType || (exports.AtomType = {}));
|
|
87
113
|
var AuthConnectionToggle;
|
|
88
114
|
(function (AuthConnectionToggle) {
|
|
89
115
|
AuthConnectionToggle["Disable"] = "disable";
|
|
@@ -111,8 +137,10 @@ var AuthTokenGrantType;
|
|
|
111
137
|
var AuthTokenRequestedTokenType;
|
|
112
138
|
(function (AuthTokenRequestedTokenType) {
|
|
113
139
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAat"] = "urn:devrev:params:oauth:token-type:aat";
|
|
140
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatActAs"] = "urn:devrev:params:oauth:token-type:aat:act-as";
|
|
114
141
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatPublic"] = "urn:devrev:params:oauth:token-type:aat:public";
|
|
115
142
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDev"] = "urn:devrev:params:oauth:token-type:dev";
|
|
143
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDevConnect"] = "urn:devrev:params:oauth:token-type:dev:connect";
|
|
116
144
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeGat"] = "urn:devrev:params:oauth:token-type:gat";
|
|
117
145
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePat"] = "urn:devrev:params:oauth:token-type:pat";
|
|
118
146
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePatActAs"] = "urn:devrev:params:oauth:token-type:pat:act-as";
|
|
@@ -172,6 +200,10 @@ var CustomSchemaFragmentType;
|
|
|
172
200
|
CustomSchemaFragmentType["CustomTypeFragment"] = "custom_type_fragment";
|
|
173
201
|
CustomSchemaFragmentType["TenantFragment"] = "tenant_fragment";
|
|
174
202
|
})(CustomSchemaFragmentType = exports.CustomSchemaFragmentType || (exports.CustomSchemaFragmentType = {}));
|
|
203
|
+
var CustomSchemaFragmentsListRequestPrune;
|
|
204
|
+
(function (CustomSchemaFragmentsListRequestPrune) {
|
|
205
|
+
CustomSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
206
|
+
})(CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentsListRequestPrune || (exports.CustomSchemaFragmentsListRequestPrune = {}));
|
|
175
207
|
var CustomSchemaFragmentsSetRequestType;
|
|
176
208
|
(function (CustomSchemaFragmentsSetRequestType) {
|
|
177
209
|
CustomSchemaFragmentsSetRequestType["AppFragment"] = "app_fragment";
|
|
@@ -237,13 +269,29 @@ var EngagementsCreateRequestEngagementType;
|
|
|
237
269
|
var ErrorBadRequestType;
|
|
238
270
|
(function (ErrorBadRequestType) {
|
|
239
271
|
ErrorBadRequestType["BadRequest"] = "bad_request";
|
|
272
|
+
ErrorBadRequestType["InvalidApiVersion"] = "invalid_api_version";
|
|
240
273
|
ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
|
|
241
274
|
ErrorBadRequestType["InvalidField"] = "invalid_field";
|
|
242
275
|
ErrorBadRequestType["MissingDependency"] = "missing_dependency";
|
|
243
276
|
ErrorBadRequestType["MissingRequiredField"] = "missing_required_field";
|
|
244
277
|
ErrorBadRequestType["ParseError"] = "parse_error";
|
|
278
|
+
ErrorBadRequestType["StaleSchemaFragments"] = "stale_schema_fragments";
|
|
279
|
+
ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
|
|
245
280
|
ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
|
|
246
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 = {}));
|
|
247
295
|
var ErrorForbiddenType;
|
|
248
296
|
(function (ErrorForbiddenType) {
|
|
249
297
|
ErrorForbiddenType["Forbidden"] = "forbidden";
|
|
@@ -290,6 +338,13 @@ var GroupType;
|
|
|
290
338
|
GroupType["Dynamic"] = "dynamic";
|
|
291
339
|
GroupType["Static"] = "static";
|
|
292
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 = {}));
|
|
293
348
|
/** Priority of the work based upon impact and criticality. */
|
|
294
349
|
var IssuePriority;
|
|
295
350
|
(function (IssuePriority) {
|
|
@@ -354,8 +409,6 @@ var MemberType;
|
|
|
354
409
|
var MetricDefinitionAppliesTo;
|
|
355
410
|
(function (MetricDefinitionAppliesTo) {
|
|
356
411
|
MetricDefinitionAppliesTo["Conversation"] = "conversation";
|
|
357
|
-
MetricDefinitionAppliesTo["Issue"] = "issue";
|
|
358
|
-
MetricDefinitionAppliesTo["Task"] = "task";
|
|
359
412
|
MetricDefinitionAppliesTo["Ticket"] = "ticket";
|
|
360
413
|
})(MetricDefinitionAppliesTo = exports.MetricDefinitionAppliesTo || (exports.MetricDefinitionAppliesTo = {}));
|
|
361
414
|
/**
|
|
@@ -428,6 +481,14 @@ var PartType;
|
|
|
428
481
|
PartType["Feature"] = "feature";
|
|
429
482
|
PartType["Product"] = "product";
|
|
430
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 = {}));
|
|
431
492
|
var SchemaFieldDescriptorArrayTypeBaseType;
|
|
432
493
|
(function (SchemaFieldDescriptorArrayTypeBaseType) {
|
|
433
494
|
SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
|
|
@@ -460,6 +521,70 @@ var SchemaFieldDescriptorFieldType;
|
|
|
460
521
|
SchemaFieldDescriptorFieldType["Uenum"] = "uenum";
|
|
461
522
|
SchemaFieldDescriptorFieldType["Unknown"] = "unknown";
|
|
462
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 = {}));
|
|
463
588
|
/**
|
|
464
589
|
* Specifies the frequency of when the contractually-meaningful evaluation
|
|
465
590
|
* of the SLA happens. The organization for their own information might
|
|
@@ -519,6 +644,49 @@ var SlaSummaryStage;
|
|
|
519
644
|
SlaSummaryStage["Running"] = "running";
|
|
520
645
|
SlaSummaryStage["Warning"] = "warning";
|
|
521
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 = {}));
|
|
522
690
|
/** Priority of the work based upon impact and criticality. */
|
|
523
691
|
var TaskPriority;
|
|
524
692
|
(function (TaskPriority) {
|
|
@@ -527,6 +695,13 @@ var TaskPriority;
|
|
|
527
695
|
TaskPriority["P2"] = "p2";
|
|
528
696
|
TaskPriority["P3"] = "p3";
|
|
529
697
|
})(TaskPriority = exports.TaskPriority || (exports.TaskPriority = {}));
|
|
698
|
+
/** Channels of the ticket. */
|
|
699
|
+
var TicketChannels;
|
|
700
|
+
(function (TicketChannels) {
|
|
701
|
+
TicketChannels["Email"] = "email";
|
|
702
|
+
TicketChannels["Plug"] = "plug";
|
|
703
|
+
TicketChannels["Slack"] = "slack";
|
|
704
|
+
})(TicketChannels = exports.TicketChannels || (exports.TicketChannels = {}));
|
|
530
705
|
/** Severity of the ticket. */
|
|
531
706
|
var TicketSeverity;
|
|
532
707
|
(function (TicketSeverity) {
|
|
@@ -628,6 +803,13 @@ var UserType;
|
|
|
628
803
|
UserType["ServiceAccount"] = "service_account";
|
|
629
804
|
UserType["SysUser"] = "sys_user";
|
|
630
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 = {}));
|
|
631
813
|
/** The event types that the webhook will receive. */
|
|
632
814
|
var WebhookEventType;
|
|
633
815
|
(function (WebhookEventType) {
|
|
@@ -649,6 +831,9 @@ var WebhookEventType;
|
|
|
649
831
|
WebhookEventType["RevUserCreated"] = "rev_user_created";
|
|
650
832
|
WebhookEventType["RevUserDeleted"] = "rev_user_deleted";
|
|
651
833
|
WebhookEventType["RevUserUpdated"] = "rev_user_updated";
|
|
834
|
+
WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
|
|
835
|
+
WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
|
|
836
|
+
WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
|
|
652
837
|
WebhookEventType["TagCreated"] = "tag_created";
|
|
653
838
|
WebhookEventType["TagDeleted"] = "tag_deleted";
|
|
654
839
|
WebhookEventType["TagUpdated"] = "tag_updated";
|
|
@@ -926,6 +1111,42 @@ class Api extends HttpClient {
|
|
|
926
1111
|
* @secure
|
|
927
1112
|
*/
|
|
928
1113
|
this.updateArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1114
|
+
/**
|
|
1115
|
+
* @description Gets the requested artifact's information.
|
|
1116
|
+
*
|
|
1117
|
+
* @tags artifacts
|
|
1118
|
+
* @name ArtifactsGet
|
|
1119
|
+
* @request GET:/artifacts.get
|
|
1120
|
+
* @secure
|
|
1121
|
+
*/
|
|
1122
|
+
this.artifactsGet = (query, params = {}) => this.request(Object.assign({ path: `/artifacts.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1123
|
+
/**
|
|
1124
|
+
* @description Gets the requested artifact's information.
|
|
1125
|
+
*
|
|
1126
|
+
* @tags artifacts
|
|
1127
|
+
* @name ArtifactsGetPost
|
|
1128
|
+
* @request POST:/artifacts.get
|
|
1129
|
+
* @secure
|
|
1130
|
+
*/
|
|
1131
|
+
this.artifactsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1132
|
+
/**
|
|
1133
|
+
* @description List the artifacts attached to an object.
|
|
1134
|
+
*
|
|
1135
|
+
* @tags artifacts
|
|
1136
|
+
* @name ArtifactsList
|
|
1137
|
+
* @request GET:/artifacts.list
|
|
1138
|
+
* @secure
|
|
1139
|
+
*/
|
|
1140
|
+
this.artifactsList = (query, params = {}) => this.request(Object.assign({ path: `/artifacts.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1141
|
+
/**
|
|
1142
|
+
* @description List the artifacts attached to an object.
|
|
1143
|
+
*
|
|
1144
|
+
* @tags artifacts
|
|
1145
|
+
* @name ArtifactsListPost
|
|
1146
|
+
* @request POST:/artifacts.list
|
|
1147
|
+
* @secure
|
|
1148
|
+
*/
|
|
1149
|
+
this.artifactsListPost = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
929
1150
|
/**
|
|
930
1151
|
* @description Gets the download URL for the artifact.
|
|
931
1152
|
*
|
|
@@ -1035,63 +1256,63 @@ class Api extends HttpClient {
|
|
|
1035
1256
|
*/
|
|
1036
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));
|
|
1037
1258
|
/**
|
|
1038
|
-
* @description
|
|
1259
|
+
* @description Creates a code change object.
|
|
1039
1260
|
*
|
|
1040
|
-
* @tags
|
|
1261
|
+
* @tags code-changes
|
|
1041
1262
|
* @name CodeChangesCreate
|
|
1042
1263
|
* @request POST:/code-changes.create
|
|
1043
1264
|
* @secure
|
|
1044
1265
|
*/
|
|
1045
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));
|
|
1046
1267
|
/**
|
|
1047
|
-
* @description
|
|
1268
|
+
* @description Deletes a code change object.
|
|
1048
1269
|
*
|
|
1049
|
-
* @tags
|
|
1270
|
+
* @tags code-changes
|
|
1050
1271
|
* @name CodeChangesDelete
|
|
1051
1272
|
* @request POST:/code-changes.delete
|
|
1052
1273
|
* @secure
|
|
1053
1274
|
*/
|
|
1054
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));
|
|
1055
1276
|
/**
|
|
1056
|
-
* @description
|
|
1277
|
+
* @description Gets a code change object.
|
|
1057
1278
|
*
|
|
1058
|
-
* @tags
|
|
1279
|
+
* @tags code-changes
|
|
1059
1280
|
* @name CodeChangesGet
|
|
1060
1281
|
* @request GET:/code-changes.get
|
|
1061
1282
|
* @secure
|
|
1062
1283
|
*/
|
|
1063
1284
|
this.codeChangesGet = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1064
1285
|
/**
|
|
1065
|
-
* @description
|
|
1286
|
+
* @description Gets a code change object.
|
|
1066
1287
|
*
|
|
1067
|
-
* @tags
|
|
1288
|
+
* @tags code-changes
|
|
1068
1289
|
* @name CodeChangesGetPost
|
|
1069
1290
|
* @request POST:/code-changes.get
|
|
1070
1291
|
* @secure
|
|
1071
1292
|
*/
|
|
1072
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));
|
|
1073
1294
|
/**
|
|
1074
|
-
* @description
|
|
1295
|
+
* @description Lists code change objects.
|
|
1075
1296
|
*
|
|
1076
|
-
* @tags
|
|
1297
|
+
* @tags code-changes
|
|
1077
1298
|
* @name CodeChangesList
|
|
1078
1299
|
* @request GET:/code-changes.list
|
|
1079
1300
|
* @secure
|
|
1080
1301
|
*/
|
|
1081
1302
|
this.codeChangesList = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1082
1303
|
/**
|
|
1083
|
-
* @description
|
|
1304
|
+
* @description Lists code change objects.
|
|
1084
1305
|
*
|
|
1085
|
-
* @tags
|
|
1306
|
+
* @tags code-changes
|
|
1086
1307
|
* @name CodeChangesListPost
|
|
1087
1308
|
* @request POST:/code-changes.list
|
|
1088
1309
|
* @secure
|
|
1089
1310
|
*/
|
|
1090
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));
|
|
1091
1312
|
/**
|
|
1092
|
-
* @description
|
|
1313
|
+
* @description Updates a code change object.
|
|
1093
1314
|
*
|
|
1094
|
-
* @tags
|
|
1315
|
+
* @tags code-changes
|
|
1095
1316
|
* @name CodeChangesUpdate
|
|
1096
1317
|
* @request POST:/code-changes.update
|
|
1097
1318
|
* @secure
|
|
@@ -1763,6 +1984,69 @@ class Api extends HttpClient {
|
|
|
1763
1984
|
* @secure
|
|
1764
1985
|
*/
|
|
1765
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));
|
|
1766
2050
|
/**
|
|
1767
2051
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
1768
2052
|
*
|
|
@@ -1970,6 +2254,42 @@ class Api extends HttpClient {
|
|
|
1970
2254
|
* @secure
|
|
1971
2255
|
*/
|
|
1972
2256
|
this.customSchemaFragmentsSet = (data, params = {}) => this.request(Object.assign({ path: `/schemas.custom.set`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2257
|
+
/**
|
|
2258
|
+
* @description Gets a stock schema fragment.
|
|
2259
|
+
*
|
|
2260
|
+
* @tags customization
|
|
2261
|
+
* @name StockSchemaFragmentsGet
|
|
2262
|
+
* @request GET:/schemas.stock.get
|
|
2263
|
+
* @secure
|
|
2264
|
+
*/
|
|
2265
|
+
this.stockSchemaFragmentsGet = (query, params = {}) => this.request(Object.assign({ path: `/schemas.stock.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2266
|
+
/**
|
|
2267
|
+
* @description Gets a stock schema fragment.
|
|
2268
|
+
*
|
|
2269
|
+
* @tags customization
|
|
2270
|
+
* @name StockSchemaFragmentsGetPost
|
|
2271
|
+
* @request POST:/schemas.stock.get
|
|
2272
|
+
* @secure
|
|
2273
|
+
*/
|
|
2274
|
+
this.stockSchemaFragmentsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.stock.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2275
|
+
/**
|
|
2276
|
+
* @description Lists stock schema fragments.
|
|
2277
|
+
*
|
|
2278
|
+
* @tags customization
|
|
2279
|
+
* @name StockSchemaFragmentsList
|
|
2280
|
+
* @request GET:/schemas.stock.list
|
|
2281
|
+
* @secure
|
|
2282
|
+
*/
|
|
2283
|
+
this.stockSchemaFragmentsList = (query, params = {}) => this.request(Object.assign({ path: `/schemas.stock.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
2284
|
+
/**
|
|
2285
|
+
* @description Lists stock schema fragments.
|
|
2286
|
+
*
|
|
2287
|
+
* @tags customization
|
|
2288
|
+
* @name StockSchemaFragmentsListPost
|
|
2289
|
+
* @request POST:/schemas.stock.list
|
|
2290
|
+
* @secure
|
|
2291
|
+
*/
|
|
2292
|
+
this.stockSchemaFragmentsListPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.stock.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1973
2293
|
/**
|
|
1974
2294
|
* @description Lists subtypes.
|
|
1975
2295
|
*
|
|
@@ -1988,6 +2308,24 @@ class Api extends HttpClient {
|
|
|
1988
2308
|
* @secure
|
|
1989
2309
|
*/
|
|
1990
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));
|
|
1991
2329
|
/**
|
|
1992
2330
|
* @description Gets a service account.
|
|
1993
2331
|
*
|
|
@@ -2006,6 +2344,24 @@ class Api extends HttpClient {
|
|
|
2006
2344
|
* @secure
|
|
2007
2345
|
*/
|
|
2008
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));
|
|
2009
2365
|
/**
|
|
2010
2366
|
* @description Assigns the SLA to a set of Rev organizations.
|
|
2011
2367
|
*
|
|
@@ -2096,6 +2452,87 @@ class Api extends HttpClient {
|
|
|
2096
2452
|
* @secure
|
|
2097
2453
|
*/
|
|
2098
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));
|
|
2099
2536
|
/**
|
|
2100
2537
|
* @description Lists system users within your organization.
|
|
2101
2538
|
*
|
|
@@ -2249,6 +2686,33 @@ class Api extends HttpClient {
|
|
|
2249
2686
|
* @secure
|
|
2250
2687
|
*/
|
|
2251
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));
|
|
2252
2716
|
/**
|
|
2253
2717
|
* @description Creates a Unit of Measurement on a part.
|
|
2254
2718
|
*
|