@devrev/typescript-sdk 1.1.67 → 1.1.69
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.
- package/dist/auto-generated/beta/beta-devrev-sdk.d.ts +1213 -419
- package/dist/auto-generated/beta/beta-devrev-sdk.js +132 -4
- package/dist/auto-generated/public-devrev-sdk.d.ts +1093 -311
- package/dist/auto-generated/public-devrev-sdk.js +102 -3
- package/dist/tests/beta-devrev-sdk-util.test.js +12 -4
- package/dist/tests/error.test.js +7 -0
- package/package.json +2 -2
|
@@ -33,10 +33,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.VistaGroupItemGroupObjectType = exports.VistaFlavor = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = void 0;
|
|
36
|
+
exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DynamicVistaFilterType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsVistaGroupItemType = exports.ConversationsCreateRequestTypeValue = exports.ContentTemplateType = exports.ConfigurationProrationBehavior = exports.ConfigurationCollectionMethod = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.CaveatOperator = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArtifactConfigurationSet = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
|
+
exports.PrimitiveValueType = exports.PricingBillingCycle = exports.PreferencesType = exports.PartsVistaGroupItemType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.NotificationPriority = exports.MetricTrackerType = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingDirection = exports.MeetingChannel = exports.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupedVistaFilterType = exports.GroupType = exports.GroupMemberType = exports.GroupItemType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.ExportAuditLogsRequestOperationType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorSeeOtherType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = void 0;
|
|
38
|
+
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 = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SkuType = exports.SkuState = exports.ServicePlanStatus = exports.ServicePlanBillingCycle = exports.SendNotificationType = exports.SelectorObject = 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 = void 0;
|
|
39
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.VistaGroupItemGroupObjectType = exports.VistaFlavor = 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.TimeMetricTrackerStatus = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.TableVisualizationColumnPinPosition = void 0;
|
|
40
40
|
var AccessLevel;
|
|
41
41
|
(function (AccessLevel) {
|
|
42
42
|
AccessLevel["External"] = "external";
|
|
@@ -164,6 +164,7 @@ var AtomType;
|
|
|
164
164
|
AtomType["Task"] = "task";
|
|
165
165
|
AtomType["TenantFragment"] = "tenant_fragment";
|
|
166
166
|
AtomType["Ticket"] = "ticket";
|
|
167
|
+
AtomType["TimeMetricTracker"] = "time_metric_tracker";
|
|
167
168
|
AtomType["TimelineChangeEvent"] = "timeline_change_event";
|
|
168
169
|
AtomType["TimelineComment"] = "timeline_comment";
|
|
169
170
|
AtomType["Uom"] = "uom";
|
|
@@ -319,6 +320,25 @@ var CommandSurfaceSurface;
|
|
|
319
320
|
CommandSurfaceSurface["CustomerChat"] = "customer_chat";
|
|
320
321
|
CommandSurfaceSurface["Discussions"] = "discussions";
|
|
321
322
|
})(CommandSurfaceSurface = exports.CommandSurfaceSurface || (exports.CommandSurfaceSurface = {}));
|
|
323
|
+
/**
|
|
324
|
+
* Charge collection strategy for the service plan. Defaults to
|
|
325
|
+
* charge_automatically.
|
|
326
|
+
*/
|
|
327
|
+
var ConfigurationCollectionMethod;
|
|
328
|
+
(function (ConfigurationCollectionMethod) {
|
|
329
|
+
ConfigurationCollectionMethod["ChargeAutomatically"] = "charge_automatically";
|
|
330
|
+
ConfigurationCollectionMethod["SendInvoice"] = "send_invoice";
|
|
331
|
+
})(ConfigurationCollectionMethod = exports.ConfigurationCollectionMethod || (exports.ConfigurationCollectionMethod = {}));
|
|
332
|
+
/**
|
|
333
|
+
* Determines how to handle prorations resulting from the billing_date. If
|
|
334
|
+
* no value is passed, the default is create_prorations.
|
|
335
|
+
*/
|
|
336
|
+
var ConfigurationProrationBehavior;
|
|
337
|
+
(function (ConfigurationProrationBehavior) {
|
|
338
|
+
ConfigurationProrationBehavior["AlwaysInvoice"] = "always_invoice";
|
|
339
|
+
ConfigurationProrationBehavior["CreateProrations"] = "create_prorations";
|
|
340
|
+
ConfigurationProrationBehavior["None"] = "none";
|
|
341
|
+
})(ConfigurationProrationBehavior = exports.ConfigurationProrationBehavior || (exports.ConfigurationProrationBehavior = {}));
|
|
322
342
|
var ContentTemplateType;
|
|
323
343
|
(function (ContentTemplateType) {
|
|
324
344
|
ContentTemplateType["NotificationContentTemplate"] = "notification_content_template";
|
|
@@ -538,6 +558,10 @@ var ErrorNotFoundType;
|
|
|
538
558
|
(function (ErrorNotFoundType) {
|
|
539
559
|
ErrorNotFoundType["NotFound"] = "not_found";
|
|
540
560
|
})(ErrorNotFoundType = exports.ErrorNotFoundType || (exports.ErrorNotFoundType = {}));
|
|
561
|
+
var ErrorSeeOtherType;
|
|
562
|
+
(function (ErrorSeeOtherType) {
|
|
563
|
+
ErrorSeeOtherType["SeeOther"] = "see_other";
|
|
564
|
+
})(ErrorSeeOtherType = exports.ErrorSeeOtherType || (exports.ErrorSeeOtherType = {}));
|
|
541
565
|
var ErrorServiceUnavailableType;
|
|
542
566
|
(function (ErrorServiceUnavailableType) {
|
|
543
567
|
ErrorServiceUnavailableType["ServiceUnavailable"] = "service_unavailable";
|
|
@@ -589,6 +613,7 @@ var ExternalSystemType;
|
|
|
589
613
|
ExternalSystemType["JiraDataCenter"] = "jira_data_center";
|
|
590
614
|
ExternalSystemType["Linear"] = "linear";
|
|
591
615
|
ExternalSystemType["Rocketlane"] = "rocketlane";
|
|
616
|
+
ExternalSystemType["S3"] = "s3";
|
|
592
617
|
ExternalSystemType["SalesforceSales"] = "salesforce_sales";
|
|
593
618
|
ExternalSystemType["SalesforceService"] = "salesforce_service";
|
|
594
619
|
ExternalSystemType["Servicenow"] = "servicenow";
|
|
@@ -825,6 +850,7 @@ var MetricActionExecuteRequestAction;
|
|
|
825
850
|
var MetricDefinitionAppliesTo;
|
|
826
851
|
(function (MetricDefinitionAppliesTo) {
|
|
827
852
|
MetricDefinitionAppliesTo["Conversation"] = "conversation";
|
|
853
|
+
MetricDefinitionAppliesTo["Incident"] = "incident";
|
|
828
854
|
MetricDefinitionAppliesTo["Issue"] = "issue";
|
|
829
855
|
MetricDefinitionAppliesTo["Ticket"] = "ticket";
|
|
830
856
|
})(MetricDefinitionAppliesTo = exports.MetricDefinitionAppliesTo || (exports.MetricDefinitionAppliesTo = {}));
|
|
@@ -849,6 +875,10 @@ var MetricDefinitionStatus;
|
|
|
849
875
|
MetricDefinitionStatus["Active"] = "active";
|
|
850
876
|
MetricDefinitionStatus["Inactive"] = "inactive";
|
|
851
877
|
})(MetricDefinitionStatus = exports.MetricDefinitionStatus || (exports.MetricDefinitionStatus = {}));
|
|
878
|
+
var MetricTrackerType;
|
|
879
|
+
(function (MetricTrackerType) {
|
|
880
|
+
MetricTrackerType["TimeMetricTracker"] = "time_metric_tracker";
|
|
881
|
+
})(MetricTrackerType = exports.MetricTrackerType || (exports.MetricTrackerType = {}));
|
|
852
882
|
/** Priority of the notification. */
|
|
853
883
|
var NotificationPriority;
|
|
854
884
|
(function (NotificationPriority) {
|
|
@@ -928,6 +958,13 @@ var PreferencesType;
|
|
|
928
958
|
(function (PreferencesType) {
|
|
929
959
|
PreferencesType["UserPreferences"] = "user_preferences";
|
|
930
960
|
})(PreferencesType = exports.PreferencesType || (exports.PreferencesType = {}));
|
|
961
|
+
/** Billing frequency of the SKU. */
|
|
962
|
+
var PricingBillingCycle;
|
|
963
|
+
(function (PricingBillingCycle) {
|
|
964
|
+
PricingBillingCycle["Monthly"] = "monthly";
|
|
965
|
+
PricingBillingCycle["OneTime"] = "one_time";
|
|
966
|
+
PricingBillingCycle["Yearly"] = "yearly";
|
|
967
|
+
})(PricingBillingCycle = exports.PricingBillingCycle || (exports.PricingBillingCycle = {}));
|
|
931
968
|
/** Type of the value. */
|
|
932
969
|
var PrimitiveValueType;
|
|
933
970
|
(function (PrimitiveValueType) {
|
|
@@ -1153,6 +1190,46 @@ var SendNotificationType;
|
|
|
1153
1190
|
(function (SendNotificationType) {
|
|
1154
1191
|
SendNotificationType["GenericNotification"] = "generic_notification";
|
|
1155
1192
|
})(SendNotificationType = exports.SendNotificationType || (exports.SendNotificationType = {}));
|
|
1193
|
+
/** The billing frequency of the service plan. */
|
|
1194
|
+
var ServicePlanBillingCycle;
|
|
1195
|
+
(function (ServicePlanBillingCycle) {
|
|
1196
|
+
ServicePlanBillingCycle["Monthly"] = "monthly";
|
|
1197
|
+
})(ServicePlanBillingCycle = exports.ServicePlanBillingCycle || (exports.ServicePlanBillingCycle = {}));
|
|
1198
|
+
/**
|
|
1199
|
+
* The status of the service plan indicates its current state. If the
|
|
1200
|
+
* status is 'active,' it means the service plan items are in use and
|
|
1201
|
+
* billed every cycle. If the status is 'cancelled,' it signifies that the
|
|
1202
|
+
* service plan has been terminated and is no longer active or considered
|
|
1203
|
+
* for billing.
|
|
1204
|
+
*/
|
|
1205
|
+
var ServicePlanStatus;
|
|
1206
|
+
(function (ServicePlanStatus) {
|
|
1207
|
+
ServicePlanStatus["Active"] = "active";
|
|
1208
|
+
ServicePlanStatus["Cancelled"] = "cancelled";
|
|
1209
|
+
ServicePlanStatus["Paused"] = "paused";
|
|
1210
|
+
})(ServicePlanStatus = exports.ServicePlanStatus || (exports.ServicePlanStatus = {}));
|
|
1211
|
+
/**
|
|
1212
|
+
* Current state of the SKU. A SKU is visible to RevOs only when it is
|
|
1213
|
+
* released.
|
|
1214
|
+
*/
|
|
1215
|
+
var SkuState;
|
|
1216
|
+
(function (SkuState) {
|
|
1217
|
+
SkuState["Approved"] = "approved";
|
|
1218
|
+
SkuState["Draft"] = "draft";
|
|
1219
|
+
SkuState["EndOfLife"] = "end_of_life";
|
|
1220
|
+
SkuState["EndOfSale"] = "end_of_sale";
|
|
1221
|
+
SkuState["Released"] = "released";
|
|
1222
|
+
})(SkuState = exports.SkuState || (exports.SkuState = {}));
|
|
1223
|
+
/** It defines the type of SKU. */
|
|
1224
|
+
var SkuType;
|
|
1225
|
+
(function (SkuType) {
|
|
1226
|
+
SkuType["Consumption"] = "consumption";
|
|
1227
|
+
SkuType["ConsumptionAddon"] = "consumption_addon";
|
|
1228
|
+
SkuType["OneOffAddon"] = "one_off_addon";
|
|
1229
|
+
SkuType["OneOffCharge"] = "one_off_charge";
|
|
1230
|
+
SkuType["Subscription"] = "subscription";
|
|
1231
|
+
SkuType["SubscriptionAddon"] = "subscription_addon";
|
|
1232
|
+
})(SkuType = exports.SkuType || (exports.SkuType = {}));
|
|
1156
1233
|
/**
|
|
1157
1234
|
* The object types on which the SLA applies. An external SLA can apply to
|
|
1158
1235
|
* multiple object types, but an internal SLA can apply to only one object
|
|
@@ -1161,6 +1238,7 @@ var SendNotificationType;
|
|
|
1161
1238
|
var SlaAppliesTo;
|
|
1162
1239
|
(function (SlaAppliesTo) {
|
|
1163
1240
|
SlaAppliesTo["Conversation"] = "conversation";
|
|
1241
|
+
SlaAppliesTo["Incident"] = "incident";
|
|
1164
1242
|
SlaAppliesTo["Issue"] = "issue";
|
|
1165
1243
|
SlaAppliesTo["Ticket"] = "ticket";
|
|
1166
1244
|
})(SlaAppliesTo = exports.SlaAppliesTo || (exports.SlaAppliesTo = {}));
|
|
@@ -1183,6 +1261,7 @@ var SlaEvaluationPeriod;
|
|
|
1183
1261
|
var SlaSelectorAppliesTo;
|
|
1184
1262
|
(function (SlaSelectorAppliesTo) {
|
|
1185
1263
|
SlaSelectorAppliesTo["Conversation"] = "conversation";
|
|
1264
|
+
SlaSelectorAppliesTo["Incident"] = "incident";
|
|
1186
1265
|
SlaSelectorAppliesTo["Issue"] = "issue";
|
|
1187
1266
|
SlaSelectorAppliesTo["Ticket"] = "ticket";
|
|
1188
1267
|
})(SlaSelectorAppliesTo = exports.SlaSelectorAppliesTo || (exports.SlaSelectorAppliesTo = {}));
|
|
@@ -1228,6 +1307,7 @@ var SlaSummaryStage;
|
|
|
1228
1307
|
var SlaTrackerAppliesToType;
|
|
1229
1308
|
(function (SlaTrackerAppliesToType) {
|
|
1230
1309
|
SlaTrackerAppliesToType["Conversation"] = "conversation";
|
|
1310
|
+
SlaTrackerAppliesToType["Incident"] = "incident";
|
|
1231
1311
|
SlaTrackerAppliesToType["Issue"] = "issue";
|
|
1232
1312
|
SlaTrackerAppliesToType["Ticket"] = "ticket";
|
|
1233
1313
|
})(SlaTrackerAppliesToType = exports.SlaTrackerAppliesToType || (exports.SlaTrackerAppliesToType = {}));
|
|
@@ -1267,6 +1347,7 @@ var SnapWidgetNamespace;
|
|
|
1267
1347
|
SnapWidgetNamespace["LinkPreview"] = "link_preview";
|
|
1268
1348
|
SnapWidgetNamespace["MeetingPreview"] = "meeting_preview";
|
|
1269
1349
|
SnapWidgetNamespace["PlugNudge"] = "plug_nudge";
|
|
1350
|
+
SnapWidgetNamespace["SideThread"] = "side_thread";
|
|
1270
1351
|
})(SnapWidgetNamespace = exports.SnapWidgetNamespace || (exports.SnapWidgetNamespace = {}));
|
|
1271
1352
|
/** The status of the snap widget. */
|
|
1272
1353
|
var SnapWidgetStatus;
|
|
@@ -1422,6 +1503,13 @@ var TicketSeverity;
|
|
|
1422
1503
|
TicketSeverity["Low"] = "low";
|
|
1423
1504
|
TicketSeverity["Medium"] = "medium";
|
|
1424
1505
|
})(TicketSeverity = exports.TicketSeverity || (exports.TicketSeverity = {}));
|
|
1506
|
+
/** The current status of the metric. */
|
|
1507
|
+
var TimeMetricTrackerStatus;
|
|
1508
|
+
(function (TimeMetricTrackerStatus) {
|
|
1509
|
+
TimeMetricTrackerStatus["Completed"] = "completed";
|
|
1510
|
+
TimeMetricTrackerStatus["Paused"] = "paused";
|
|
1511
|
+
TimeMetricTrackerStatus["Running"] = "running";
|
|
1512
|
+
})(TimeMetricTrackerStatus = exports.TimeMetricTrackerStatus || (exports.TimeMetricTrackerStatus = {}));
|
|
1425
1513
|
/** The type of the event. */
|
|
1426
1514
|
var TimelineChangeEventEventType;
|
|
1427
1515
|
(function (TimelineChangeEventEventType) {
|
|
@@ -2067,6 +2155,26 @@ class Api extends HttpClient {
|
|
|
2067
2155
|
* @secure
|
|
2068
2156
|
*/
|
|
2069
2157
|
this.updateArticle = (data, params = {}) => this.request(Object.assign({ path: `/articles.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2158
|
+
/**
|
|
2159
|
+
* @description Redirects to the artifact's download URL.
|
|
2160
|
+
*
|
|
2161
|
+
* @tags artifacts
|
|
2162
|
+
* @name ArtifactsDownload
|
|
2163
|
+
* @summary Download Artifacts
|
|
2164
|
+
* @request GET:/artifacts.download
|
|
2165
|
+
* @secure
|
|
2166
|
+
*/
|
|
2167
|
+
this.artifactsDownload = (query, params = {}) => this.request(Object.assign({ path: `/artifacts.download`, method: 'GET', query: query, secure: true }, params));
|
|
2168
|
+
/**
|
|
2169
|
+
* @description Redirects to the artifact's download URL.
|
|
2170
|
+
*
|
|
2171
|
+
* @tags artifacts
|
|
2172
|
+
* @name ArtifactsDownloadPost
|
|
2173
|
+
* @summary Download Artifacts (POST)
|
|
2174
|
+
* @request POST:/artifacts.download
|
|
2175
|
+
* @secure
|
|
2176
|
+
*/
|
|
2177
|
+
this.artifactsDownloadPost = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.download`, method: 'POST', body: data, secure: true, type: ContentType.Json }, params));
|
|
2070
2178
|
/**
|
|
2071
2179
|
* @description Gets the requested artifact's information.
|
|
2072
2180
|
*
|
|
@@ -4998,6 +5106,26 @@ class Api extends HttpClient {
|
|
|
4998
5106
|
* @secure
|
|
4999
5107
|
*/
|
|
5000
5108
|
this.customStatesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
5109
|
+
/**
|
|
5110
|
+
* @description Gets the requesting user's subscriber status for an object.
|
|
5111
|
+
*
|
|
5112
|
+
* @tags subscribers
|
|
5113
|
+
* @name SubscribersGet
|
|
5114
|
+
* @summary Get Subscriber
|
|
5115
|
+
* @request GET:/subscribers.get
|
|
5116
|
+
* @secure
|
|
5117
|
+
*/
|
|
5118
|
+
this.subscribersGet = (query, params = {}) => this.request(Object.assign({ path: `/subscribers.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
5119
|
+
/**
|
|
5120
|
+
* @description Gets the requesting user's subscriber status for an object.
|
|
5121
|
+
*
|
|
5122
|
+
* @tags subscribers
|
|
5123
|
+
* @name SubscribersGetPost
|
|
5124
|
+
* @summary Get Subscriber (POST)
|
|
5125
|
+
* @request POST:/subscribers.get
|
|
5126
|
+
* @secure
|
|
5127
|
+
*/
|
|
5128
|
+
this.subscribersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/subscribers.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
5001
5129
|
/**
|
|
5002
5130
|
* @description Lists subscribers of an object.
|
|
5003
5131
|
*
|