@devrev/typescript-sdk 1.1.63 → 1.1.64
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.
|
|
37
|
-
exports.
|
|
38
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = void 0;
|
|
36
|
+
exports.GroupedVistaFilterType = exports.GroupType = exports.GroupMemberType = exports.GroupItemType = exports.GroupIngestionSource = exports.EventTimelineEntryUpdatedReactionAction = 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.DynamicVistaFilterType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.ConversationsVistaGroupItemType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArtifactConfigurationSet = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AccessLevel = void 0;
|
|
37
|
+
exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PartsVistaGroupItemType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = 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 = void 0;
|
|
38
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WorksVistaGroupItemType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.VistaGroupItemGroupObjectType = exports.VistaFlavor = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = void 0;
|
|
39
39
|
var AccessLevel;
|
|
40
40
|
(function (AccessLevel) {
|
|
41
41
|
AccessLevel["External"] = "external";
|
|
@@ -85,6 +85,7 @@ var ArtifactConfigurationSet;
|
|
|
85
85
|
})(ArtifactConfigurationSet = exports.ArtifactConfigurationSet || (exports.ArtifactConfigurationSet = {}));
|
|
86
86
|
var AtomType;
|
|
87
87
|
(function (AtomType) {
|
|
88
|
+
AtomType["Article"] = "article";
|
|
88
89
|
AtomType["AuthToken"] = "auth_token";
|
|
89
90
|
AtomType["Capability"] = "capability";
|
|
90
91
|
AtomType["Conversation"] = "conversation";
|
|
@@ -245,6 +246,16 @@ var ConversationsVistaGroupItemType;
|
|
|
245
246
|
ConversationsVistaGroupItemType["Curated"] = "curated";
|
|
246
247
|
ConversationsVistaGroupItemType["Dynamic"] = "dynamic";
|
|
247
248
|
})(ConversationsVistaGroupItemType = exports.ConversationsVistaGroupItemType || (exports.ConversationsVistaGroupItemType = {}));
|
|
249
|
+
var CustomSchemaFragmentsListRequestPrune;
|
|
250
|
+
(function (CustomSchemaFragmentsListRequestPrune) {
|
|
251
|
+
CustomSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
252
|
+
})(CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentsListRequestPrune || (exports.CustomSchemaFragmentsListRequestPrune = {}));
|
|
253
|
+
var CustomSchemaFragmentsSetRequestType;
|
|
254
|
+
(function (CustomSchemaFragmentsSetRequestType) {
|
|
255
|
+
CustomSchemaFragmentsSetRequestType["AppFragment"] = "app_fragment";
|
|
256
|
+
CustomSchemaFragmentsSetRequestType["CustomTypeFragment"] = "custom_type_fragment";
|
|
257
|
+
CustomSchemaFragmentsSetRequestType["TenantFragment"] = "tenant_fragment";
|
|
258
|
+
})(CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsSetRequestType || (exports.CustomSchemaFragmentsSetRequestType = {}));
|
|
248
259
|
/** Type of date filter. */
|
|
249
260
|
var DateFilterType;
|
|
250
261
|
(function (DateFilterType) {
|
|
@@ -469,6 +480,7 @@ var IssuePriority;
|
|
|
469
480
|
})(IssuePriority = exports.IssuePriority || (exports.IssuePriority = {}));
|
|
470
481
|
var LinkEndpointType;
|
|
471
482
|
(function (LinkEndpointType) {
|
|
483
|
+
LinkEndpointType["Article"] = "article";
|
|
472
484
|
LinkEndpointType["Capability"] = "capability";
|
|
473
485
|
LinkEndpointType["Conversation"] = "conversation";
|
|
474
486
|
LinkEndpointType["DevUser"] = "dev_user";
|
|
@@ -680,6 +692,12 @@ var SchemaFieldDescriptorFieldType;
|
|
|
680
692
|
SchemaFieldDescriptorFieldType["Uenum"] = "uenum";
|
|
681
693
|
SchemaFieldDescriptorFieldType["Unknown"] = "unknown";
|
|
682
694
|
})(SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorFieldType || (exports.SchemaFieldDescriptorFieldType = {}));
|
|
695
|
+
var SchemasSubtypePrepareUpdateGetResponseConflictType;
|
|
696
|
+
(function (SchemasSubtypePrepareUpdateGetResponseConflictType) {
|
|
697
|
+
SchemasSubtypePrepareUpdateGetResponseConflictType["AbsentInNew"] = "absent_in_new";
|
|
698
|
+
SchemasSubtypePrepareUpdateGetResponseConflictType["AbsentInOld"] = "absent_in_old";
|
|
699
|
+
SchemasSubtypePrepareUpdateGetResponseConflictType["IncompatibleType"] = "incompatible_type";
|
|
700
|
+
})(SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemasSubtypePrepareUpdateGetResponseConflictType || (exports.SchemasSubtypePrepareUpdateGetResponseConflictType = {}));
|
|
683
701
|
/**
|
|
684
702
|
* The object types on which the SLA applies. An external SLA can apply to
|
|
685
703
|
* multiple object types, but an internal SLA can apply to only one object
|
|
@@ -784,6 +802,16 @@ var StageValidationOptionForUpdate;
|
|
|
784
802
|
(function (StageValidationOptionForUpdate) {
|
|
785
803
|
StageValidationOptionForUpdate["AllowInvalidTransition"] = "allow_invalid_transition";
|
|
786
804
|
})(StageValidationOptionForUpdate = exports.StageValidationOptionForUpdate || (exports.StageValidationOptionForUpdate = {}));
|
|
805
|
+
var StockSchemaFragmentsListRequestFilterPreset;
|
|
806
|
+
(function (StockSchemaFragmentsListRequestFilterPreset) {
|
|
807
|
+
StockSchemaFragmentsListRequestFilterPreset["CustomizableTypesPreset"] = "customizable_types_preset";
|
|
808
|
+
StockSchemaFragmentsListRequestFilterPreset["NoPreset"] = "no_preset";
|
|
809
|
+
})(StockSchemaFragmentsListRequestFilterPreset = exports.StockSchemaFragmentsListRequestFilterPreset || (exports.StockSchemaFragmentsListRequestFilterPreset = {}));
|
|
810
|
+
var StockSchemaFragmentsListRequestPrune;
|
|
811
|
+
(function (StockSchemaFragmentsListRequestPrune) {
|
|
812
|
+
StockSchemaFragmentsListRequestPrune["CompositeSchemas"] = "composite_schemas";
|
|
813
|
+
StockSchemaFragmentsListRequestPrune["Fields"] = "fields";
|
|
814
|
+
})(StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestPrune || (exports.StockSchemaFragmentsListRequestPrune = {}));
|
|
787
815
|
var SyncMetadataFilterSyncInFilterStatus;
|
|
788
816
|
(function (SyncMetadataFilterSyncInFilterStatus) {
|
|
789
817
|
SyncMetadataFilterSyncInFilterStatus["Failed"] = "failed";
|
|
@@ -862,6 +890,7 @@ var TimelineEntriesUpdateRequestType;
|
|
|
862
890
|
/** The type of object that the Timeline entry belongs to. */
|
|
863
891
|
var TimelineEntryObjectType;
|
|
864
892
|
(function (TimelineEntryObjectType) {
|
|
893
|
+
TimelineEntryObjectType["Article"] = "article";
|
|
865
894
|
TimelineEntryObjectType["Capability"] = "capability";
|
|
866
895
|
TimelineEntryObjectType["Conversation"] = "conversation";
|
|
867
896
|
TimelineEntryObjectType["Enhancement"] = "enhancement";
|
|
@@ -964,6 +993,9 @@ var WebhookEventType;
|
|
|
964
993
|
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
965
994
|
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
966
995
|
WebhookEventType["AiAgentResponse"] = "ai_agent_response";
|
|
996
|
+
WebhookEventType["ArticleCreated"] = "article_created";
|
|
997
|
+
WebhookEventType["ArticleDeleted"] = "article_deleted";
|
|
998
|
+
WebhookEventType["ArticleUpdated"] = "article_updated";
|
|
967
999
|
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
968
1000
|
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
969
1001
|
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
@@ -1756,6 +1788,96 @@ class Api extends HttpClient {
|
|
|
1756
1788
|
* @secure
|
|
1757
1789
|
*/
|
|
1758
1790
|
this.conversationsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/conversations.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1791
|
+
/**
|
|
1792
|
+
* @description Counts custom objects.
|
|
1793
|
+
*
|
|
1794
|
+
* @tags customization
|
|
1795
|
+
* @name CustomObjectsCount
|
|
1796
|
+
* @summary Count Custom Objects
|
|
1797
|
+
* @request GET:/custom-objects.count
|
|
1798
|
+
* @secure
|
|
1799
|
+
*/
|
|
1800
|
+
this.customObjectsCount = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.count`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1801
|
+
/**
|
|
1802
|
+
* @description Counts custom objects.
|
|
1803
|
+
*
|
|
1804
|
+
* @tags customization
|
|
1805
|
+
* @name CustomObjectsCountPost
|
|
1806
|
+
* @summary Count Custom Objects (POST)
|
|
1807
|
+
* @request POST:/custom-objects.count
|
|
1808
|
+
* @secure
|
|
1809
|
+
*/
|
|
1810
|
+
this.customObjectsCountPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.count`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1811
|
+
/**
|
|
1812
|
+
* @description Creates a custom object.
|
|
1813
|
+
*
|
|
1814
|
+
* @tags customization
|
|
1815
|
+
* @name CustomObjectsCreate
|
|
1816
|
+
* @summary Create Custom Object
|
|
1817
|
+
* @request POST:/custom-objects.create
|
|
1818
|
+
* @secure
|
|
1819
|
+
*/
|
|
1820
|
+
this.customObjectsCreate = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1821
|
+
/**
|
|
1822
|
+
* @description Deletes a custom object.
|
|
1823
|
+
*
|
|
1824
|
+
* @tags customization
|
|
1825
|
+
* @name CustomObjectsDelete
|
|
1826
|
+
* @summary Delete Custom Object
|
|
1827
|
+
* @request POST:/custom-objects.delete
|
|
1828
|
+
* @secure
|
|
1829
|
+
*/
|
|
1830
|
+
this.customObjectsDelete = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1831
|
+
/**
|
|
1832
|
+
* @description Gets a custom object.
|
|
1833
|
+
*
|
|
1834
|
+
* @tags customization
|
|
1835
|
+
* @name CustomObjectsGet
|
|
1836
|
+
* @summary Get Custom Object
|
|
1837
|
+
* @request GET:/custom-objects.get
|
|
1838
|
+
* @secure
|
|
1839
|
+
*/
|
|
1840
|
+
this.customObjectsGet = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1841
|
+
/**
|
|
1842
|
+
* @description Gets a custom object.
|
|
1843
|
+
*
|
|
1844
|
+
* @tags customization
|
|
1845
|
+
* @name CustomObjectsGetPost
|
|
1846
|
+
* @summary Get Custom Object (POST)
|
|
1847
|
+
* @request POST:/custom-objects.get
|
|
1848
|
+
* @secure
|
|
1849
|
+
*/
|
|
1850
|
+
this.customObjectsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1851
|
+
/**
|
|
1852
|
+
* @description Lists custom objects.
|
|
1853
|
+
*
|
|
1854
|
+
* @tags customization
|
|
1855
|
+
* @name CustomObjectsList
|
|
1856
|
+
* @summary List Custom Objects
|
|
1857
|
+
* @request GET:/custom-objects.list
|
|
1858
|
+
* @secure
|
|
1859
|
+
*/
|
|
1860
|
+
this.customObjectsList = (query, params = {}) => this.request(Object.assign({ path: `/custom-objects.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
1861
|
+
/**
|
|
1862
|
+
* @description Lists custom objects.
|
|
1863
|
+
*
|
|
1864
|
+
* @tags customization
|
|
1865
|
+
* @name CustomObjectsListPost
|
|
1866
|
+
* @summary List Custom Objects (POST)
|
|
1867
|
+
* @request POST:/custom-objects.list
|
|
1868
|
+
* @secure
|
|
1869
|
+
*/
|
|
1870
|
+
this.customObjectsListPost = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1871
|
+
/**
|
|
1872
|
+
* @description Updates a custom object.
|
|
1873
|
+
*
|
|
1874
|
+
* @tags customization
|
|
1875
|
+
* @name CustomObjectsUpdate
|
|
1876
|
+
* @summary Update Custom Object
|
|
1877
|
+
* @request POST:/custom-objects.update
|
|
1878
|
+
* @secure
|
|
1879
|
+
*/
|
|
1880
|
+
this.customObjectsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/custom-objects.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
1759
1881
|
/**
|
|
1760
1882
|
* @description Creates a new enterprise authentication connection for a Dev organization. This authentication connection will not be enabled by default for the organization and the user will need to explicitly enable this. Only 5 authentication connections can be created by an organization.
|
|
1761
1883
|
*
|
|
@@ -2875,6 +2997,126 @@ class Api extends HttpClient {
|
|
|
2875
2997
|
* @secure
|
|
2876
2998
|
*/
|
|
2877
2999
|
this.revUsersUpdate = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3000
|
+
/**
|
|
3001
|
+
* @description Gets the aggregated schema.
|
|
3002
|
+
*
|
|
3003
|
+
* @tags customization
|
|
3004
|
+
* @name AggregatedSchemaGet
|
|
3005
|
+
* @summary Get Schemas Aggregated
|
|
3006
|
+
* @request GET:/schemas.aggregated.get
|
|
3007
|
+
* @secure
|
|
3008
|
+
*/
|
|
3009
|
+
this.aggregatedSchemaGet = (query, params = {}) => this.request(Object.assign({ path: `/schemas.aggregated.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3010
|
+
/**
|
|
3011
|
+
* @description Gets the aggregated schema.
|
|
3012
|
+
*
|
|
3013
|
+
* @tags customization
|
|
3014
|
+
* @name AggregatedSchemaGetPost
|
|
3015
|
+
* @summary Get Schemas Aggregated (POST)
|
|
3016
|
+
* @request POST:/schemas.aggregated.get
|
|
3017
|
+
* @secure
|
|
3018
|
+
*/
|
|
3019
|
+
this.aggregatedSchemaGetPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.aggregated.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3020
|
+
/**
|
|
3021
|
+
* @description Gets a custom schema fragment.
|
|
3022
|
+
*
|
|
3023
|
+
* @tags customization
|
|
3024
|
+
* @name CustomSchemaFragmentsGet
|
|
3025
|
+
* @summary Get Schemas Custom
|
|
3026
|
+
* @request GET:/schemas.custom.get
|
|
3027
|
+
* @secure
|
|
3028
|
+
*/
|
|
3029
|
+
this.customSchemaFragmentsGet = (query, params = {}) => this.request(Object.assign({ path: `/schemas.custom.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3030
|
+
/**
|
|
3031
|
+
* @description Gets a custom schema fragment.
|
|
3032
|
+
*
|
|
3033
|
+
* @tags customization
|
|
3034
|
+
* @name CustomSchemaFragmentsGetPost
|
|
3035
|
+
* @summary Get Schemas Custom (POST)
|
|
3036
|
+
* @request POST:/schemas.custom.get
|
|
3037
|
+
* @secure
|
|
3038
|
+
*/
|
|
3039
|
+
this.customSchemaFragmentsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.custom.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3040
|
+
/**
|
|
3041
|
+
* @description Lists custom schema fragments.
|
|
3042
|
+
*
|
|
3043
|
+
* @tags customization
|
|
3044
|
+
* @name CustomSchemaFragmentsList
|
|
3045
|
+
* @summary List Schemas Custom
|
|
3046
|
+
* @request GET:/schemas.custom.list
|
|
3047
|
+
* @secure
|
|
3048
|
+
*/
|
|
3049
|
+
this.customSchemaFragmentsList = (query, params = {}) => this.request(Object.assign({ path: `/schemas.custom.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3050
|
+
/**
|
|
3051
|
+
* @description Lists custom schema fragments.
|
|
3052
|
+
*
|
|
3053
|
+
* @tags customization
|
|
3054
|
+
* @name CustomSchemaFragmentsListPost
|
|
3055
|
+
* @summary List Schemas Custom (POST)
|
|
3056
|
+
* @request POST:/schemas.custom.list
|
|
3057
|
+
* @secure
|
|
3058
|
+
*/
|
|
3059
|
+
this.customSchemaFragmentsListPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.custom.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3060
|
+
/**
|
|
3061
|
+
* @description Creates or updates a custom schema fragment.
|
|
3062
|
+
*
|
|
3063
|
+
* @tags customization
|
|
3064
|
+
* @name CustomSchemaFragmentsSet
|
|
3065
|
+
* @summary Set Schemas Custom
|
|
3066
|
+
* @request POST:/schemas.custom.set
|
|
3067
|
+
* @secure
|
|
3068
|
+
*/
|
|
3069
|
+
this.customSchemaFragmentsSet = (data, params = {}) => this.request(Object.assign({ path: `/schemas.custom.set`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3070
|
+
/**
|
|
3071
|
+
* @description Gets a stock schema fragment.
|
|
3072
|
+
*
|
|
3073
|
+
* @tags customization
|
|
3074
|
+
* @name StockSchemaFragmentsGet
|
|
3075
|
+
* @summary Get Schemas Stock
|
|
3076
|
+
* @request GET:/schemas.stock.get
|
|
3077
|
+
* @secure
|
|
3078
|
+
*/
|
|
3079
|
+
this.stockSchemaFragmentsGet = (query, params = {}) => this.request(Object.assign({ path: `/schemas.stock.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3080
|
+
/**
|
|
3081
|
+
* @description Gets a stock schema fragment.
|
|
3082
|
+
*
|
|
3083
|
+
* @tags customization
|
|
3084
|
+
* @name StockSchemaFragmentsGetPost
|
|
3085
|
+
* @summary Get Schemas Stock (POST)
|
|
3086
|
+
* @request POST:/schemas.stock.get
|
|
3087
|
+
* @secure
|
|
3088
|
+
*/
|
|
3089
|
+
this.stockSchemaFragmentsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.stock.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3090
|
+
/**
|
|
3091
|
+
* @description Lists stock schema fragments.
|
|
3092
|
+
*
|
|
3093
|
+
* @tags customization
|
|
3094
|
+
* @name StockSchemaFragmentsList
|
|
3095
|
+
* @summary List Schemas Stock
|
|
3096
|
+
* @request GET:/schemas.stock.list
|
|
3097
|
+
* @secure
|
|
3098
|
+
*/
|
|
3099
|
+
this.stockSchemaFragmentsList = (query, params = {}) => this.request(Object.assign({ path: `/schemas.stock.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3100
|
+
/**
|
|
3101
|
+
* @description Lists stock schema fragments.
|
|
3102
|
+
*
|
|
3103
|
+
* @tags customization
|
|
3104
|
+
* @name StockSchemaFragmentsListPost
|
|
3105
|
+
* @summary List Schemas Stock (POST)
|
|
3106
|
+
* @request POST:/schemas.stock.list
|
|
3107
|
+
* @secure
|
|
3108
|
+
*/
|
|
3109
|
+
this.stockSchemaFragmentsListPost = (data, params = {}) => this.request(Object.assign({ path: `/schemas.stock.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3110
|
+
/**
|
|
3111
|
+
* @description Gets the new fragment IDs and fields resulting from changing a subtype.
|
|
3112
|
+
*
|
|
3113
|
+
* @tags customization
|
|
3114
|
+
* @name SchemasSubtypePrepareUpdateGet
|
|
3115
|
+
* @summary Prepare-Update Schemas Subtypes
|
|
3116
|
+
* @request POST:/schemas.subtypes.prepare-update
|
|
3117
|
+
* @secure
|
|
3118
|
+
*/
|
|
3119
|
+
this.schemasSubtypePrepareUpdateGet = (data, params = {}) => this.request(Object.assign({ path: `/schemas.subtypes.prepare-update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2878
3120
|
/**
|
|
2879
3121
|
* @description Creates a service account.
|
|
2880
3122
|
*
|
|
@@ -3045,6 +3287,186 @@ class Api extends HttpClient {
|
|
|
3045
3287
|
* @secure
|
|
3046
3288
|
*/
|
|
3047
3289
|
this.snapWidgetsCreate = (data, params = {}) => this.request(Object.assign({ path: `/snap-widgets.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3290
|
+
/**
|
|
3291
|
+
* @description Creates a stage diagram.
|
|
3292
|
+
*
|
|
3293
|
+
* @tags customization
|
|
3294
|
+
* @name StageDiagramsCreate
|
|
3295
|
+
* @summary Create Stage Diagram
|
|
3296
|
+
* @request POST:/stage-diagrams.create
|
|
3297
|
+
* @secure
|
|
3298
|
+
*/
|
|
3299
|
+
this.stageDiagramsCreate = (data, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3300
|
+
/**
|
|
3301
|
+
* @description Gets a stage diagram.
|
|
3302
|
+
*
|
|
3303
|
+
* @tags customization
|
|
3304
|
+
* @name StageDiagramsGet
|
|
3305
|
+
* @summary Get Stage Diagram
|
|
3306
|
+
* @request GET:/stage-diagrams.get
|
|
3307
|
+
* @secure
|
|
3308
|
+
*/
|
|
3309
|
+
this.stageDiagramsGet = (query, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3310
|
+
/**
|
|
3311
|
+
* @description Gets a stage diagram.
|
|
3312
|
+
*
|
|
3313
|
+
* @tags customization
|
|
3314
|
+
* @name StageDiagramsGetPost
|
|
3315
|
+
* @summary Get Stage Diagram (POST)
|
|
3316
|
+
* @request POST:/stage-diagrams.get
|
|
3317
|
+
* @secure
|
|
3318
|
+
*/
|
|
3319
|
+
this.stageDiagramsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3320
|
+
/**
|
|
3321
|
+
* @description Lists stage diagrams.
|
|
3322
|
+
*
|
|
3323
|
+
* @tags customization
|
|
3324
|
+
* @name StageDiagramsList
|
|
3325
|
+
* @summary List Stage Diagrams
|
|
3326
|
+
* @request GET:/stage-diagrams.list
|
|
3327
|
+
* @secure
|
|
3328
|
+
*/
|
|
3329
|
+
this.stageDiagramsList = (query, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3330
|
+
/**
|
|
3331
|
+
* @description Lists stage diagrams.
|
|
3332
|
+
*
|
|
3333
|
+
* @tags customization
|
|
3334
|
+
* @name StageDiagramsListPost
|
|
3335
|
+
* @summary List Stage Diagrams (POST)
|
|
3336
|
+
* @request POST:/stage-diagrams.list
|
|
3337
|
+
* @secure
|
|
3338
|
+
*/
|
|
3339
|
+
this.stageDiagramsListPost = (data, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3340
|
+
/**
|
|
3341
|
+
* @description Updates a stage diagram.
|
|
3342
|
+
*
|
|
3343
|
+
* @tags customization
|
|
3344
|
+
* @name StageDiagramsUpdate
|
|
3345
|
+
* @summary Update Stage Diagram
|
|
3346
|
+
* @request POST:/stage-diagrams.update
|
|
3347
|
+
* @secure
|
|
3348
|
+
*/
|
|
3349
|
+
this.stageDiagramsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/stage-diagrams.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3350
|
+
/**
|
|
3351
|
+
* @description Creates a custom stage.
|
|
3352
|
+
*
|
|
3353
|
+
* @tags customization
|
|
3354
|
+
* @name CustomStagesCreate
|
|
3355
|
+
* @summary Create Stages Custom
|
|
3356
|
+
* @request POST:/stages.custom.create
|
|
3357
|
+
* @secure
|
|
3358
|
+
*/
|
|
3359
|
+
this.customStagesCreate = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3360
|
+
/**
|
|
3361
|
+
* @description Gets a custom stage.
|
|
3362
|
+
*
|
|
3363
|
+
* @tags customization
|
|
3364
|
+
* @name CustomStagesGet
|
|
3365
|
+
* @summary Get Stages Custom
|
|
3366
|
+
* @request GET:/stages.custom.get
|
|
3367
|
+
* @secure
|
|
3368
|
+
*/
|
|
3369
|
+
this.customStagesGet = (query, params = {}) => this.request(Object.assign({ path: `/stages.custom.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3370
|
+
/**
|
|
3371
|
+
* @description Gets a custom stage.
|
|
3372
|
+
*
|
|
3373
|
+
* @tags customization
|
|
3374
|
+
* @name CustomStagesGetPost
|
|
3375
|
+
* @summary Get Stages Custom (POST)
|
|
3376
|
+
* @request POST:/stages.custom.get
|
|
3377
|
+
* @secure
|
|
3378
|
+
*/
|
|
3379
|
+
this.customStagesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3380
|
+
/**
|
|
3381
|
+
* @description Lists custom stages.
|
|
3382
|
+
*
|
|
3383
|
+
* @tags customization
|
|
3384
|
+
* @name CustomStagesList
|
|
3385
|
+
* @summary List Stages Custom
|
|
3386
|
+
* @request GET:/stages.custom.list
|
|
3387
|
+
* @secure
|
|
3388
|
+
*/
|
|
3389
|
+
this.customStagesList = (query, params = {}) => this.request(Object.assign({ path: `/stages.custom.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3390
|
+
/**
|
|
3391
|
+
* @description Lists custom stages.
|
|
3392
|
+
*
|
|
3393
|
+
* @tags customization
|
|
3394
|
+
* @name CustomStagesListPost
|
|
3395
|
+
* @summary List Stages Custom (POST)
|
|
3396
|
+
* @request POST:/stages.custom.list
|
|
3397
|
+
* @secure
|
|
3398
|
+
*/
|
|
3399
|
+
this.customStagesListPost = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3400
|
+
/**
|
|
3401
|
+
* @description Updates a custom stage.
|
|
3402
|
+
*
|
|
3403
|
+
* @tags customization
|
|
3404
|
+
* @name CustomStagesUpdate
|
|
3405
|
+
* @summary Update Stages Custom
|
|
3406
|
+
* @request POST:/stages.custom.update
|
|
3407
|
+
* @secure
|
|
3408
|
+
*/
|
|
3409
|
+
this.customStagesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/stages.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3410
|
+
/**
|
|
3411
|
+
* @description Creates a custom state.
|
|
3412
|
+
*
|
|
3413
|
+
* @tags customization
|
|
3414
|
+
* @name CustomStatesCreate
|
|
3415
|
+
* @summary Create States Custom
|
|
3416
|
+
* @request POST:/states.custom.create
|
|
3417
|
+
* @secure
|
|
3418
|
+
*/
|
|
3419
|
+
this.customStatesCreate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.create`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3420
|
+
/**
|
|
3421
|
+
* @description Gets a custom state.
|
|
3422
|
+
*
|
|
3423
|
+
* @tags customization
|
|
3424
|
+
* @name CustomStatesGet
|
|
3425
|
+
* @summary Get States Custom
|
|
3426
|
+
* @request GET:/states.custom.get
|
|
3427
|
+
* @secure
|
|
3428
|
+
*/
|
|
3429
|
+
this.customStatesGet = (query, params = {}) => this.request(Object.assign({ path: `/states.custom.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3430
|
+
/**
|
|
3431
|
+
* @description Gets a custom state.
|
|
3432
|
+
*
|
|
3433
|
+
* @tags customization
|
|
3434
|
+
* @name CustomStatesGetPost
|
|
3435
|
+
* @summary Get States Custom (POST)
|
|
3436
|
+
* @request POST:/states.custom.get
|
|
3437
|
+
* @secure
|
|
3438
|
+
*/
|
|
3439
|
+
this.customStatesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3440
|
+
/**
|
|
3441
|
+
* @description Lists custom states.
|
|
3442
|
+
*
|
|
3443
|
+
* @tags customization
|
|
3444
|
+
* @name CustomStatesList
|
|
3445
|
+
* @summary List States Custom
|
|
3446
|
+
* @request GET:/states.custom.list
|
|
3447
|
+
* @secure
|
|
3448
|
+
*/
|
|
3449
|
+
this.customStatesList = (query, params = {}) => this.request(Object.assign({ path: `/states.custom.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3450
|
+
/**
|
|
3451
|
+
* @description Lists custom states.
|
|
3452
|
+
*
|
|
3453
|
+
* @tags customization
|
|
3454
|
+
* @name CustomStatesListPost
|
|
3455
|
+
* @summary List States Custom (POST)
|
|
3456
|
+
* @request POST:/states.custom.list
|
|
3457
|
+
* @secure
|
|
3458
|
+
*/
|
|
3459
|
+
this.customStatesListPost = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3460
|
+
/**
|
|
3461
|
+
* @description Updates a custom state.
|
|
3462
|
+
*
|
|
3463
|
+
* @tags customization
|
|
3464
|
+
* @name CustomStatesUpdate
|
|
3465
|
+
* @summary Update States Custom
|
|
3466
|
+
* @request POST:/states.custom.update
|
|
3467
|
+
* @secure
|
|
3468
|
+
*/
|
|
3469
|
+
this.customStatesUpdate = (data, params = {}) => this.request(Object.assign({ path: `/states.custom.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3048
3470
|
/**
|
|
3049
3471
|
* @description Creates a schema for survey, which includes name and description of schema.
|
|
3050
3472
|
*
|