@devrev/typescript-sdk 1.1.39 → 1.1.41

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.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.ChatCompletionsRequestMessageRole = 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.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 = exports.MeetingState = exports.MeetingChannel = exports.ListMode = void 0;
38
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = void 0;
36
+ 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.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.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.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = void 0;
38
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = void 0;
39
39
  var AccessLevel;
40
40
  (function (AccessLevel) {
41
41
  AccessLevel["External"] = "external";
@@ -91,6 +91,11 @@ var ArticleType;
91
91
  ArticleType["Article"] = "article";
92
92
  ArticleType["ContentBlock"] = "content_block";
93
93
  })(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
94
+ var AssociatedToType;
95
+ (function (AssociatedToType) {
96
+ AssociatedToType["Account"] = "account";
97
+ AssociatedToType["RevOrg"] = "rev_org";
98
+ })(AssociatedToType = exports.AssociatedToType || (exports.AssociatedToType = {}));
94
99
  var AtomType;
95
100
  (function (AtomType) {
96
101
  AtomType["Account"] = "account";
@@ -211,6 +216,47 @@ var CodeChangeSource;
211
216
  CodeChangeSource["Bitbucket"] = "bitbucket";
212
217
  CodeChangeSource["Github"] = "github";
213
218
  })(CodeChangeSource = exports.CodeChangeSource || (exports.CodeChangeSource = {}));
219
+ /** Specifies how the action is defined. */
220
+ var CommandActionExecutorType;
221
+ (function (CommandActionExecutorType) {
222
+ CommandActionExecutorType["Rego"] = "rego";
223
+ CommandActionExecutorType["Workflow"] = "workflow";
224
+ })(CommandActionExecutorType = exports.CommandActionExecutorType || (exports.CommandActionExecutorType = {}));
225
+ /** The template engine for resolving message. */
226
+ var CommandActionTemplateType;
227
+ (function (CommandActionTemplateType) {
228
+ CommandActionTemplateType["DevrevV1"] = "devrev_v1";
229
+ })(CommandActionTemplateType = exports.CommandActionTemplateType || (exports.CommandActionTemplateType = {}));
230
+ /** Status of the command. */
231
+ var CommandStatus;
232
+ (function (CommandStatus) {
233
+ CommandStatus["Disabled"] = "disabled";
234
+ CommandStatus["Draft"] = "draft";
235
+ CommandStatus["Enabled"] = "enabled";
236
+ })(CommandStatus = exports.CommandStatus || (exports.CommandStatus = {}));
237
+ /** Objects types on which a command can be invoked. */
238
+ var CommandSurfaceObjectTypes;
239
+ (function (CommandSurfaceObjectTypes) {
240
+ CommandSurfaceObjectTypes["Account"] = "account";
241
+ CommandSurfaceObjectTypes["Article"] = "article";
242
+ CommandSurfaceObjectTypes["Conversation"] = "conversation";
243
+ CommandSurfaceObjectTypes["Engagement"] = "engagement";
244
+ CommandSurfaceObjectTypes["Flow"] = "flow";
245
+ CommandSurfaceObjectTypes["Incident"] = "incident";
246
+ CommandSurfaceObjectTypes["Issue"] = "issue";
247
+ CommandSurfaceObjectTypes["Opportunity"] = "opportunity";
248
+ CommandSurfaceObjectTypes["Part"] = "part";
249
+ CommandSurfaceObjectTypes["RevOrg"] = "rev_org";
250
+ CommandSurfaceObjectTypes["RevUser"] = "rev_user";
251
+ CommandSurfaceObjectTypes["SnapIn"] = "snap_in";
252
+ CommandSurfaceObjectTypes["Ticket"] = "ticket";
253
+ })(CommandSurfaceObjectTypes = exports.CommandSurfaceObjectTypes || (exports.CommandSurfaceObjectTypes = {}));
254
+ /** Surfaces from where this command can be invoked. */
255
+ var CommandSurfaceSurface;
256
+ (function (CommandSurfaceSurface) {
257
+ CommandSurfaceSurface["CustomerChat"] = "customer_chat";
258
+ CommandSurfaceSurface["Discussions"] = "discussions";
259
+ })(CommandSurfaceSurface = exports.CommandSurfaceSurface || (exports.CommandSurfaceSurface = {}));
214
260
  var ConversationsCreateRequestTypeValue;
215
261
  (function (ConversationsCreateRequestTypeValue) {
216
262
  ConversationsCreateRequestTypeValue["Support"] = "support";
@@ -657,6 +703,11 @@ var QuestionAnswerStatus;
657
703
  QuestionAnswerStatus["Published"] = "published";
658
704
  QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
659
705
  })(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
706
+ var ReactionsUpdateRequestAction;
707
+ (function (ReactionsUpdateRequestAction) {
708
+ ReactionsUpdateRequestAction["Add"] = "add";
709
+ ReactionsUpdateRequestAction["Remove"] = "remove";
710
+ })(ReactionsUpdateRequestAction = exports.ReactionsUpdateRequestAction || (exports.ReactionsUpdateRequestAction = {}));
660
711
  var SchemaFieldDescriptorArrayTypeBaseType;
661
712
  (function (SchemaFieldDescriptorArrayTypeBaseType) {
662
713
  SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
@@ -1742,6 +1793,60 @@ class Api extends HttpClient {
1742
1793
  * @secure
1743
1794
  */
1744
1795
  this.codeChangesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/code-changes.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1796
+ /**
1797
+ * @description Creates a command.
1798
+ *
1799
+ * @tags command
1800
+ * @name CommandsCreate
1801
+ * @request POST:/commands.create
1802
+ * @secure
1803
+ */
1804
+ this.commandsCreate = (data, params = {}) => this.request(Object.assign({ path: `/commands.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1805
+ /**
1806
+ * @description Gets a command.
1807
+ *
1808
+ * @tags command
1809
+ * @name CommandsGet
1810
+ * @request GET:/commands.get
1811
+ * @secure
1812
+ */
1813
+ this.commandsGet = (query, params = {}) => this.request(Object.assign({ path: `/commands.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1814
+ /**
1815
+ * @description Gets a command.
1816
+ *
1817
+ * @tags command
1818
+ * @name CommandsGetPost
1819
+ * @request POST:/commands.get
1820
+ * @secure
1821
+ */
1822
+ this.commandsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/commands.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1823
+ /**
1824
+ * @description Lists commands for a Dev organization.
1825
+ *
1826
+ * @tags command
1827
+ * @name CommandsList
1828
+ * @request GET:/commands.list
1829
+ * @secure
1830
+ */
1831
+ this.commandsList = (query, params = {}) => this.request(Object.assign({ path: `/commands.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1832
+ /**
1833
+ * @description Lists commands for a Dev organization.
1834
+ *
1835
+ * @tags command
1836
+ * @name CommandsListPost
1837
+ * @request POST:/commands.list
1838
+ * @secure
1839
+ */
1840
+ this.commandsListPost = (data, params = {}) => this.request(Object.assign({ path: `/commands.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1841
+ /**
1842
+ * @description Updates a command.
1843
+ *
1844
+ * @tags command
1845
+ * @name CommandsUpdate
1846
+ * @request POST:/commands.update
1847
+ * @secure
1848
+ */
1849
+ this.commandsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/commands.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1745
1850
  /**
1746
1851
  * @description Create the content template.
1747
1852
  *
@@ -3064,6 +3169,33 @@ class Api extends HttpClient {
3064
3169
  * @secure
3065
3170
  */
3066
3171
  this.updateQuestionAnswer = (data, params = {}) => this.request(Object.assign({ path: `/question-answers.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3172
+ /**
3173
+ * @description Lists the reactors for an object.
3174
+ *
3175
+ * @tags timeline-entries, works
3176
+ * @name ReactionsList
3177
+ * @request GET:/reactions.list
3178
+ * @secure
3179
+ */
3180
+ this.reactionsList = (query, params = {}) => this.request(Object.assign({ path: `/reactions.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
3181
+ /**
3182
+ * @description Lists the reactors for an object.
3183
+ *
3184
+ * @tags timeline-entries, works
3185
+ * @name ReactionsListPost
3186
+ * @request POST:/reactions.list
3187
+ * @secure
3188
+ */
3189
+ this.reactionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/reactions.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3190
+ /**
3191
+ * @description Updates a reaction for an object.
3192
+ *
3193
+ * @tags timeline-entries, works
3194
+ * @name ReactionsUpdate
3195
+ * @request POST:/reactions.update
3196
+ * @secure
3197
+ */
3198
+ this.reactionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/reactions.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3067
3199
  /**
3068
3200
  * @description Returns a response for the chat conversation.
3069
3201
  *
@@ -3145,6 +3277,24 @@ class Api extends HttpClient {
3145
3277
  * @secure
3146
3278
  */
3147
3279
  this.revOrgsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-orgs.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3280
+ /**
3281
+ * @description Returns a list of associations on a Rev user.
3282
+ *
3283
+ * @tags rev-users
3284
+ * @name RevUsersAssociationsList
3285
+ * @request GET:/rev-users.associations.list
3286
+ * @secure
3287
+ */
3288
+ this.revUsersAssociationsList = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.associations.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
3289
+ /**
3290
+ * @description Returns a list of associations on a Rev user.
3291
+ *
3292
+ * @tags rev-users
3293
+ * @name RevUsersAssociationsListPost
3294
+ * @request POST:/rev-users.associations.list
3295
+ * @secure
3296
+ */
3297
+ this.revUsersAssociationsListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.associations.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
3148
3298
  /**
3149
3299
  * @description Creates a Rev user for a Rev organization. Rev user can be a customer or a lead of an organization.
3150
3300
  *
@@ -4100,7 +4250,7 @@ class Api extends HttpClient {
4100
4250
  */
4101
4251
  this.webhooksUpdate = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4102
4252
  /**
4103
- * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://docs.devrev.ai/product/tasks) and opportunity work types are supported in the beta version.
4253
+ * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://devrev.ai/docs/product/tasks) and opportunity work types are supported in the beta version.
4104
4254
  *
4105
4255
  * @tags works
4106
4256
  * @name WorksCreate
@@ -8,7 +8,7 @@ export type Account = OrgBase & {
8
8
  * External refs are unique identifiers from your customer system of
9
9
  * records, stored as a list.
10
10
  */
11
- external_refs: string[];
11
+ external_refs?: string[];
12
12
  /** List of Dev user IDs owning this Account. */
13
13
  owned_by: UserSummary[];
14
14
  /** The Tier of the corresponding Account. */
@@ -1972,7 +1972,7 @@ export interface EventTimelineEntryCreated {
1972
1972
  export interface EventTimelineEntryDeleted {
1973
1973
  /**
1974
1974
  * The ID of the timeline entry that was deleted.
1975
- * @example "don:core:<partition>:devo/<dev-org-id>:ticket/123:timeline_event/<timeline-event-id>"
1975
+ * @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
1976
1976
  */
1977
1977
  id: string;
1978
1978
  old_entry?: TimelineEntry;
@@ -1990,7 +1990,7 @@ export interface EventWebhookCreated {
1990
1990
  export interface EventWebhookDeleted {
1991
1991
  /**
1992
1992
  * The ID of the webhook that was deleted.
1993
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
1993
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
1994
1994
  */
1995
1995
  id: string;
1996
1996
  }
@@ -4322,7 +4322,7 @@ export interface TimelineEntriesCreateResponse {
4322
4322
  export interface TimelineEntriesDeleteRequest {
4323
4323
  /**
4324
4324
  * The ID of the timeline entry to delete.
4325
- * @example "don:core:<partition>:devo/<dev-org-id>:ticket/123:timeline_event/<timeline-event-id>"
4325
+ * @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
4326
4326
  */
4327
4327
  id: string;
4328
4328
  }
@@ -4338,7 +4338,7 @@ export type TimelineEntriesDeleteResponse = object;
4338
4338
  export interface TimelineEntriesGetRequest {
4339
4339
  /**
4340
4340
  * The ID of the timeline entry to get.
4341
- * @example "don:core:<partition>:devo/<dev-org-id>:ticket/123:timeline_event/<timeline-event-id>"
4341
+ * @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
4342
4342
  */
4343
4343
  id: string;
4344
4344
  }
@@ -4411,7 +4411,7 @@ export type TimelineEntriesUpdateRequest = TimelineEntriesUpdateRequestTimelineC
4411
4411
  type: TimelineEntriesUpdateRequestType;
4412
4412
  /**
4413
4413
  * The ID of the timeline entry to update.
4414
- * @example "don:core:<partition>:devo/<dev-org-id>:ticket/123:timeline_event/<timeline-event-id>"
4414
+ * @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
4415
4415
  */
4416
4416
  id: string;
4417
4417
  };
@@ -4697,7 +4697,7 @@ export interface WebhookEventRequest {
4697
4697
  webhook_deleted?: EventWebhookDeleted;
4698
4698
  /**
4699
4699
  * ID of the webhook for the event.
4700
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
4700
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
4701
4701
  */
4702
4702
  webhook_id: string;
4703
4703
  webhook_updated?: EventWebhookUpdated;
@@ -4820,7 +4820,7 @@ export interface WebhooksCreateResponse {
4820
4820
  export interface WebhooksDeleteRequest {
4821
4821
  /**
4822
4822
  * ID for the webhook.
4823
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
4823
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
4824
4824
  */
4825
4825
  id: string;
4826
4826
  }
@@ -4836,7 +4836,7 @@ export type WebhooksDeleteResponse = object;
4836
4836
  export interface WebhooksGetRequest {
4837
4837
  /**
4838
4838
  * ID for the webhook.
4839
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
4839
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
4840
4840
  */
4841
4841
  id: string;
4842
4842
  }
@@ -4875,7 +4875,7 @@ export interface WebhooksUpdateRequest {
4875
4875
  event_types?: WebhooksUpdateRequestEventTypes;
4876
4876
  /**
4877
4877
  * ID for the webhook.
4878
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
4878
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
4879
4879
  */
4880
4880
  id: string;
4881
4881
  /**
@@ -6614,7 +6614,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6614
6614
  timelineEntriesGet: (query: {
6615
6615
  /**
6616
6616
  * The ID of the timeline entry to get.
6617
- * @example "don:core:<partition>:devo/<dev-org-id>:ticket/123:timeline_event/<timeline-event-id>"
6617
+ * @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
6618
6618
  */
6619
6619
  id: string;
6620
6620
  }, params?: RequestParams) => Promise<AxiosResponse<TimelineEntriesGetResponse, any>>;
@@ -6720,7 +6720,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6720
6720
  webhooksGet: (query: {
6721
6721
  /**
6722
6722
  * ID for the webhook.
6723
- * @example "don:integration:<partition>:devo/<dev-org-id>:webhook/<webhook-id>"
6723
+ * @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
6724
6724
  */
6725
6725
  id: string;
6726
6726
  }, params?: RequestParams) => Promise<AxiosResponse<WebhooksGetResponse, any>>;
@@ -6761,7 +6761,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6761
6761
  */
6762
6762
  webhooksUpdate: (data: WebhooksUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<WebhooksUpdateResponse, any>>;
6763
6763
  /**
6764
- * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://docs.devrev.ai/product/tasks) and opportunity work types are supported in the beta version.
6764
+ * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://devrev.ai/docs/product/tasks) and opportunity work types are supported in the beta version.
6765
6765
  *
6766
6766
  * @tags works
6767
6767
  * @name WorksCreate
@@ -1541,7 +1541,7 @@ class Api extends HttpClient {
1541
1541
  */
1542
1542
  this.webhooksUpdate = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
1543
1543
  /**
1544
- * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://docs.devrev.ai/product/tasks) and opportunity work types are supported in the beta version.
1544
+ * @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://devrev.ai/docs/product/tasks) and opportunity work types are supported in the beta version.
1545
1545
  *
1546
1546
  * @tags works
1547
1547
  * @name WorksCreate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/typescript-sdk",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "## SDK Generation",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {