@devrev/typescript-sdk 1.1.57 → 1.1.59
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.
|
@@ -10197,6 +10197,11 @@ export type LinkableSummary = PartBaseSummary;
|
|
|
10197
10197
|
* The request to create a new link.
|
|
10198
10198
|
*/
|
|
10199
10199
|
export interface LinksCreateRequest {
|
|
10200
|
+
/**
|
|
10201
|
+
* The ID of the custom link type.
|
|
10202
|
+
* @format id
|
|
10203
|
+
*/
|
|
10204
|
+
custom_link_type?: string;
|
|
10200
10205
|
/** Type of link used to define the relationship. */
|
|
10201
10206
|
link_type: LinkType;
|
|
10202
10207
|
/**
|
|
@@ -12795,6 +12800,84 @@ export declare enum ReactionsUpdateRequestAction {
|
|
|
12795
12800
|
}
|
|
12796
12801
|
/** reactions-update-response */
|
|
12797
12802
|
export type ReactionsUpdateResponse = object;
|
|
12803
|
+
/** record-template */
|
|
12804
|
+
export type RecordTemplate = AtomBase & {
|
|
12805
|
+
/**
|
|
12806
|
+
* Custom Fields of the object that the record template is associated
|
|
12807
|
+
* with.
|
|
12808
|
+
*/
|
|
12809
|
+
custom_fields?: RecordTemplateFieldValues[];
|
|
12810
|
+
/**
|
|
12811
|
+
* Description of the record template.
|
|
12812
|
+
* @format text
|
|
12813
|
+
*/
|
|
12814
|
+
description?: string;
|
|
12815
|
+
/**
|
|
12816
|
+
* Type of object that the record template is associated with.
|
|
12817
|
+
* @format text
|
|
12818
|
+
*/
|
|
12819
|
+
leaf_type?: string;
|
|
12820
|
+
/**
|
|
12821
|
+
* Name of the record template.
|
|
12822
|
+
* @format text
|
|
12823
|
+
*/
|
|
12824
|
+
name?: string;
|
|
12825
|
+
/** Shared with membership. */
|
|
12826
|
+
shared_with?: SharedWithMembership[];
|
|
12827
|
+
/** State of the record template. */
|
|
12828
|
+
state?: RecordTemplateState;
|
|
12829
|
+
/**
|
|
12830
|
+
* Stock Fields of the object that the record template is associated
|
|
12831
|
+
* with.
|
|
12832
|
+
*/
|
|
12833
|
+
stock_fields?: RecordTemplateFieldValues[];
|
|
12834
|
+
/**
|
|
12835
|
+
* Subtype of the object that the record template is associated with.
|
|
12836
|
+
* @format text
|
|
12837
|
+
*/
|
|
12838
|
+
subtype?: string;
|
|
12839
|
+
};
|
|
12840
|
+
/**
|
|
12841
|
+
* record-template-field-values
|
|
12842
|
+
* Information about the field values.
|
|
12843
|
+
*/
|
|
12844
|
+
export interface RecordTemplateFieldValues {
|
|
12845
|
+
/**
|
|
12846
|
+
* The field's name.
|
|
12847
|
+
* @format text
|
|
12848
|
+
*/
|
|
12849
|
+
field_name?: string;
|
|
12850
|
+
/** Value of the given field. */
|
|
12851
|
+
field_value?: any;
|
|
12852
|
+
}
|
|
12853
|
+
/** record-template-get-request */
|
|
12854
|
+
export interface RecordTemplateGetRequest {
|
|
12855
|
+
/**
|
|
12856
|
+
* The ID of the record template.
|
|
12857
|
+
* @format id
|
|
12858
|
+
*/
|
|
12859
|
+
id: string;
|
|
12860
|
+
}
|
|
12861
|
+
/** record-template-get-response */
|
|
12862
|
+
export interface RecordTemplateGetResponse {
|
|
12863
|
+
record_template_info: RecordTemplateInfo;
|
|
12864
|
+
}
|
|
12865
|
+
/** record-template-info */
|
|
12866
|
+
export interface RecordTemplateInfo {
|
|
12867
|
+
record_template: RecordTemplate;
|
|
12868
|
+
/**
|
|
12869
|
+
* List of fields that do not conform to the expected schema of the
|
|
12870
|
+
* underlying leaf type of the template object.
|
|
12871
|
+
*/
|
|
12872
|
+
stale_fields?: RecordTemplateFieldValues[];
|
|
12873
|
+
}
|
|
12874
|
+
/** State of the record template. */
|
|
12875
|
+
export declare enum RecordTemplateState {
|
|
12876
|
+
Active = "active",
|
|
12877
|
+
Draft = "draft",
|
|
12878
|
+
Inactive = "inactive",
|
|
12879
|
+
NeedsAttention = "needs_attention"
|
|
12880
|
+
}
|
|
12798
12881
|
/** remove-tag-with-value */
|
|
12799
12882
|
export interface RemoveTagWithValue {
|
|
12800
12883
|
/**
|
|
@@ -16230,6 +16313,63 @@ export interface SubWidget {
|
|
|
16230
16313
|
*/
|
|
16231
16314
|
visualization: WidgetVisualization;
|
|
16232
16315
|
}
|
|
16316
|
+
/** subscribers-list-request */
|
|
16317
|
+
export interface SubscribersListRequest {
|
|
16318
|
+
/**
|
|
16319
|
+
* The cursor to resume iteration from, otherwise if not provided,
|
|
16320
|
+
* then iteration starts from the beginning.
|
|
16321
|
+
* @format text
|
|
16322
|
+
*/
|
|
16323
|
+
cursor?: string;
|
|
16324
|
+
/**
|
|
16325
|
+
* The object's ID.
|
|
16326
|
+
* @format id
|
|
16327
|
+
* @example "ISS-12345"
|
|
16328
|
+
*/
|
|
16329
|
+
id: string;
|
|
16330
|
+
/**
|
|
16331
|
+
* The maximum number of subscribers to return. If not set or `<= 0`,
|
|
16332
|
+
* then this defaults to `50`.
|
|
16333
|
+
* @format int32
|
|
16334
|
+
*/
|
|
16335
|
+
limit?: number;
|
|
16336
|
+
}
|
|
16337
|
+
/** subscribers-list-response */
|
|
16338
|
+
export interface SubscribersListResponse {
|
|
16339
|
+
/**
|
|
16340
|
+
* The cursor that should be used to iterate the next sequence of
|
|
16341
|
+
* results, otherwise if not set, then no elements exist after.
|
|
16342
|
+
* @format text
|
|
16343
|
+
*/
|
|
16344
|
+
next_cursor?: string;
|
|
16345
|
+
/** The list of subscribers on the object. */
|
|
16346
|
+
users: UserSummary[];
|
|
16347
|
+
}
|
|
16348
|
+
/** subscribers-update-request */
|
|
16349
|
+
export interface SubscribersUpdateRequest {
|
|
16350
|
+
/**
|
|
16351
|
+
* The object's ID.
|
|
16352
|
+
* @format id
|
|
16353
|
+
* @example "ISS-12345"
|
|
16354
|
+
*/
|
|
16355
|
+
id: string;
|
|
16356
|
+
subscribers?: SubscribersUpdateRequestSubscribers;
|
|
16357
|
+
}
|
|
16358
|
+
/** subscribers-update-request-subscribers */
|
|
16359
|
+
export interface SubscribersUpdateRequestSubscribers {
|
|
16360
|
+
/**
|
|
16361
|
+
* The list of users to add as subscribers on the object.
|
|
16362
|
+
* @example ["DEVU-12345"]
|
|
16363
|
+
*/
|
|
16364
|
+
add?: string[];
|
|
16365
|
+
/**
|
|
16366
|
+
* The list of users to remove as subscribers on the object.
|
|
16367
|
+
* @example ["DEVU-12345"]
|
|
16368
|
+
*/
|
|
16369
|
+
remove?: string[];
|
|
16370
|
+
}
|
|
16371
|
+
/** subscribers-update-response */
|
|
16372
|
+
export type SubscribersUpdateResponse = object;
|
|
16233
16373
|
/** subtype */
|
|
16234
16374
|
export interface Subtype {
|
|
16235
16375
|
/**
|
|
@@ -25081,6 +25221,32 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
25081
25221
|
* @secure
|
|
25082
25222
|
*/
|
|
25083
25223
|
getReply: (data: GetReplyRequest, params?: RequestParams) => Promise<AxiosResponse<GetReplyResponse, any>>;
|
|
25224
|
+
/**
|
|
25225
|
+
* @description Gets a record template object.
|
|
25226
|
+
*
|
|
25227
|
+
* @tags record-templates
|
|
25228
|
+
* @name RecordTemplateGet
|
|
25229
|
+
* @summary Get Record Template
|
|
25230
|
+
* @request GET:/record-templates.get
|
|
25231
|
+
* @secure
|
|
25232
|
+
*/
|
|
25233
|
+
recordTemplateGet: (query: {
|
|
25234
|
+
/**
|
|
25235
|
+
* The ID of the record template.
|
|
25236
|
+
* @format id
|
|
25237
|
+
*/
|
|
25238
|
+
id: string;
|
|
25239
|
+
}, params?: RequestParams) => Promise<AxiosResponse<RecordTemplateGetResponse, any>>;
|
|
25240
|
+
/**
|
|
25241
|
+
* @description Gets a record template object.
|
|
25242
|
+
*
|
|
25243
|
+
* @tags record-templates
|
|
25244
|
+
* @name RecordTemplateGetPost
|
|
25245
|
+
* @summary Get Record Template (POST)
|
|
25246
|
+
* @request POST:/record-templates.get
|
|
25247
|
+
* @secure
|
|
25248
|
+
*/
|
|
25249
|
+
recordTemplateGetPost: (data: RecordTemplateGetRequest, params?: RequestParams) => Promise<AxiosResponse<RecordTemplateGetResponse, any>>;
|
|
25084
25250
|
/**
|
|
25085
25251
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
25086
25252
|
*
|
|
@@ -26525,6 +26691,55 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
26525
26691
|
* @secure
|
|
26526
26692
|
*/
|
|
26527
26693
|
customStatesUpdate: (data: CustomStatesUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<CustomStatesUpdateResponse, any>>;
|
|
26694
|
+
/**
|
|
26695
|
+
* @description Lists subscribers of an object.
|
|
26696
|
+
*
|
|
26697
|
+
* @tags subscribers
|
|
26698
|
+
* @name SubscribersList
|
|
26699
|
+
* @summary List Subscribers
|
|
26700
|
+
* @request GET:/subscribers.list
|
|
26701
|
+
* @secure
|
|
26702
|
+
*/
|
|
26703
|
+
subscribersList: (query: {
|
|
26704
|
+
/**
|
|
26705
|
+
* The object's ID.
|
|
26706
|
+
* @format id
|
|
26707
|
+
* @example "ISS-12345"
|
|
26708
|
+
*/
|
|
26709
|
+
id: string;
|
|
26710
|
+
/**
|
|
26711
|
+
* The cursor to resume iteration from, otherwise if not provided, then
|
|
26712
|
+
* iteration starts from the beginning.
|
|
26713
|
+
* @format text
|
|
26714
|
+
*/
|
|
26715
|
+
cursor?: string;
|
|
26716
|
+
/**
|
|
26717
|
+
* The maximum number of subscribers to return. If not set or `<= 0`,
|
|
26718
|
+
* then this defaults to `50`.
|
|
26719
|
+
* @format int32
|
|
26720
|
+
*/
|
|
26721
|
+
limit?: number;
|
|
26722
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SubscribersListResponse, any>>;
|
|
26723
|
+
/**
|
|
26724
|
+
* @description Lists subscribers of an object.
|
|
26725
|
+
*
|
|
26726
|
+
* @tags subscribers
|
|
26727
|
+
* @name SubscribersListPost
|
|
26728
|
+
* @summary List Subscribers (POST)
|
|
26729
|
+
* @request POST:/subscribers.list
|
|
26730
|
+
* @secure
|
|
26731
|
+
*/
|
|
26732
|
+
subscribersListPost: (data: SubscribersListRequest, params?: RequestParams) => Promise<AxiosResponse<SubscribersListResponse, any>>;
|
|
26733
|
+
/**
|
|
26734
|
+
* @description Updates subscribers on the object.
|
|
26735
|
+
*
|
|
26736
|
+
* @tags subscribers
|
|
26737
|
+
* @name SubscribersUpdate
|
|
26738
|
+
* @summary Update Subscriber
|
|
26739
|
+
* @request POST:/subscribers.update
|
|
26740
|
+
* @secure
|
|
26741
|
+
*/
|
|
26742
|
+
subscribersUpdate: (data: SubscribersUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
26528
26743
|
/**
|
|
26529
26744
|
* @description Creates a schema for survey, which includes name and description of schema.
|
|
26530
26745
|
*
|
|
@@ -34,9 +34,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = 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.ChatType = 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.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = void 0;
|
|
37
|
+
exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.RecordTemplateState = 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.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = void 0;
|
|
38
|
+
exports.VisualizationAxisColorType = 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.TableVisualizationColumnPinPosition = exports.TableVisualizationColumnLockPosition = 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.SnapWidgetInteractionType = exports.SnapWidgetClickInteractionClickAction = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = void 0;
|
|
39
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = void 0;
|
|
40
40
|
var AccessLevel;
|
|
41
41
|
(function (AccessLevel) {
|
|
42
42
|
AccessLevel["External"] = "external";
|
|
@@ -838,6 +838,14 @@ var ReactionsUpdateRequestAction;
|
|
|
838
838
|
ReactionsUpdateRequestAction["Add"] = "add";
|
|
839
839
|
ReactionsUpdateRequestAction["Remove"] = "remove";
|
|
840
840
|
})(ReactionsUpdateRequestAction = exports.ReactionsUpdateRequestAction || (exports.ReactionsUpdateRequestAction = {}));
|
|
841
|
+
/** State of the record template. */
|
|
842
|
+
var RecordTemplateState;
|
|
843
|
+
(function (RecordTemplateState) {
|
|
844
|
+
RecordTemplateState["Active"] = "active";
|
|
845
|
+
RecordTemplateState["Draft"] = "draft";
|
|
846
|
+
RecordTemplateState["Inactive"] = "inactive";
|
|
847
|
+
RecordTemplateState["NeedsAttention"] = "needs_attention";
|
|
848
|
+
})(RecordTemplateState = exports.RecordTemplateState || (exports.RecordTemplateState = {}));
|
|
841
849
|
/** Privileges the role provides. */
|
|
842
850
|
var RolePrivileges;
|
|
843
851
|
(function (RolePrivileges) {
|
|
@@ -3959,6 +3967,26 @@ class Api extends HttpClient {
|
|
|
3959
3967
|
* @secure
|
|
3960
3968
|
*/
|
|
3961
3969
|
this.getReply = (data, params = {}) => this.request(Object.assign({ path: `/recommendations.get-reply`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3970
|
+
/**
|
|
3971
|
+
* @description Gets a record template object.
|
|
3972
|
+
*
|
|
3973
|
+
* @tags record-templates
|
|
3974
|
+
* @name RecordTemplateGet
|
|
3975
|
+
* @summary Get Record Template
|
|
3976
|
+
* @request GET:/record-templates.get
|
|
3977
|
+
* @secure
|
|
3978
|
+
*/
|
|
3979
|
+
this.recordTemplateGet = (query, params = {}) => this.request(Object.assign({ path: `/record-templates.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3980
|
+
/**
|
|
3981
|
+
* @description Gets a record template object.
|
|
3982
|
+
*
|
|
3983
|
+
* @tags record-templates
|
|
3984
|
+
* @name RecordTemplateGetPost
|
|
3985
|
+
* @summary Get Record Template (POST)
|
|
3986
|
+
* @request POST:/record-templates.get
|
|
3987
|
+
* @secure
|
|
3988
|
+
*/
|
|
3989
|
+
this.recordTemplateGetPost = (data, params = {}) => this.request(Object.assign({ path: `/record-templates.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3962
3990
|
/**
|
|
3963
3991
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
3964
3992
|
*
|
|
@@ -4801,6 +4829,36 @@ class Api extends HttpClient {
|
|
|
4801
4829
|
* @secure
|
|
4802
4830
|
*/
|
|
4803
4831
|
this.customStatesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4832
|
+
/**
|
|
4833
|
+
* @description Lists subscribers of an object.
|
|
4834
|
+
*
|
|
4835
|
+
* @tags subscribers
|
|
4836
|
+
* @name SubscribersList
|
|
4837
|
+
* @summary List Subscribers
|
|
4838
|
+
* @request GET:/subscribers.list
|
|
4839
|
+
* @secure
|
|
4840
|
+
*/
|
|
4841
|
+
this.subscribersList = (query, params = {}) => this.request(Object.assign({ path: `/subscribers.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
4842
|
+
/**
|
|
4843
|
+
* @description Lists subscribers of an object.
|
|
4844
|
+
*
|
|
4845
|
+
* @tags subscribers
|
|
4846
|
+
* @name SubscribersListPost
|
|
4847
|
+
* @summary List Subscribers (POST)
|
|
4848
|
+
* @request POST:/subscribers.list
|
|
4849
|
+
* @secure
|
|
4850
|
+
*/
|
|
4851
|
+
this.subscribersListPost = (data, params = {}) => this.request(Object.assign({ path: `/subscribers.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4852
|
+
/**
|
|
4853
|
+
* @description Updates subscribers on the object.
|
|
4854
|
+
*
|
|
4855
|
+
* @tags subscribers
|
|
4856
|
+
* @name SubscribersUpdate
|
|
4857
|
+
* @summary Update Subscriber
|
|
4858
|
+
* @request POST:/subscribers.update
|
|
4859
|
+
* @secure
|
|
4860
|
+
*/
|
|
4861
|
+
this.subscribersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/subscribers.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
4804
4862
|
/**
|
|
4805
4863
|
* @description Creates a schema for survey, which includes name and description of schema.
|
|
4806
4864
|
*
|
|
@@ -4596,6 +4596,11 @@ export declare enum LinkType {
|
|
|
4596
4596
|
* The request to create a new link.
|
|
4597
4597
|
*/
|
|
4598
4598
|
export interface LinksCreateRequest {
|
|
4599
|
+
/**
|
|
4600
|
+
* The ID of the custom link type.
|
|
4601
|
+
* @format id
|
|
4602
|
+
*/
|
|
4603
|
+
custom_link_type?: string;
|
|
4599
4604
|
/** Type of link used to define the relationship. */
|
|
4600
4605
|
link_type: LinkType;
|
|
4601
4606
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devrev/typescript-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.59",
|
|
4
4
|
"description": "## SDK Generation",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eslint-plugin-import": "^2.27.5",
|
|
34
34
|
"eslint-plugin-prettier": "^4.2.1",
|
|
35
35
|
"jest": "^29.6.1",
|
|
36
|
-
"nodemon": "^
|
|
36
|
+
"nodemon": "^3.1.10",
|
|
37
37
|
"prettier": "^2.8.8",
|
|
38
38
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
39
39
|
"rimraf": "^4.1.2",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@types/yargs": "^17.0.22",
|
|
47
|
-
"axios": "^1.
|
|
47
|
+
"axios": "^1.9.0",
|
|
48
48
|
"dotenv": "^16.0.3",
|
|
49
49
|
"protobufjs": "^7.3.0",
|
|
50
50
|
"yargs": "^17.6.2"
|