@devrev/typescript-sdk 1.1.23 → 1.1.25

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.SlaEvaluationPeriod = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.PartType = 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.GroupType = exports.GroupMemberType = exports.EventSourceStatus = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = 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.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.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.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.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.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = 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.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = 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";
@@ -147,6 +149,7 @@ var AuthTokenRequestedTokenType;
147
149
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSession"] = "urn:devrev:params:oauth:token-type:session";
148
150
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionDev0"] = "urn:devrev:params:oauth:token-type:session:dev0";
149
151
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionOnetime"] = "urn:devrev:params:oauth:token-type:session:onetime";
152
+ AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionRevActAs"] = "urn:devrev:params:oauth:token-type:session:rev:act-as";
150
153
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSuper"] = "urn:devrev:params:oauth:token-type:super";
151
154
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSys"] = "urn:devrev:params:oauth:token-type:sys";
152
155
  AuthTokenRequestedTokenType["UrnIetfParamsOauthTokenTypeJwt"] = "urn:ietf:params:oauth:token-type:jwt";
@@ -176,6 +179,13 @@ var AuthTokenTokenType;
176
179
  (function (AuthTokenTokenType) {
177
180
  AuthTokenTokenType["Bearer"] = "bearer";
178
181
  })(AuthTokenTokenType = exports.AuthTokenTokenType || (exports.AuthTokenTokenType = {}));
182
+ var BooleanExpressionType;
183
+ (function (BooleanExpressionType) {
184
+ BooleanExpressionType["And"] = "and";
185
+ BooleanExpressionType["Not"] = "not";
186
+ BooleanExpressionType["Or"] = "or";
187
+ BooleanExpressionType["Primitive"] = "primitive";
188
+ })(BooleanExpressionType = exports.BooleanExpressionType || (exports.BooleanExpressionType = {}));
179
189
  /** Source of the code change object. */
180
190
  var CodeChangeSource;
181
191
  (function (CodeChangeSource) {
@@ -198,6 +208,10 @@ var CustomSchemaFragmentType;
198
208
  CustomSchemaFragmentType["CustomTypeFragment"] = "custom_type_fragment";
199
209
  CustomSchemaFragmentType["TenantFragment"] = "tenant_fragment";
200
210
  })(CustomSchemaFragmentType = exports.CustomSchemaFragmentType || (exports.CustomSchemaFragmentType = {}));
211
+ var CustomSchemaFragmentsListRequestPrune;
212
+ (function (CustomSchemaFragmentsListRequestPrune) {
213
+ CustomSchemaFragmentsListRequestPrune["Fields"] = "fields";
214
+ })(CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentsListRequestPrune || (exports.CustomSchemaFragmentsListRequestPrune = {}));
201
215
  var CustomSchemaFragmentsSetRequestType;
202
216
  (function (CustomSchemaFragmentsSetRequestType) {
203
217
  CustomSchemaFragmentsSetRequestType["AppFragment"] = "app_fragment";
@@ -240,6 +254,22 @@ var DevOrgAuthConnectionsUpdateRequestType;
240
254
  DevOrgAuthConnectionsUpdateRequestType["Samlp"] = "samlp";
241
255
  DevOrgAuthConnectionsUpdateRequestType["Waad"] = "waad";
242
256
  })(DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsUpdateRequestType || (exports.DevOrgAuthConnectionsUpdateRequestType = {}));
