@devrev/typescript-sdk 1.1.34 → 1.1.35

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,9 +33,9 @@ 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.MetricActionExecuteRequestAction = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.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.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
- exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = void 0;
38
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = void 0;
36
+ exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = 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.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = void 0;
38
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = void 0;
39
39
  var AccessLevel;
40
40
  (function (AccessLevel) {
41
41
  AccessLevel["External"] = "external";
@@ -102,6 +102,7 @@ var AtomType;
102
102
  AtomType["Engagement"] = "engagement";
103
103
  AtomType["Enhancement"] = "enhancement";
104
104
  AtomType["Feature"] = "feature";
105
+ AtomType["Incident"] = "incident";
105
106
  AtomType["Issue"] = "issue";
106
107
  AtomType["Meeting"] = "meeting";
107
108
  AtomType["Opportunity"] = "opportunity";
@@ -132,6 +133,7 @@ var AuthConnectionType;
132
133
  (function (AuthConnectionType) {
133
134
  AuthConnectionType["GoogleApps"] = "google_apps";
134
135
  AuthConnectionType["Oidc"] = "oidc";
136
+ AuthConnectionType["Okta"] = "okta";
135
137
  AuthConnectionType["Samlp"] = "samlp";
136
138
  AuthConnectionType["Social"] = "social";
137
139
  AuthConnectionType["Waad"] = "waad";
@@ -241,6 +243,13 @@ var DateTimePresetType;
241
243
  DateTimePresetType["LastNDays"] = "last_n_days";
242
244
  DateTimePresetType["NextNDays"] = "next_n_days";
243
245
  })(DateTimePresetType = exports.DateTimePresetType || (exports.DateTimePresetType = {}));
246
+ /** Indicates whether this evaluation can change in the future. */
247
+ var Definedness;
248
+ (function (Definedness) {
249
+ Definedness["Immutable"] = "immutable";
250
+ Definedness["Mutable"] = "mutable";
251
+ Definedness["Undefined"] = "undefined";
252
+ })(Definedness = exports.Definedness || (exports.Definedness = {}));
244
253
  /**
245
254
  * Defines the type for the authentication connection. Different types of
246
255
  * authentication connections have different configuration parameters.
@@ -249,6 +258,7 @@ var DevOrgAuthConnectionsCreateRequestType;
249
258
  (function (DevOrgAuthConnectionsCreateRequestType) {
250
259
  DevOrgAuthConnectionsCreateRequestType["GoogleApps"] = "google_apps";
251
260
  DevOrgAuthConnectionsCreateRequestType["Oidc"] = "oidc";
261
+ DevOrgAuthConnectionsCreateRequestType["Okta"] = "okta";
252
262
  DevOrgAuthConnectionsCreateRequestType["Samlp"] = "samlp";
253
263
  DevOrgAuthConnectionsCreateRequestType["Waad"] = "waad";
254
264
  })(DevOrgAuthConnectionsCreateRequestType = exports.DevOrgAuthConnectionsCreateRequestType || (exports.DevOrgAuthConnectionsCreateRequestType = {}));
@@ -262,6 +272,7 @@ var DevOrgAuthConnectionsUpdateRequestType;
262
272
  DevOrgAuthConnectionsUpdateRequestType["GoogleApps"] = "google_apps";
263
273
  DevOrgAuthConnectionsUpdateRequestType["None"] = "none";
264
274
  DevOrgAuthConnectionsUpdateRequestType["Oidc"] = "oidc";
275
+ DevOrgAuthConnectionsUpdateRequestType["Okta"] = "okta";
265
276
  DevOrgAuthConnectionsUpdateRequestType["Samlp"] = "samlp";
266
277
  DevOrgAuthConnectionsUpdateRequestType["Waad"] = "waad";
267
278
  })(DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsUpdateRequestType || (exports.DevOrgAuthConnectionsUpdateRequestType = {}));
@@ -373,6 +384,20 @@ var EventSourceStatus;
373
384
  EventSourceStatus["Blocked"] = "blocked";
374
385
  EventSourceStatus["Paused"] = "paused";
375
386
  })(EventSourceStatus = exports.EventSourceStatus || (exports.EventSourceStatus = {}));
387
+ var ExternalSystemType;
388
+ (function (ExternalSystemType) {
389
+ ExternalSystemType["Adaas"] = "adaas";
390
+ ExternalSystemType["Confluence"] = "confluence";
391
+ ExternalSystemType["Github"] = "github";
392
+ ExternalSystemType["Hubspot"] = "hubspot";
393
+ ExternalSystemType["Jira"] = "jira";
394
+ ExternalSystemType["Linear"] = "linear";
395
+ ExternalSystemType["Rocketlane"] = "rocketlane";
396
+ ExternalSystemType["SalesforceSales"] = "salesforce_sales";
397
+ ExternalSystemType["SalesforceService"] = "salesforce_service";
398
+ ExternalSystemType["Servicenow"] = "servicenow";
399
+ ExternalSystemType["Zendesk"] = "zendesk";
400
+ })(ExternalSystemType = exports.ExternalSystemType || (exports.ExternalSystemType = {}));
376
401
  var FieldValueType;
377
402
  (function (FieldValueType) {
378
403
  FieldValueType["Bool"] = "bool";
@@ -445,6 +470,7 @@ var LinkEndpointType;
445
470
  LinkEndpointType["DevUser"] = "dev_user";
446
471
  LinkEndpointType["Enhancement"] = "enhancement";
447
472
  LinkEndpointType["Feature"] = "feature";
473
+ LinkEndpointType["Incident"] = "incident";
448
474
  LinkEndpointType["Issue"] = "issue";
449
475
  LinkEndpointType["Opportunity"] = "opportunity";
450
476
  LinkEndpointType["Product"] = "product";
@@ -877,6 +903,53 @@ var SyncOutStatus;
877
903
  SyncOutStatus["Modified"] = "modified";
878
904
  SyncOutStatus["Succeeded"] = "succeeded";
879
905
  })(SyncOutStatus = exports.SyncOutStatus || (exports.SyncOutStatus = {}));
906
+ /** The state of a sync progress. */
907
+ var SyncProgressState;
908
+ (function (SyncProgressState) {
909
+ SyncProgressState["Completed"] = "completed";
910
+ SyncProgressState["DeleteInProgress"] = "delete_in_progress";
911
+ SyncProgressState["Deleted"] = "deleted";
912
+ SyncProgressState["DeletionError"] = "deletion_error";
913
+ SyncProgressState["ExtractAttachments"] = "extract_attachments";
914
+ SyncProgressState["ExtractAttachmentsError"] = "extract_attachments_error";
915
+ SyncProgressState["Extraction"] = "extraction";
916
+ SyncProgressState["ExtractionError"] = "extraction_error";
917
+ SyncProgressState["Loading"] = "loading";
918
+ SyncProgressState["LoadingAttachments"] = "loading_attachments";
919
+ SyncProgressState["LoadingAttachmentsError"] = "loading_attachments_error";
920
+ SyncProgressState["LoadingError"] = "loading_error";
921
+ SyncProgressState["RecipeDiscovery"] = "recipe_discovery";
922
+ SyncProgressState["RecipeDiscoveryError"] = "recipe_discovery_error";
923
+ SyncProgressState["RecipeDiscoveryWaitingForUserInput"] = "recipe_discovery_waiting_for_user_input";
924
+ SyncProgressState["Starting"] = "starting";
925
+ SyncProgressState["Transformation"] = "transformation";
926
+ SyncProgressState["TransformationError"] = "transformation_error";
927
+ })(SyncProgressState = exports.SyncProgressState || (exports.SyncProgressState = {}));
928
+ /** The direction/mode of a sync run. */
929
+ var SyncRunMode;
930
+ (function (SyncRunMode) {
931
+ SyncRunMode["Initial"] = "initial";
932
+ SyncRunMode["SyncFromDevrev"] = "sync_from_devrev";
933
+ SyncRunMode["SyncToDevrev"] = "sync_to_devrev";
934
+ })(SyncRunMode = exports.SyncRunMode || (exports.SyncRunMode = {}));
935
+ /** The state of a sync progress. */
936
+ var SyncRunProgressState;
937
+ (function (SyncRunProgressState) {
938
+ SyncRunProgressState["Completed"] = "completed";
939
+ SyncRunProgressState["Failed"] = "failed";
940
+ })(SyncRunProgressState = exports.SyncRunProgressState || (exports.SyncRunProgressState = {}));
941
+ /** Describes how the sync was initiated. */
942
+ var SyncRunStartedBy;
943
+ (function (SyncRunStartedBy) {
944
+ SyncRunStartedBy["PeriodicSyncScheduler"] = "periodic_sync_scheduler";
945
+ SyncRunStartedBy["User"] = "user";
946
+ })(SyncRunStartedBy = exports.SyncRunStartedBy || (exports.SyncRunStartedBy = {}));
947
+ /** Type of sync preferences. */
948
+ var SyncUnitSyncType;
949
+ (function (SyncUnitSyncType) {
950
+ SyncUnitSyncType["Manual"] = "manual";
951
+ SyncUnitSyncType["Periodic"] = "periodic";
952
+ })(SyncUnitSyncType = exports.SyncUnitSyncType || (exports.SyncUnitSyncType = {}));
880
953
  /** Priority of the work based upon impact and criticality. */
881
954
  var TaskPriority;
882
955
  (function (TaskPriority) {
@@ -942,6 +1015,7 @@ var TimelineEntryObjectType;
942
1015
  TimelineEntryObjectType["Engagement"] = "engagement";
943
1016
  TimelineEntryObjectType["Enhancement"] = "enhancement";
944
1017
  TimelineEntryObjectType["Feature"] = "feature";
1018
+ TimelineEntryObjectType["Incident"] = "incident";
945
1019
  TimelineEntryObjectType["Issue"] = "issue";
946
1020
  TimelineEntryObjectType["Meeting"] = "meeting";
947
1021
  TimelineEntryObjectType["Opportunity"] = "opportunity";
@@ -1053,6 +1127,9 @@ var WebhookEventType;
1053
1127
  WebhookEventType["GroupMemberAdded"] = "group_member_added";
1054
1128
  WebhookEventType["GroupMemberRemoved"] = "group_member_removed";
1055
1129
  WebhookEventType["GroupUpdated"] = "group_updated";
1130
+ WebhookEventType["IncidentCreated"] = "incident_created";
1131
+ WebhookEventType["IncidentDeleted"] = "incident_deleted";
1132
+ WebhookEventType["IncidentUpdated"] = "incident_updated";
1056
1133
  WebhookEventType["LinkCreated"] = "link_created";
1057
1134
  WebhookEventType["LinkDeleted"] = "link_deleted";
1058
1135
  WebhookEventType["LinkUpdated"] = "link_updated";
@@ -1074,6 +1151,9 @@ var WebhookEventType;
1074
1151
  WebhookEventType["SurveyResponseDeleted"] = "survey_response_deleted";
1075
1152
  WebhookEventType["SurveyResponseUpdated"] = "survey_response_updated";
1076
1153
  WebhookEventType["SurveyUpdated"] = "survey_updated";
1154
+ WebhookEventType["SyncHistoryCreated"] = "sync_history_created";
1155
+ WebhookEventType["SyncHistoryDeleted"] = "sync_history_deleted";
1156
+ WebhookEventType["SyncHistoryUpdated"] = "sync_history_updated";
1077
1157
  WebhookEventType["TagCreated"] = "tag_created";
1078
1158
  WebhookEventType["TagDeleted"] = "tag_deleted";
1079
1159
  WebhookEventType["TagUpdated"] = "tag_updated";
@@ -1262,6 +1342,15 @@ class Api extends HttpClient {
1262
1342
  * @secure
1263
1343
  */
1264
1344
  this.accountsListPost = (data, params = {}) => this.request(Object.assign({ path: `/accounts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1345
+ /**
1346
+ * @description Merges two accounts.
1347
+ *
1348
+ * @tags accounts
1349
+ * @name AccountsMerge
1350
+ * @request POST:/accounts.merge
1351
+ * @secure
1352
+ */
1353
+ this.accountsMerge = (data, params = {}) => this.request(Object.assign({ path: `/accounts.merge`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1265
1354
  /**
1266
1355
  * @description Updates an account's information.
1267
1356
  *
@@ -1271,6 +1360,42 @@ class Api extends HttpClient {
1271
1360
  * @secure
1272
1361
  */
1273
1362
  this.accountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1363
+ /**
1364
+ * @description Gets a single sync unit's information.
1365
+ *
1366
+ * @tags airdrop
1367
+ * @name AirdropSyncUnitsGet
1368
+ * @request GET:/airdrop.sync-units.get
1369
+ * @secure
1370
+ */
1371
+ this.airdropSyncUnitsGet = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1372
+ /**
1373
+ * @description Gets a single sync unit's information.
1374
+ *
1375
+ * @tags airdrop
1376
+ * @name AirdropSyncUnitsGetPost
1377
+ * @request POST:/airdrop.sync-units.get
1378
+ * @secure
1379
+ */
1380
+ this.airdropSyncUnitsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1381
+ /**
1382
+ * @description Gets a list of sync unit historical records.
1383
+ *
1384
+ * @tags airdrop
1385
+ * @name AirdropSyncUnitsHistory
1386
+ * @request GET:/airdrop.sync-units.history
1387
+ * @secure
1388
+ */
1389
+ this.airdropSyncUnitsHistory = (query, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.history`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1390
+ /**
1391
+ * @description Gets a list of sync unit historical records.
1392
+ *
1393
+ * @tags airdrop
1394
+ * @name AirdropSyncUnitsHistoryPost
1395
+ * @request POST:/airdrop.sync-units.history
1396
+ * @secure
1397
+ */
1398
+ this.airdropSyncUnitsHistoryPost = (data, params = {}) => this.request(Object.assign({ path: `/airdrop.sync-units.history`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1274
1399
  /**
1275
1400
  * @description Get count of articles matching given filter.
1276
1401
  *
@@ -1865,6 +1990,24 @@ class Api extends HttpClient {
1865
1990
  * @secure
1866
1991
  */
1867
1992
  this.devOrgAuthConnectionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1993
+ /**
1994
+ * @description Activates the requested user.
1995
+ *
1996
+ * @tags dev-users
1997
+ * @name DevUsersActivate
1998
+ * @request POST:/dev-users.activate
1999
+ * @secure
2000
+ */
2001
+ this.devUsersActivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.activate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2002
+ /**
2003
+ * @description Deactivates the requested user.
2004
+ *
2005
+ * @tags dev-users
2006
+ * @name DevUsersDeactivate
2007
+ * @request POST:/dev-users.deactivate
2008
+ * @secure
2009
+ */
2010
+ this.devUsersDeactivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.deactivate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1868
2011
  /**
1869
2012
  * @description Gets the requested user's information.
1870
2013
  *
@@ -2584,6 +2727,24 @@ class Api extends HttpClient {
2584
2727
  * @secure
2585
2728
  */
2586
2729
  this.orgSchedulesCreate = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2730
+ /**
2731
+ * @description Evaluates an organization's schedule at specified instants.
2732
+ *
2733
+ * @tags schedules
2734
+ * @name OrgSchedulesEvaluate
2735
+ * @request GET:/org-schedules.evaluate
2736
+ * @secure
2737
+ */
2738
+ this.orgSchedulesEvaluate = (query, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'GET', query: query, secure: true, format: 'json' }, params));
2739
+ /**
2740
+ * @description Evaluates an organization's schedule at specified instants.
2741
+ *
2742
+ * @tags schedules
2743
+ * @name OrgSchedulesEvaluatePost
2744
+ * @request POST:/org-schedules.evaluate
2745
+ * @secure
2746
+ */
2747
+ this.orgSchedulesEvaluatePost = (data, params = {}) => this.request(Object.assign({ path: `/org-schedules.evaluate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2587
2748
  /**
2588
2749
  * @description Gets an organization schedule.
2589
2750
  *
@@ -3475,6 +3636,15 @@ class Api extends HttpClient {
3475
3636
  * @secure
3476
3637
  */
3477
3638
  this.surveysSubmit = (data, params = {}) => this.request(Object.assign({ path: `/surveys.submit`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3639
+ /**
3640
+ * @description Updates a survey's metadata.
3641
+ *
3642
+ * @tags surveys
3643
+ * @name SurveysUpdate
3644
+ * @request POST:/surveys.update
3645
+ * @secure
3646
+ */
3647
+ this.surveysUpdate = (data, params = {}) => this.request(Object.assign({ path: `/surveys.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3478
3648
  /**
3479
3649
  * @description Lists system users within your organization.
3480
3650
  *
@@ -3736,6 +3906,15 @@ class Api extends HttpClient {
3736
3906
  * @secure
3737
3907
  */
3738
3908
  this.webhooksDelete = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3909
+ /**
3910
+ * @description Describes a webhook invocation for an event from DevRev to a webhook's target URL, where the receiving handler must implement the specified protocol. Note the documented endpoint is for exposition and not provided by DevRev.
3911
+ *
3912
+ * @tags webhooks
3913
+ * @name WebhooksEvent
3914
+ * @request POST:/webhooks.event
3915
+ * @secure
3916
+ */
3917
+ this.webhooksEvent = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.event`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3739
3918
  /**
3740
3919
  * @description Fetches an object via webhook.
3741
3920
  *