257
+ /** Job title of the Dev User. */
258
+ var DevUserJobTitle;
259
+ (function (DevUserJobTitle) {
260
+ DevUserJobTitle["CustomerSuccessManager"] = "customer_success_manager";
261
+ DevUserJobTitle["Cxo"] = "cxo";
262
+ DevUserJobTitle["Designer"] = "designer";
263
+ DevUserJobTitle["Developer"] = "developer";
264
+ DevUserJobTitle["HeadOfSupport"] = "head_of_support";
265
+ DevUserJobTitle["Operations"] = "operations";
266
+ DevUserJobTitle["Others"] = "others";
267
+ DevUserJobTitle["ProductManager"] = "product_manager";
268
+ DevUserJobTitle["Qa"] = "qa";
269
+ DevUserJobTitle["RevenueLeader"] = "revenue_leader";
270
+ DevUserJobTitle["Support"] = "support";
271
+ DevUserJobTitle["TechLead"] = "tech_lead";
272
+ })(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
243
273
  /** Type of engagement. */
244
274
  var EngagementType;
245
275
  (function (EngagementType) {
@@ -270,8 +300,22 @@ var ErrorBadRequestType;
270
300
  ErrorBadRequestType["MissingRequiredField"] = "missing_required_field";
271
301
  ErrorBadRequestType["ParseError"] = "parse_error";
272
302
  ErrorBadRequestType["StaleSchemaFragments"] = "stale_schema_fragments";
303
+ ErrorBadRequestType["UnexpectedJsonType"] = "unexpected_json_type";
273
304
  ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
274
305
  })(ErrorBadRequestType = exports.ErrorBadRequestType || (exports.ErrorBadRequestType = {}));
306
+ var ErrorBadRequestUnexpectedJsonTypeType;
307
+ (function (ErrorBadRequestUnexpectedJsonTypeType) {
308
+ ErrorBadRequestUnexpectedJsonTypeType["Array"] = "array";
309
+ ErrorBadRequestUnexpectedJsonTypeType["Bool"] = "bool";
310
+ ErrorBadRequestUnexpectedJsonTypeType["Null"] = "null";
311
+ ErrorBadRequestUnexpectedJsonTypeType["Number"] = "number";
312
+ ErrorBadRequestUnexpectedJsonTypeType["Object"] = "object";
313
+ ErrorBadRequestUnexpectedJsonTypeType["String"] = "string";
314
+ })(ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestUnexpectedJsonTypeType || (exports.ErrorBadRequestUnexpectedJsonTypeType = {}));
315
+ var ErrorConflictType;
316
+ (function (ErrorConflictType) {
317
+ ErrorConflictType["Conflict"] = "conflict";
318
+ })(ErrorConflictType = exports.ErrorConflictType || (exports.ErrorConflictType = {}));
275
319
  var ErrorForbiddenType;
276
320
  (function (ErrorForbiddenType) {
277
321
  ErrorForbiddenType["Forbidden"] = "forbidden";
@@ -318,6 +362,13 @@ var GroupType;
318
362
  GroupType["Dynamic"] = "dynamic";
319
363
  GroupType["Static"] = "static";
320
364
  })(GroupType = exports.GroupType || (exports.GroupType = {}));
365
+ /** Denotes the use case of the grouped vista. */
366
+ var GroupedVistaFlavor;
367
+ (function (GroupedVistaFlavor) {
368
+ GroupedVistaFlavor["Nnl"] = "nnl";
369
+ GroupedVistaFlavor["SprintBoard"] = "sprint_board";
370
+ GroupedVistaFlavor["SupportInbox"] = "support_inbox";
371
+ })(GroupedVistaFlavor = exports.GroupedVistaFlavor || (exports.GroupedVistaFlavor = {}));
321
372
  /** Priority of the work based upon impact and criticality. */
322
373
  var IssuePriority;
323
374
  (function (IssuePriority) {
@@ -454,6 +505,14 @@ var PartType;
454
505
  PartType["Feature"] = "feature";
455
506
  PartType["Product"] = "product";
456
507
  })(PartType = exports.PartType || (exports.PartType = {}));
508
+ /** Status of the question answer. */
509
+ var QuestionAnswerStatus;
510
+ (function (QuestionAnswerStatus) {
511
+ QuestionAnswerStatus["Archived"] = "archived";
512
+ QuestionAnswerStatus["Draft"] = "draft";
513
+ QuestionAnswerStatus["Published"] = "published";
514
+ QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
515
+ })(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
457
516
  var SchemaFieldDescriptorArrayTypeBaseType;
458
517
  (function (SchemaFieldDescriptorArrayTypeBaseType) {
459
518
  SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
@@ -486,6 +545,81 @@ var SchemaFieldDescriptorFieldType;
486
545
  SchemaFieldDescriptorFieldType["Uenum"] = "uenum";
487
546
  SchemaFieldDescriptorFieldType["Unknown"] = "unknown";
488
547
  })(SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorFieldType || (exports.SchemaFieldDescriptorFieldType = {}));
548
+ /** The namespaces for hybrid search. */
549
+ var SearchHybridNamespace;
550
+ (function (SearchHybridNamespace) {
551
+ SearchHybridNamespace["Article"] = "article";
552
+ SearchHybridNamespace["Conversation"] = "conversation";
553
+ SearchHybridNamespace["Issue"] = "issue";
554
+ SearchHybridNamespace["Part"] = "part";
555
+ SearchHybridNamespace["QuestionAnswer"] = "question_answer";
556
+ SearchHybridNamespace["Ticket"] = "ticket";
557
+ SearchHybridNamespace["Work"] = "work";
558
+ })(SearchHybridNamespace = exports.SearchHybridNamespace || (exports.SearchHybridNamespace = {}));
559
+ /** The namespaces to search in. */
560
+ var SearchNamespace;
561
+ (function (SearchNamespace) {
562
+ SearchNamespace["Account"] = "account";
563
+ SearchNamespace["Article"] = "article";
564
+ SearchNamespace["Capability"] = "capability";
565
+ SearchNamespace["Component"] = "component";
566
+ SearchNamespace["Conversation"] = "conversation";
567
+ SearchNamespace["CustomPart"] = "custom_part";
568
+ SearchNamespace["CustomWork"] = "custom_work";
569
+ SearchNamespace["Dashboard"] = "dashboard";
570
+ SearchNamespace["DevUser"] = "dev_user";
571
+ SearchNamespace["Enhancement"] = "enhancement";
572
+ SearchNamespace["Feature"] = "feature";
573
+ SearchNamespace["Group"] = "group";
574
+ SearchNamespace["Issue"] = "issue";
575
+ SearchNamespace["Linkable"] = "linkable";
576
+ SearchNamespace["Microservice"] = "microservice";
577
+ SearchNamespace["ObjectMember"] = "object_member";
578
+ SearchNamespace["Opportunity"] = "opportunity";
579
+ SearchNamespace["Product"] = "product";
580
+ SearchNamespace["Project"] = "project";
581
+ SearchNamespace["QuestionAnswer"] = "question_answer";
582
+ SearchNamespace["RevOrg"] = "rev_org";
583
+ SearchNamespace["RevUser"] = "rev_user";
584
+ SearchNamespace["Runnable"] = "runnable";
585
+ SearchNamespace["ServiceAccount"] = "service_account";
586
+ SearchNamespace["SysUser"] = "sys_user";
587
+ SearchNamespace["Tag"] = "tag";
588
+ SearchNamespace["Task"] = "task";
589
+ SearchNamespace["Ticket"] = "ticket";
590
+ SearchNamespace["Vista"] = "vista";
591
+ })(SearchNamespace = exports.SearchNamespace || (exports.SearchNamespace = {}));
592
+ var SearchResultType;
593
+ (function (SearchResultType) {
594
+ SearchResultType["Account"] = "account";
595
+ SearchResultType["Article"] = "article";
596
+ SearchResultType["Artifact"] = "artifact";
597
+ SearchResultType["Conversation"] = "conversation";
598
+ SearchResultType["Dashboard"] = "dashboard";
599
+ SearchResultType["Group"] = "group";
600
+ SearchResultType["Link"] = "link";
601
+ SearchResultType["ObjectMember"] = "object_member";
602
+ SearchResultType["Org"] = "org";
603
+ SearchResultType["Part"] = "part";
604
+ SearchResultType["QuestionAnswer"] = "question_answer";
605
+ SearchResultType["Tag"] = "tag";
606
+ SearchResultType["User"] = "user";
607
+ SearchResultType["Vista"] = "vista";
608
+ SearchResultType["Work"] = "work";
609
+ })(SearchResultType = exports.SearchResultType || (exports.SearchResultType = {}));
610
+ /** Search sort by parameters. */
611
+ var SearchSortByParam;
612
+ (function (SearchSortByParam) {
613
+ SearchSortByParam["CreatedDate"] = "created_date";
614
+ SearchSortByParam["ModifiedDate"] = "modified_date";
615
+ SearchSortByParam["Relevance"] = "relevance";
616
+ })(SearchSortByParam = exports.SearchSortByParam || (exports.SearchSortByParam = {}));
617
+ /** Search sort order parameters. */
618
+ var SearchSortOrderParam;
619
+ (function (SearchSortOrderParam) {
620
+ SearchSortOrderParam["Asc"] = "asc";
621
+ SearchSortOrderParam["Desc"] = "desc";
622
+ })(SearchSortOrderParam = exports.SearchSortOrderParam || (exports.SearchSortOrderParam = {}));
489
623
  /**
490
624
  * Specifies the frequency of when the contractually-meaningful evaluation
491
625
  * of the SLA happens. The organization for their own information might
@@ -545,6 +679,60 @@ var SlaSummaryStage;
545
679
  SlaSummaryStage["Running"] = "running";
546
680
  SlaSummaryStage["Warning"] = "warning";
547
681
  })(SlaSummaryStage = exports.SlaSummaryStage || (exports.SlaSummaryStage = {}));
682
+ /** Logical grouping of snap widgets. Useful for filtering. */
683
+ var SnapWidgetNamespace;
684
+ (function (SnapWidgetNamespace) {
685
+ SnapWidgetNamespace["CommentSuggestionReplies"] = "comment_suggestion_replies";
686
+ SnapWidgetNamespace["EmailPreview"] = "email_preview";
687
+ SnapWidgetNamespace["LinkPreview"] = "link_preview";
688
+ SnapWidgetNamespace["PlugNudge"] = "plug_nudge";
689
+ })(SnapWidgetNamespace = exports.SnapWidgetNamespace || (exports.SnapWidgetNamespace = {}));
690
+ /** The status of the snap widget. */
691
+ var SnapWidgetStatus;
692
+ (function (SnapWidgetStatus) {
693
+ SnapWidgetStatus["Draft"] = "draft";
694
+ SnapWidgetStatus["Published"] = "published";
695
+ })(SnapWidgetStatus = exports.SnapWidgetStatus || (exports.SnapWidgetStatus = {}));
696
+ var SnapWidgetType;
697
+ (function (SnapWidgetType) {
698
+ SnapWidgetType["EmailPreview"] = "email_preview";
699
+ })(SnapWidgetType = exports.SnapWidgetType || (exports.SnapWidgetType = {}));
700
+ var SnapWidgetsCreateRequestType;
701
+ (function (SnapWidgetsCreateRequestType) {
702
+ SnapWidgetsCreateRequestType["EmailPreview"] = "email_preview";
703
+ })(SnapWidgetsCreateRequestType = exports.SnapWidgetsCreateRequestType || (exports.SnapWidgetsCreateRequestType = {}));
704
+ /** Type of stage validation options when creating an object. */
705
+ var StageValidationOptionForCreate;
706
+ (function (StageValidationOptionForCreate) {
707
+ StageValidationOptionForCreate["AllowNonStart"] = "allow_non_start";
708
+ })(StageValidationOptionForCreate = exports.StageValidationOptionForCreate || (exports.StageValidationOptionForCreate = {}));
709
+ /** Type of state validation options when updating the stage of an object. */
710
+ var StageValidationOptionForUpdate;
711
+ (function (StageValidationOptionForUpdate) {
712
+ StageValidationOptionForUpdate["AllowInvalidTransition"] = "allow_invalid_transition";
713
+ })(StageValidationOptionForUpdate = exports.StageValidationOptionForUpdate || (exports.StageValidationOptionForUpdate = {}));
714
+ var StockSchemaFragmentsListRequestFilterPreset;
715
+ (function (StockSchemaFragmentsListRequestFilterPreset) {
716
+ StockSchemaFragmentsListRequestFilterPreset["CustomizableTypesPreset"] = "customizable_types_preset";
717
+ StockSchemaFragmentsListRequestFilterPreset["NoPreset"] = "no_preset";
718
+ })(StockSchemaFragmentsListRequestFilterPreset = exports.StockSchemaFragmentsListRequestFilterPreset || (exports.StockSchemaFragmentsListRequestFilterPreset = {}));
719
+ var StockSchemaFragmentsListRequestPrune;
720
+ (function (StockSchemaFragmentsListRequestPrune) {
721
+ StockSchemaFragmentsListRequestPrune["CompositeSchemas"] = "composite_schemas";
722
+ StockSchemaFragmentsListRequestPrune["Fields"] = "fields";
723
+ })(StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestPrune || (exports.StockSchemaFragmentsListRequestPrune = {}));
724
+ var SyncMetadataFilterSyncInFilterStatus;
725
+ (function (SyncMetadataFilterSyncInFilterStatus) {
726
+ SyncMetadataFilterSyncInFilterStatus["Failed"] = "failed";
727
+ SyncMetadataFilterSyncInFilterStatus["Modified"] = "modified";
728
+ SyncMetadataFilterSyncInFilterStatus["Staged"] = "staged";
729
+ SyncMetadataFilterSyncInFilterStatus["Succeeded"] = "succeeded";
730
+ })(SyncMetadataFilterSyncInFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus || (exports.SyncMetadataFilterSyncInFilterStatus = {}));
731
+ var SyncMetadataFilterSyncOutFilterStatus;
732
+ (function (SyncMetadataFilterSyncOutFilterStatus) {
733
+ SyncMetadataFilterSyncOutFilterStatus["Failed"] = "failed";
734
+ SyncMetadataFilterSyncOutFilterStatus["Succeeded"] = "succeeded";
735
+ })(SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncOutFilterStatus || (exports.SyncMetadataFilterSyncOutFilterStatus = {}));
548
736
  /** Priority of the work based upon impact and criticality. */
549
737
  var TaskPriority;
550
738
  (function (TaskPriority) {
@@ -661,6 +849,13 @@ var UserType;
661
849
  UserType["ServiceAccount"] = "service_account";
662
850
  UserType["SysUser"] = "sys_user";
663
851
  })(UserType = exports.UserType || (exports.UserType = {}));
852
+ /** Type of vista object. */
853
+ var VistaType;
854
+ (function (VistaType) {
855
+ VistaType["Curated"] = "curated";
856
+ VistaType["Dynamic"] = "dynamic";
857
+ VistaType["Grouped"] = "grouped";
858
+ })(VistaType = exports.VistaType || (exports.VistaType = {}));
664
859
  /** The event types that the webhook will receive. */
665
860
  var WebhookEventType;
666
861
  (function (WebhookEventType) {
@@ -682,6 +877,9 @@ var WebhookEventType;
682
877
  WebhookEventType["RevUserCreated"] = "rev_user_created";
683
878
  WebhookEventType["RevUserDeleted"] = "rev_user_deleted";
684
879
  WebhookEventType["RevUserUpdated"] = "rev_user_updated";
880
+ WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
881
+ WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
882
+ WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
685
883
  WebhookEventType["TagCreated"] = "tag_created";
686
884
  WebhookEventType["TagDeleted"] = "tag_deleted";
687
885
  WebhookEventType["TagUpdated"] = "tag_updated";
@@ -1104,63 +1302,63 @@ class Api extends HttpClient {
1104
1302
  */
1105
1303
  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
1304
  /**
1107
- * @description Create CodeChange object.
1305
+ * @description Creates a code change object.
1108
1306
  *
1109
- * @tags works
1307
+ * @tags code-changes
1110
1308
  * @name CodeChangesCreate
1111
1309
  * @request POST:/code-changes.create
1112
1310
  * @secure
1113
1311
  */
1114
1312
  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
1313
  /**
1116
- * @description Delete CodeChange object.
1314
+ * @description Deletes a code change object.
1117
1315
  *
1118
- * @tags works
1316
+ * @tags code-changes
1119
1317
  * @name CodeChangesDelete
1120
1318
  * @request POST:/code-changes.delete
1121
1319
  * @secure
1122
1320
  */
1123
1321
  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
1322
  /**
1125
- * @description Get CodeChange object.
1323
+ * @description Gets a code change object.
1126
1324
  *
1127
- * @tags works
1325
+ * @tags code-changes
1128
1326
  * @name CodeChangesGet
1129
1327
  * @request GET:/code-changes.get
1130
1328
  * @secure
1131
1329
  */
1132
1330
  this.codeChangesGet = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1133
1331
  /**
1134
- * @description Get CodeChange object.
1332
+ * @description Gets a code change object.
1135
1333
  *
1136
- * @tags works
1334
+ * @tags code-changes
1137
1335
  * @name CodeChangesGetPost
1138
1336
  * @request POST:/code-changes.get
1139
1337
  * @secure
1140
1338
  */
1141
1339
  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
1340
  /**
1143
- * @description List CodeChange objects.
1341
+ * @description Lists code change objects.
1144
1342
  *
1145
- * @tags works
1343
+ * @tags code-changes
1146
1344
  * @name CodeChangesList
1147
1345
  * @request GET:/code-changes.list
1148
1346
  * @secure
1149
1347
  */
1150
1348
  this.codeChangesList = (query, params = {}) => this.request(Object.assign({ path: `/code-changes.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1151
1349
  /**
1152
- * @description List CodeChange objects.
1350
+ * @description Lists code change objects.
1153
1351
  *
1154
- * @tags works
1352
+ * @tags code-changes
1155
1353
  * @name CodeChangesListPost
1156
1354
  * @request POST:/code-changes.list
1157
1355
  * @secure
1158
1356
  */
1159
1357
  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
1358
  /**
1161
- * @description Update CodeChange object.
1359
+ * @description Updates a code change object.
1162
1360
  *
1163
- * @tags works
1361
+ * @tags code-changes
1164
1362
  * @name CodeChangesUpdate
1165
1363
  * @request POST:/code-changes.update
1166
1364
  * @secure
@@ -1373,6 +1571,24 @@ class Api extends HttpClient {
1373
1571
  * @secure
1374
1572
  */
1375
1573
  this.devUsersSelfPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1574
+ /**
1575
+ * @description Updates the authenticated user.
1576
+ *
1577
+ * @tags dev-users
1578
+ * @name DevUsersSelfUpdate
1579
+ * @request POST:/dev-users.self.update
1580
+ * @secure
1581
+ */
1582
+ this.devUsersSelfUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1583
+ /**
1584
+ * @description Updates the user corresponding to the input Id.
1585
+ *
1586
+ * @tags dev-users
1587
+ * @name DevUsersUpdate
1588
+ * @request POST:/dev-users.update
1589
+ * @secure
1590
+ */
1591
+ this.devUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1376
1592
  /**
1377
1593
  * @description Counts the engagement records.
1378
1594
  *
@@ -1832,6 +2048,69 @@ class Api extends HttpClient {
1832
2048
  * @secure
1833
2049
  */
1834
2050
  this.partsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/parts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2051
+ /**
2052
+ * @description Creates a question-answer.
2053
+ *
2054
+ * @tags question-answers
2055
+ * @name CreateQuestionAnswer
2056
+ * @request POST:/question-answers.create
2057
+ * @secure
2058
+ */
2059
+ this.createQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2060
+ /**
2061
+ * @description Deletes a question-answer.
2062
+ *
2063
+ * @tags question-answers
2064
+ * @name DeleteQuestionAnswer
2065
+ * @request POST:/question-answers.delete
2066
+ * @secure
2067
+ */
2068
+ this.deleteQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
2069
+ /**
2070
+ * @description Gets a question-answer.
2071
+ *
2072
+ * @tags question-answers
2073
+ * @name GetQuestionAnswer
2074
+ * @request GET:/question-answers.get
2075
+ * @secure
2076
+ */
2077
+ this.getQuestionAnswer = (query, params = {}) => this.request(Object.assign({ path: `/question-answers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2078
+ /**
2079
+ * @description Gets a question-answer.
2080
+ *
2081
+ * @tags question-answers
2082
+ * @name GetQuestionAnswerPost
2083
+ * @request POST:/question-answers.get
2084
+ * @secure
2085
+ */
2086
+ this.getQuestionAnswerPost = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2087
+ /**
2088
+ * @description Lists a collection of question-answers.
2089
+ *
2090
+ * @tags question-answers
2091
+ * @name ListQuestionAnswers
2092
+ * @request GET:/question-answers.list
2093
+ * @secure
2094
+ */
2095
+ this.listQuestionAnswers = (query, params = {}) => this.request(Object.assign({ path: `/question-answers.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2096
+ /**
2097
+ * @description Lists a collection of question-answers.
2098
+ *
2099
+ * @tags question-answers
2100
+ * @name ListQuestionAnswersPost
2101
+ * @request POST:/question-answers.list
2102
+ * @secure
2103
+ */
2104
+ this.listQuestionAnswersPost = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2105
+ /**
2106
+ * @description Updates a question-answer.
2107
+ *
2108
+ * @tags question-answers
2109
+ * @name UpdateQuestionAnswer
2110
+ * @request POST:/question-answers.update
2111
+ * @secure
2112
+ */
2113
+ 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
2114
  /**
1836
2115
  * @description Creates a Rev organization in the authenticated user's Dev organization.
1837
2116
  *
@@ -2093,6 +2372,42 @@ class Api extends HttpClient {
2093
2372
  * @secure
2094
2373
  */
2095
2374
  this.subtypesListPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.subtypes.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2375
+ /**
2376
+ * @description Searches for records based on a given query.
2377
+ *
2378
+ * @tags search
2379
+ * @name SearchCore
2380
+ * @request GET:/search.core
2381
+ * @secure
2382
+ */
2383
+ this.searchCore = (query, params = {}) => this.request(Object.assign({ path: `/search.core`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2384
+ /**
2385
+ * @description Searches for records based on a given query.
2386
+ *
2387
+ * @tags search
2388
+ * @name SearchCorePost
2389
+ * @request POST:/search.core
2390
+ * @secure
2391
+ */
2392
+ this.searchCorePost = (data, params = {}) => this.request(Object.assign({ path: `/search.core`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2393
+ /**
2394
+ * @description Performs search, using a combination of syntactic and semantic search.
2395
+ *
2396
+ * @tags search
2397
+ * @name SearchHybrid
2398
+ * @request GET:/search.hybrid
2399
+ * @secure
2400
+ */
2401
+ this.searchHybrid = (query, params = {}) => this.request(Object.assign({ path: `/search.hybrid`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2402
+ /**
2403
+ * @description Performs search, using a combination of syntactic and semantic search.
2404
+ *
2405
+ * @tags search
2406
+ * @name SearchHybridPost
2407
+ * @request POST:/search.hybrid
2408
+ * @secure
2409
+ */
2410
+ this.searchHybridPost = (data, params = {}) => this.request(Object.assign({ path: `/search.hybrid`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2096
2411
  /**
2097
2412
  * @description Gets a service account.
2098
2413
  *
@@ -2111,6 +2426,24 @@ class Api extends HttpClient {
2111
2426
  * @secure
2112
2427
  */
2113
2428
  this.serviceAccountsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2429
+ /**
2430
+ * @description Gets an SLA tracker.
2431
+ *
2432
+ * @tags slas
2433
+ * @name SlaTrackersGet
2434
+ * @request GET:/sla-trackers.get
2435
+ * @secure
2436
+ */
2437
+ this.slaTrackersGet = (query, params = {}) => this.request(Object.assign({ path: `/sla-trackers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2438
+ /**
2439
+ * @description Gets an SLA tracker.
2440
+ *
2441
+ * @tags slas
2442
+ * @name SlaTrackersGetPost
2443
+ * @request POST:/sla-trackers.get
2444
+ * @secure
2445
+ */
2446
+ 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
2447
  /**
2115
2448
  * @description Assigns the SLA to a set of Rev organizations.
2116
2449
  *
@@ -2201,6 +2534,195 @@ class Api extends HttpClient {
2201
2534
  * @secure
2202
2535
  */
2203
2536
  this.snapInsResourcesPost = (data, params = {}) => this.request(Object.assign({ path: `/snap-ins.resources`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2537
+ /**
2538
+ * @description Create a snap widget object.
2539
+ *
2540
+ * @tags snap-widgets
2541
+ * @name SnapWidgetsCreate
2542
+ * @request POST:/snap-widgets.create
2543
+ * @secure
2544
+ */
2545
+ this.snapWidgetsCreate = (data, params = {}) => this.request(Object.assign({ path: `/snap-widgets.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2546
+ /**
2547
+ * @description Creates a custom stage.
2548
+ *
2549
+ * @tags customization
2550
+ * @name CustomStagesCreate
2551
+ * @request POST:/stages.custom.create
2552
+ * @secure
2553
+ */
2554
+ this.customStagesCreate = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2555
+ /**
2556
+ * @description Gets a custom stage.
2557
+ *
2558
+ * @tags customization
2559
+ * @name CustomStagesGet
2560
+ * @request GET:/stages.custom.get
2561
+ * @secure
2562
+ */
2563
+ this.customStagesGet = (query, params = {}) => this.request(Object.assign({ path: `/stages.custom.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2564
+ /**
2565
+ * @description Gets a custom stage.
2566
+ *
2567
+ * @tags customization
2568
+ * @name CustomStagesGetPost
2569
+ * @request POST:/stages.custom.get
2570
+ * @secure
2571
+ */
2572
+ this.customStagesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2573
+ /**
2574
+ * @description Lists custom stages.
2575
+ *
2576
+ * @tags customization
2577
+ * @name CustomStagesList
2578
+ * @request GET:/stages.custom.list
2579
+ * @secure
2580
+ */
2581
+ this.customStagesList = (query, params = {}) => this.request(Object.assign({ path: `/stages.custom.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2582
+ /**
2583
+ * @description Lists custom stages.
2584
+ *
2585
+ * @tags customization
2586
+ * @name CustomStagesListPost
2587
+ * @request POST:/stages.custom.list
2588
+ * @secure
2589
+ */
2590
+ this.customStagesListPost = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2591
+ /**
2592
+ * @description Updates a custom stage.
2593
+ *
2594
+ * @tags customization
2595
+ * @name CustomStagesUpdate
2596
+ * @request POST:/stages.custom.update
2597
+ * @secure
2598
+ */
2599
+ this.customStagesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2600
+ /**
2601
+ * @description Creates a custom state.
2602
+ *
2603
+ * @tags customization
2604
+ * @name CustomStatesCreate
2605
+ * @request POST:/states.custom.create
2606
+ * @secure
2607
+ */
2608
+ this.customStatesCreate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2609
+ /**
2610
+ * @description Gets a custom state.
2611
+ *
2612
+ * @tags customization
2613
+ * @name CustomStatesGet
2614
+ * @request GET:/states.custom.get
2615
+ * @secure
2616
+ */
2617
+ this.customStatesGet = (query, params = {}) => this.request(Object.assign({ path: `/states.custom.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2618
+ /**
2619
+ * @description Gets a custom state.
2620
+ *
2621
+ * @tags customization
2622
+ * @name CustomStatesGetPost
2623
+ * @request POST:/states.custom.get
2624
+ * @secure
2625
+ */
2626
+ this.customStatesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2627
+ /**
2628
+ * @description Lists custom states.
2629
+ *
2630
+ * @tags customization
2631
+ * @name CustomStatesList
2632
+ * @request GET:/states.custom.list
2633
+ * @secure
2634
+ */
2635
+ this.customStatesList = (query, params = {}) => this.request(Object.assign({ path: `/states.custom.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2636
+ /**
2637
+ * @description Lists custom states.
2638
+ *
2639
+ * @tags customization
2640
+ * @name CustomStatesListPost
2641
+ * @request POST:/states.custom.list
2642
+ * @secure
2643
+ */
2644
+ this.customStatesListPost = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2645
+ /**
2646
+ * @description Updates a custom state.
2647
+ *
2648
+ * @tags customization
2649
+ * @name CustomStatesUpdate
2650
+ * @request POST:/states.custom.update
2651
+ * @secure
2652
+ */
2653
+ this.customStatesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2654
+ /**
2655
+ * @description Creates a schema for survey, which includes name and description of schema.
2656
+ *
2657
+ * @tags surveys
2658
+ * @name SurveysCreate
2659
+ * @request POST:/surveys.create
2660
+ * @secure
2661
+ */
2662
+ this.surveysCreate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2663
+ /**
2664
+ * @description Deletes the specified survey.
2665
+ *
2666
+ * @tags surveys
2667
+ * @name SurveysDelete
2668
+ * @request POST:/surveys.delete
2669
+ * @secure
2670
+ */
2671
+ this.surveysDelete = (data, params = {}) => this.request(Object.assign({ path: `/surveys.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2672
+ /**
2673
+ * @description List surveys requested by the user.
2674
+ *
2675
+ * @tags surveys
2676
+ * @name SurveysList
2677
+ * @request GET:/surveys.list
2678
+ * @secure
2679
+ */
2680
+ this.surveysList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2681
+ /**
2682
+ * @description List surveys requested by the user.
2683
+ *
2684
+ * @tags surveys
2685
+ * @name SurveysListPost
2686
+ * @request POST:/surveys.list
2687
+ * @secure
2688
+ */
2689
+ this.surveysListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2690
+ /**
2691
+ * @description List survey responses requested by the user.
2692
+ *
2693
+ * @tags surveys
2694
+ * @name SurveysResponsesList
2695
+ * @request GET:/surveys.responses.list
2696
+ * @secure
2697
+ */
2698
+ this.surveysResponsesList = (query, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2699
+ /**
2700
+ * @description List survey responses requested by the user.
2701
+ *
2702
+ * @tags surveys
2703
+ * @name SurveysResponsesListPost
2704
+ * @request POST:/surveys.responses.list
2705
+ * @secure
2706
+ */
2707
+ this.surveysResponsesListPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.responses.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2708
+ /**
2709
+ * @description Sends a survey on the specified channels.
2710
+ *
2711
+ * @tags surveys
2712
+ * @name SurveysSend
2713
+ * @request POST:/surveys.send
2714
+ * @secure
2715
+ */
2716
+ this.surveysSend = (data, params = {}) => this.request(Object.assign({ path: `/surveys.send`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2717
+ /**
2718
+ * @description Submits a user response to a survey, which is defined by the survey ID.
2719
+ *
2720
+ * @tags surveys
2721
+ * @name SurveysSubmit
2722
+ * @request POST:/surveys.submit
2723
+ * @secure
2724
+ */
2725
+ this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2204
2726
  /**
2205
2727
  * @description Lists system users within your organization.
2206
2728
  *
@@ -2354,6 +2876,33 @@ class Api extends HttpClient {
2354
2876
  * @secure
2355
2877
  */
2356
2878
  this.timelineEntriesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/timeline-entries.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2879
+ /**
2880
+ * @description Allows publishing of events (example from plug widget).
2881
+ *
2882
+ * @tags event-source
2883
+ * @name TrackEventsPublish
2884
+ * @request POST:/track-events.publish
2885
+ * @secure
2886
+ */
2887
+ this.trackEventsPublish = (data, params = {}) => this.request(Object.assign({ path: `/track-events.publish`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2888
+ /**
2889
+ * @description Counts the number of Unit of Measurements based on the given filters.
2890
+ *
2891
+ * @tags product-usage
2892
+ * @name UomsCount
2893
+ * @request GET:/uoms.count
2894
+ * @secure
2895
+ */
2896
+ this.uomsCount = (query, params = {}) => this.request(Object.assign({ path: `/uoms.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2897
+ /**
2898
+ * @description Counts the number of Unit of Measurements based on the given filters.
2899
+ *
2900
+ * @tags product-usage
2901
+ * @name UomsCountPost
2902
+ * @request POST:/uoms.count
2903
+ * @secure
2904
+ */
2905
+ this.uomsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/uoms.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2357
2906
  /**
2358
2907
  * @description Creates a Unit of Measurement on a part.
2359
2908
  *